Package org.n52.faroe
Interface SettingValue<T>
-
- Type Parameters:
T- the value type
- All Superinterfaces:
Serializable
public interface SettingValue<T> extends Serializable
Holder for generic settings. Implementations areSettingsServicespecific.- Since:
- 1.0.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetKey()SettingTypegetType()TgetValue()voidsetKey(String key)voidsetValue(T value)
-
-
-
Method Detail
-
getKey
String getKey()
- Returns:
- the key of this setting
-
getValue
T getValue()
- Returns:
- the value
-
setKey
void setKey(String key)
- Parameters:
key- the key of this setting
-
setValue
void setValue(T value)
- Parameters:
value- the value of this setting
-
getType
SettingType getType()
- Returns:
- the
SettingTypeof this value
-
-