Class LocalizationId
java.lang.Object
de.xima.fc.entities.common.i18n.LocalizationId
- All Implemented Interfaces:
Serializable, Comparable<LocalizationId>
@Embeddable
public class LocalizationId
extends Object
implements Serializable, Comparable<LocalizationId>
Composite, embeddable ID class for
entity localizations.- Since:
- 8.2.0
- Author:
- XIMA MEDIA GmbH
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintcompareTo(LocalizationId other) booleangetKey()inthashCode()static <TBase extends de.xima.cmn.dao.interfaces.IEntity<Long>>
LocalizationIdofLocalization(ILocalization<TBase, ?> localization) Creates a newLocalizationIdwith the data from the givenILocalization.voidsetEntityId(Long entityId) voidvoidsetLanguageTag(String languageTag) toString()
-
Field Details
-
ATTR_ENTITY_ID
- See Also:
-
-
Constructor Details
-
LocalizationId
public LocalizationId()
-
-
Method Details
-
compareTo
- Specified by:
compareToin interfaceComparable<LocalizationId>
-
getEntityId
-
setEntityId
-
getLanguageTag
-
setLanguageTag
-
getKey
-
setKey
-
equals
-
hashCode
-
cloneBasics
-
toString
-
ofLocalization
public static <TBase extends de.xima.cmn.dao.interfaces.IEntity<Long>> LocalizationId ofLocalization(ILocalization<TBase, ?> localization) Creates a newLocalizationIdwith the data from the givenILocalization.- Type Parameters:
TBase- The type of the base entity.- Parameters:
localization- The localization to create the ID from.- Returns:
- The new ID.
-