Package com.inet.pdfc.config
Interface ObjectSetting<T>
-
- Type Parameters:
T
- the type of the value of this setting, this value has to be JSON serializable
- All Superinterfaces:
VisibilitySetting
public interface ObjectSetting<T> extends VisibilitySetting
Settings with an arbitrary value.- Since:
- 5.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getAsString(T value)
Convert the value to StringT
getObject(java.lang.String value)
Convert the value String to the actual type-
Methods inherited from interface com.inet.pdfc.config.VisibilitySetting
getTranslationKey, getTyp, name
-
-
-
-
Method Detail
-
getObject
T getObject(java.lang.String value)
Convert the value String to the actual type- Parameters:
value
- as String- Returns:
- value as actual type T
- Since:
- 5.0
-
getAsString
java.lang.String getAsString(T value)
Convert the value to String- Parameters:
value
- a value for this SettingTyp- Returns:
- value as String for storing
- Since:
- 5.0
-
-