Class ClientData

All Implemented Interfaces:
IdentifiableData, NameableData, OwnableData, RegisteredData, RemovableData, ShareableData

public class ClientData extends CommonData implements RegisteredData
This class holds information about a client.
Version:
2.0
Author:
enell
See Also:
Hibernate: class
table="`Clients`" lazy="false"
  • Field Details

  • Constructor Details

    • ClientData

      public ClientData()
  • Method Details

    • getEntryDate

      public Date 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 interface RegisteredData
    • setEntryDate

      public void setEntryDate(Date entryDate)
    • getExternalId

      public String getExternalId()
      Get the external id for this Client item.
      Hibernate: property
      column="`external_id`" type="string" length="255" not-null="true" unique="true"
    • setExternalId

      public void setExternalId(String externalId)
    • 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

      Set<HelpData> 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

      void setHelpTexts(Set<HelpData> helpTexts)
    • 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

      void setDevices(Set<UserDeviceData> devices)
    • 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

      void setSessions(Set<SessionData> sessions)
    • 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

      void setUserSettings(Set<UserClientSettingData> userSettings)
    • 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

      void setDefaultSettings(Set<ClientDefaultSettingData> defaultSettings)
    • 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

      void setContexts(Set<ContextData> contexts)