Class UserSetting

java.lang.Object
org.opencastproject.adminui.usersettings.UserSetting

public class UserSetting extends Object
A class used to store a key-value pair for a user setting.
  • Constructor Details

    • UserSetting

      public UserSetting(long id, String key, String value)
      Parameters:
      id - A unique id in the database.
      key - A key that will identify which setting this is, may not be unique.
      value - A value that the setting is set to.
  • Method Details

    • getId

      public long getId()
    • getKey

      public String getKey()
    • getValue

      public String getValue()
    • toJson

      public Jsons.Obj toJson()
      Returns:
      The JSON representation of this user setting.