Package net.sf.basedb.core.data
Class UserClientSettingData
java.lang.Object
net.sf.basedb.core.data.BasicData
net.sf.basedb.core.data.SettingData
net.sf.basedb.core.data.UserClientSettingData
- 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="`UserClientSettings`" lazy="false"
-
Field Summary
Fields inherited from class net.sf.basedb.core.data.SettingData
MAX_NAME_LENGTH, MAX_VALUE_LENGTH
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the client application this setting is valid for.getName()
Used by Hibernate to link with setting name.getUser()
Get the user this setting is valid for.void
setClient
(ClientData client) void
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
-
client
-
-
Constructor Details
-
UserClientSettingData
public UserClientSettingData()
-
-
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="UserClientSetting_uniquesetting"
-
getUser
Get the user this setting is valid for.- Hibernate: column
- name="`user_id`" not-null="true" unique-key="UserClientSetting_uniquesetting"
- Hibernate: many-to-one
- update="false" outer-join="false"
-
setUser
-
getClient
Get the client application this setting is valid for.- Hibernate: column
- name="`client_id`" not-null="true" unique-key="UserClientSetting_uniquesetting"
- Hibernate: many-to-one
- update="false" outer-join="false"
-
setClient
-