Class SettingKey

All Implemented Interfaces:
Serializable

public class SettingKey extends SettingScope
Associates setting properties with a specified key. SettingKey is composed by [context, scope, key], and is used to specify context of setting properties at the Key level when working with database, cache or dispatching the setting event.
See Also:
eXo level API
Experimental
  • Constructor Details

    • SettingKey

      public SettingKey(Context context, Scope scope, String key)
      Creates a SettingKey with a composite value [context, scope, key].
      Parameters:
      context - The context value.
      scope - The scope value.
      key - The key value.
      eXo level API
      Experimental
  • Method Details

    • getKey

      public String getKey()
      Gets a key value of the SettingKey object.
      Returns:
      The key value.
      eXo level API
      Experimental
    • setKey

      public void setKey(String key)
      Sets a key value of the SettingKey object.
      Parameters:
      key - The key value.
      eXo level API
      Experimental
    • equals

      public boolean equals(Object obj)
      Compares a specified object with the SettingKey for equality.
      Overrides:
      equals in class SettingScope
    • hashCode

      public int hashCode()
      Returns the hash code value for the SettingKey object.
      Overrides:
      hashCode in class SettingScope