Package net.sf.basedb.core.data
Class ClientData
java.lang.Object
net.sf.basedb.core.data.BasicData
net.sf.basedb.core.data.OwnedData
net.sf.basedb.core.data.SharedData
net.sf.basedb.core.data.CommonData
net.sf.basedb.core.data.ClientData
- All Implemented Interfaces:
IdentifiableData
,NameableData
,OwnableData
,RegisteredData
,RemovableData
,ShareableData
This class holds information about a client.
- Version:
- 2.0
- Author:
- enell
- See Also:
- Hibernate: class
- table="`Clients`" lazy="false"
-
Field Summary
Modifier and TypeFieldDescriptionprivate Set<ContextData>
private Set<ClientDefaultSettingData>
private Set<UserDeviceData>
private Date
private String
static final int
The maximum length of the external ID that can be stored in the database.private Set<SessionData>
private boolean
private Set<UserClientSettingData>
Fields inherited from interface net.sf.basedb.core.data.NameableData
MAX_DESCRIPTION_LENGTH, MAX_NAME_LENGTH
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription(package private) Set<ContextData>
This is the inverse end.(package private) Set<ClientDefaultSettingData>
This is the inverse end.(package private) Set<UserDeviceData>
This is the inverse end.Get the date this item was added to the database.Get the external id for thisClient
item.This is the inverse end.(package private) Set<SessionData>
This is the invers end.boolean
A flag indicating if this client application supports device verification.(package private) Set<UserClientSettingData>
This is the inverse end.(package private) void
setContexts
(Set<ContextData> contexts) (package private) void
setDefaultSettings
(Set<ClientDefaultSettingData> defaultSettings) (package private) void
setDevices
(Set<UserDeviceData> devices) void
setEntryDate
(Date entryDate) void
setExternalId
(String externalId) (package private) void
setHelpTexts
(Set<HelpData> helpTexts) (package private) void
setSessions
(Set<SessionData> sessions) void
setSupportsDeviceVerification
(boolean supportsDeviceVerification) (package private) void
setUserSettings
(Set<UserClientSettingData> userSettings) Methods inherited from class net.sf.basedb.core.data.CommonData
getDescription, getName, getRemovedBy, setDescription, setName, setRemovedBy
Methods inherited from class net.sf.basedb.core.data.SharedData
getItemKey, getProjectKey, setItemKey, setProjectKey
Methods inherited from class net.sf.basedb.core.data.BasicData
equals, getId, getVersion, hashCode, setId, setVersion, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface net.sf.basedb.core.data.IdentifiableData
getId, getVersion
Methods inherited from interface net.sf.basedb.core.data.OwnableData
getOwner, setOwner
-
Field Details
-
entryDate
-
MAX_EXTERNAL_ID_LENGTH
public static final int MAX_EXTERNAL_ID_LENGTHThe maximum length of the external ID that can be stored in the database.- See Also:
-
externalId
-
supportsDeviceVerification
private boolean supportsDeviceVerification -
helpTexts
-
devices
-
sessions
-
userSettings
-
defaultSettings
-
contexts
-
-
Constructor Details
-
ClientData
public ClientData()
-
-
Method Details
-
getEntryDate
Description copied from interface:RegisteredData
Get the date this item was added to the database. The value is generated at creation time and can't be modified later.- Specified by:
getEntryDate
in interfaceRegisteredData
-
setEntryDate
-
getExternalId
Get the external id for thisClient
item.- Hibernate: property
- column="`external_id`" type="string" length="255" not-null="true" unique="true"
-
setExternalId
-
getSupportsDeviceVerification
public boolean getSupportsDeviceVerification()A flag indicating if this client application supports device verification.- Since:
- 3.12
- Hibernate: property
- column="`supports_device_verification`" type="boolean" not-null="true"
-
setSupportsDeviceVerification
public void setSupportsDeviceVerification(boolean supportsDeviceVerification) -
getHelpTexts
This is the inverse end.- See Also:
- Hibernate: set
- lazy="true" inverse="true" cascade="delete"
- Hibernate: collection-key
- column="`client_id`"
- Hibernate: collection-one-to-many
- class="net.sf.basedb.core.data.HelpData"
-
setHelpTexts
-
getDevices
Set<UserDeviceData> getDevices()This is the inverse end.- Since:
- 3.12
- See Also:
- Hibernate: set
- lazy="true" inverse="true" cascade="delete"
- Hibernate: collection-key
- column="`client_id`"
- Hibernate: collection-one-to-many
- class="net.sf.basedb.core.data.UserDeviceData"
-
setDevices
-
getSessions
Set<SessionData> getSessions()This is the invers end.- See Also:
- Hibernate: set
- lazy="true" inverse="true" cascade="delete"
- Hibernate: collection-key
- column="`client_id`"
- Hibernate: collection-one-to-many
- class="net.sf.basedb.core.data.SessionData"
-
setSessions
-
getUserSettings
Set<UserClientSettingData> getUserSettings()This is the inverse end.- See Also:
- Hibernate: set
- lazy="true" inverse="true" cascade="delete"
- Hibernate: collection-key
- column="`client_id`"
- Hibernate: collection-one-to-many
- class="net.sf.basedb.core.data.UserClientSettingData"
-
setUserSettings
-
getDefaultSettings
Set<ClientDefaultSettingData> getDefaultSettings()This is the inverse end.- See Also:
- Hibernate: set
- lazy="true" inverse="true" cascade="delete"
- Hibernate: collection-key
- column="`client_id`"
- Hibernate: collection-one-to-many
- class="net.sf.basedb.core.data.ClientDefaultSettingData"
-
setDefaultSettings
-
getContexts
Set<ContextData> getContexts()This is the inverse end.- See Also:
- Hibernate: set
- lazy="true" inverse="true" cascade="delete"
- Hibernate: collection-key
- column="`client_id`"
- Hibernate: collection-one-to-many
- class="net.sf.basedb.core.data.ContextData"
-
setContexts
-