Package net.sf.basedb.core.data
Class ClientDefaultSettingData
- java.lang.Object
-
- net.sf.basedb.core.data.BasicData
-
- net.sf.basedb.core.data.SettingData
-
- net.sf.basedb.core.data.ClientDefaultSettingData
-
- All Implemented Interfaces:
IdentifiableData
public class ClientDefaultSettingData extends SettingData
- Version:
- 2.0
- Author:
- nicklas, enell
- See Also:
ClientDefaultSetting
, Developer documentation: Client, session and settings- Last modified
- $Date: 2014-06-10 13:27:02 +0200 (ti, 10 jun 2014) $
- Hibernate: class
- table="`ClienDefaultSettings`" lazy="false"
-
-
Field Summary
Fields Modifier and Type Field Description private ClientData
client
-
Fields inherited from class net.sf.basedb.core.data.SettingData
MAX_NAME_LENGTH, MAX_VALUE_LENGTH
-
-
Constructor Summary
Constructors Constructor Description ClientDefaultSettingData()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ClientData
getClient()
Get the client application this setting is valid for.String
getName()
Used by Hibernate to link with setting name.void
setClient(ClientData client)
-
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 Detail
-
client
private ClientData client
-
-
Method Detail
-
getName
public String 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="ClientDefaultSetting_uniquesetting"
-
getClient
public ClientData getClient()
Get the client application this setting is valid for.- Hibernate: column
- name="`client_id`" not-null="true" unique-key="ClientDefaultSetting_uniquesetting"
- Hibernate: many-to-one
- update="false" outer-join="false"
-
setClient
public void setClient(ClientData client)
-
-