Package mc.core.model.i18n
Class Currency
java.lang.Object
mc.core.model.base.EntityBase
mc.core.model.base.SimpleEntity
mc.core.model.i18n.Currency
- All Implemented Interfaces:
Serializable,IBaseEntity,ICoreEntity,IEntity,ISortableEntity
Entity representing a currency.
threeLetterCode: optional, international 3-letter code for this
currency, upper case, must be unique, e.g. EUR for EurodisplaySymbol: display symbol of this country, e.g. � for Euro- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class mc.core.model.base.EntityBase
EntityBase.EntityComparator, EntityBase.Param -
Field Summary
Fields inherited from class mc.core.model.base.EntityBase
INTDESC_COLUMN_LENGTH -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetDisplayString(Locale locale) searches for not-null properties in the following order: symbol threeLetterCode name in given locale if locale not nullvoidsetDisplaySymbol(String displaySymbol) voidsetThreeLetterCode(String threeLetterCode) Methods inherited from class mc.core.model.base.SimpleEntity
getId, getIsActive, setId, setIsActiveMethods inherited from class mc.core.model.base.EntityBase
equals, getCollection, getDescription, getDescription, getFlag, getIsSystem, getName, getName, getNamespace, getPrio, hashCode, setCollection, setDescription, setDescription, setFlag, setInternalDescription, setIsSystem, setName, setName, setNamespace, setPrio, toString
-
Constructor Details
-
Currency
public Currency()standard constructor
-
-
Method Details
-
getDisplaySymbol
-
setDisplaySymbol
-
getInternalDescription
- Specified by:
getInternalDescriptionin interfaceIEntity- Overrides:
getInternalDescriptionin classSimpleEntity- Returns:
- Unique identifier in combination with entity class if internalDescription property is defined as unique.
Might be
null.
-
getThreeLetterCode
-
setThreeLetterCode
-
getDisplayString
searches for not-null properties in the following order:- symbol
- threeLetterCode
- name in given locale if locale not null
-