Interface ILocalization<TBase extends de.xima.cmn.dao.interfaces.IEntity<Long>>
-
- Type Parameters:
TBase- type of the base entity for which the localization is intended.
- All Superinterfaces:
ILocalizedDatabaseObject,Serializable
- All Known Implementing Classes:
ALocalization,ClientPortalConfigLocalization,ProjectLocalization,UserPortalAuthConfigLocalization,UserPortalLocalization,UserPortalStateLocalization,UserPortalTagLocalization
public interface ILocalization<TBase extends de.xima.cmn.dao.interfaces.IEntity<Long>> extends ILocalizedDatabaseObject
Common interface for entity localisations. Entity localisations persist the localisation strings defined by akeyfor a givenlanguageand intended base entity.- Since:
- 8.2.0
- Author:
- XIMA MEDIA GmbH
-
-
Field Summary
Fields Modifier and Type Field Description static StringATTR_ENTITYstatic StringATTR_I18N_NAMEstatic StringATTR_I18N_VALUEstatic StringCOL_ENTITY_IDstatic StringCOL_I18N_NAMEstatic StringCOL_I18N_VALUE-
Fields inherited from interface de.xima.fc.entities.interfaces.i18n.ILocalizedDatabaseObject
ATTR_LANGUAGE_TAG, COL_LANGUAGE_TAG
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TBasegetBaseEntity()Gets the entity for which this localization is intended.StringgetI18nName()Gets the i18n nameStringgetI18nValue()Gets the i18n valuevoidsetBaseEntity(TBase baseEntity)Sets the entity for which this localization is intended.voidsetI18nName(String i18nName)Sets the i18n namevoidsetI18nValue(String i18nValue)Sets the i18n value-
Methods inherited from interface de.xima.fc.entities.interfaces.i18n.ILocalizedDatabaseObject
getLanguageTag, getLocale, setLanguageTag, setLocale
-
-
-
-
Field Detail
-
ATTR_ENTITY
static final String ATTR_ENTITY
- See Also:
- Constant Field Values
-
ATTR_I18N_NAME
static final String ATTR_I18N_NAME
- See Also:
- Constant Field Values
-
ATTR_I18N_VALUE
static final String ATTR_I18N_VALUE
- See Also:
- Constant Field Values
-
COL_ENTITY_ID
static final String COL_ENTITY_ID
- See Also:
- Constant Field Values
-
COL_I18N_NAME
static final String COL_I18N_NAME
- See Also:
- Constant Field Values
-
COL_I18N_VALUE
static final String COL_I18N_VALUE
- See Also:
- Constant Field Values
-
-
Method Detail
-
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
-
getI18nName
String getI18nName()
Gets the i18n name- Returns:
- the i18n name
-
setI18nName
void setI18nName(String i18nName)
Sets the i18n name- Parameters:
i18nName- the i18n name to set
-
getI18nValue
String getI18nValue()
Gets the i18n value- Returns:
- the i18n value
-
setI18nValue
void setI18nValue(String i18nValue)
Sets the i18n value- Parameters:
i18nValue- the i18n value to set
-
-