Interface ILocalization<TBase extends de.xima.cmn.dao.interfaces.IEntity<Long>, Id extends Serializable & Comparable<Id>>

Type Parameters:
TBase - type of the base entity for which the localization is intended.
Id - Type of the primary key.
All Superinterfaces:
ILocalizedDatabaseObject<String,Id>, IScopedLocalizedDatabaseObject<String,Id>, Serializable
All Known Implementing Classes:
ALocalization, ClientAuthenticatorLocalization, EndUserStateLocalization, ProjectLocalization, ProjectPortalTagLocalization, SystemAuthenticatorLocalization, UserPortalLocalization

public interface ILocalization<TBase extends de.xima.cmn.dao.interfaces.IEntity<Long>, Id extends Serializable & Comparable<Id>> extends IScopedLocalizedDatabaseObject<String,Id>
Common interface for entity localizations. Entity localizations persist the localization strings defined by a key for a given language and intended base entity.
Since:
8.2.0
Author:
XIMA MEDIA GmbH
  • Field Details

  • Method Details

    • getBaseEntity

      TBase getBaseEntity()
      Gets the entity for which this localization is intended.
      Returns:
      the base entity
    • setBaseEntity

      void setBaseEntity(TBase baseEntity)
      Sets the entity for which this localization is intended.
      Parameters:
      baseEntity - the base entity to set
    • setKey

      void setKey(String key)
      Sets the key for this localization. The key is used to identify the localization.
      Parameters:
      key - the key to set
    • setData

      void setData(String data)
      Sets the localized data.
      Parameters:
      data - the data to set