Package net.sf.basedb.core.data
Class UserDefaultSettingData
java.lang.Object
net.sf.basedb.core.data.BasicData
net.sf.basedb.core.data.SettingData
net.sf.basedb.core.data.UserDefaultSettingData
- All Implemented Interfaces:
IdentifiableData
- Version:
- 2.0
- Author:
- nicklas
- See Also:
- Last modified
- $Date: 2014-06-10 13:27:02 +0200 (ti, 10 jun 2014) $
- Hibernate: class
- table="`UserDefaultSettings`" lazy="false"
-
Field Summary
Fields inherited from class net.sf.basedb.core.data.SettingData
MAX_NAME_LENGTH, MAX_VALUE_LENGTH
-
Constructor Summary
-
Method Summary
Methods inherited from class net.sf.basedb.core.data.SettingData
getValue, setName, setValue
Methods inherited from class net.sf.basedb.core.data.BasicData
equals, getId, getVersion, hashCode, setId, setVersion, toString
-
Field Details
-
user
-
-
Constructor Details
-
UserDefaultSettingData
public UserDefaultSettingData()
-
-
Method Details
-
getName
Used by Hibernate to link with setting name.- Overrides:
getName
in classSettingData
- Hibernate: property
- type="string"
- Hibernate: column
- name="`name`" length="255" not-null="true" unique-key="UserDefaultSetting_uniquesetting"
-
getUser
Get the user this setting is valid for.- Hibernate: column
- name="`user_id`" not-null="true" unique-key="UserDefaultSetting_uniquesetting"
- Hibernate: many-to-one
- update="false" outer-join="false"
-
setUser
-