public class SaSystemSettingImpl extends Object implements SaSystemSetting, Serializable
SaSystemSettingType.| Constructor and Description |
|---|
SaSystemSettingImpl(String key)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getAccessKey()
Returns the access key the setting is associated to.
|
<T extends SaSystemSettingType> |
getEntry(Class<T> klass)
Returns the specific system setting.
|
<T extends SaSystemSettingType> |
hasEntry(Class<T> klass)
Checks, if the system setting for the given key exists.
|
<T extends SaSystemSettingType> |
setEntry(Class<T> klass,
T setting)
Sets the system setting.
|
public SaSystemSettingImpl(String key)
key - the access keypublic final <T extends SaSystemSettingType> T getEntry(Class<T> klass)
getEntry in interface SaSystemSettingT - specialized SaSystemSettingTypeklass - classSaSystemSettingType instancepublic final <T extends SaSystemSettingType> void setEntry(Class<T> klass, T setting)
setEntry in interface SaSystemSettingT - specialized SaSystemSettingTypeklass - classsetting - the concrete SaSystemSettingType instancepublic final <T extends SaSystemSettingType> boolean hasEntry(Class<T> klass)
hasEntry in interface SaSystemSettingT - specialized SaSystemSettingTypeklass - classtrue if a system setting exists to the given key,
otherwise falsepublic final String getAccessKey()
getAccessKey in interface SaSettingCopyright © 2020 Hyland Software Germany GmbH. All rights reserved.