Package org.n52.faroe.json
Class JsonSettingValue<T>
- java.lang.Object
-
- org.n52.faroe.json.JsonSettingValue<T>
-
- All Implemented Interfaces:
Serializable,SettingValue<T>
public class JsonSettingValue<T> extends Object implements SettingValue<T>
TODO JavaDoc- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description JsonSettingValue(SettingType type)JsonSettingValue(SettingType type, String key)JsonSettingValue(SettingType type, String key, T value)
-
-
-
Constructor Detail
-
JsonSettingValue
public JsonSettingValue(SettingType type, String key, T value)
-
JsonSettingValue
public JsonSettingValue(SettingType type, String key)
-
JsonSettingValue
public JsonSettingValue(SettingType type)
-
-
Method Detail
-
getKey
public String getKey()
- Specified by:
getKeyin interfaceSettingValue<T>
-
getValue
public T getValue()
- Specified by:
getValuein interfaceSettingValue<T>
-
setKey
public void setKey(String key)
- Specified by:
setKeyin interfaceSettingValue<T>
-
setValue
public void setValue(T value)
- Specified by:
setValuein interfaceSettingValue<T>
-
getType
public SettingType getType()
- Specified by:
getTypein interfaceSettingValue<T>
-
-