org.exoplatform.commons.api.settings.data
Class SettingKey
java.lang.Object
org.exoplatform.commons.api.settings.data.SettingContext
org.exoplatform.commons.api.settings.data.SettingScope
org.exoplatform.commons.api.settings.data.SettingKey
- All Implemented Interfaces:
- Serializable
public class SettingKey
- extends SettingScope
SettingKey is composed by [context,scope,key], associates with a specified setting property value.
Use SettingKey to specify context of setting property in action with database, cache or in dispatching setting event.
- See Also:
- Serialized Form
SettingKey
public SettingKey(Context context,
Scope scope,
String key)
- Create setting key with composite key [context,scope,key]
- Parameters:
context - context with which the specified value is to be associatedscope - scope with which the specified value is to be associatedkey - key with which the specified value is to be associated
getKey
public String getKey()
- get key value of setting-key
- Returns:
- value of key
setKey
public void setKey(String key)
- set key value to setting-key
- Parameters:
key -
equals
public boolean equals(Object obj)
- Overrides:
equals in class SettingScope
hashCode
public int hashCode()
- Overrides:
hashCode in class SettingScope
Copyright © 2003-2013 eXo Platform SAS. All Rights Reserved.