Package net.sf.basedb.core.data
Class SettingData
java.lang.Object
net.sf.basedb.core.data.BasicData
net.sf.basedb.core.data.SettingData
- All Implemented Interfaces:
IdentifiableData
- Direct Known Subclasses:
ClientDefaultSettingData
,GlobalDefaultSettingData
,UserClientSettingData
,UserDefaultSettingData
- Version:
- 2.0
- Author:
- enell
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Methods inherited from class net.sf.basedb.core.data.BasicData
equals, getId, getVersion, hashCode, setId, setVersion, toString
-
Field Details
-
MAX_NAME_LENGTH
public static final int MAX_NAME_LENGTHThe maximum length of the name of the setting that can be stored in the database.- See Also:
-
name
-
MAX_VALUE_LENGTH
public static final int MAX_VALUE_LENGTHThe maximum length of the value of the setting that can be stored in the database.- See Also:
-
value
-
-
Constructor Details
-
SettingData
public SettingData()
-
-
Method Details
-
getName
Used by Hibernate to link with setting name. NOTE! Must be mapped in each of the subclasses to make unique-key settings unique. -
setName
-
getValue
Get the value of this setting.- Hibernate: property
- column="`value`" type="text" not-null="true"
-
setValue
-