Package com.identity4j.util.i18n
Class DefaultLocalizableEntity
- java.lang.Object
-
- com.identity4j.util.i18n.DefaultLocalizableEntity
-
- All Implemented Interfaces:
Entity,Identifiable<String>,LocalizableEntity
public class DefaultLocalizableEntity extends Object implements LocalizableEntity
-
-
Field Summary
Fields Modifier and Type Field Description StringbundleNameStringid
-
Constructor Summary
Constructors Constructor Description DefaultLocalizableEntity()DefaultLocalizableEntity(String bundleName, String id)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetBundleName()Get the bundle name for the entityStringgetId()Get the unique identifier for this entity.voidsetBundleName(String bundleName)voidsetId(String id)
-
-
-
Method Detail
-
getId
public String getId()
Description copied from interface:EntityGet the unique identifier for this entity. The Entity ID need only be unique in the context it is going to be used in.- Specified by:
getIdin interfaceEntity- Specified by:
getIdin interfaceIdentifiable<String>- Returns:
- entity ID
-
setId
public void setId(String id)
-
getBundleName
public String getBundleName()
Description copied from interface:LocalizableEntityGet the bundle name for the entity- Specified by:
getBundleNamein interfaceLocalizableEntity- Returns:
- the bundle name
-
setBundleName
public void setBundleName(String bundleName)
-
-