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 Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringFields inherited from interface ILocalizedDatabaseObject
ATTR_LANGUAGE_TAG, COL_LANGUAGE_TAG -
Method Summary
Modifier and TypeMethodDescriptionGets the entity for which this localization is intended.voidsetBaseEntity(TBase baseEntity) Sets the entity for which this localization is intended.voidSets the localized data.voidSets the key for this localization.Methods inherited from interface ILocalizedDatabaseObject
getData, getLanguageTag, getLocale, setLanguageTag, setLocaleMethods inherited from interface IScopedLocalizedDatabaseObject
getKey
-
Field Details
-
ATTR_ENTITY
- See Also:
-
ATTR_KEY
- See Also:
-
ATTR_DATA
- See Also:
-
COL_ENTITY_ID
- See Also:
-
COL_KEY
- See Also:
-
COL_DATA
- See Also:
-
-
Method Details
-
getBaseEntity
TBase getBaseEntity()Gets the entity for which this localization is intended.- Returns:
- the base entity
-
setBaseEntity
Sets the entity for which this localization is intended.- Parameters:
baseEntity- the base entity to set
-
setKey
Sets the key for this localization. The key is used to identify the localization.- Parameters:
key- the key to set
-
setData
-