Class Currency

All Implemented Interfaces:
Serializable, IBaseEntity, ICoreEntity, IEntity, ISortableEntity

@Entity public class Currency extends SimpleEntity
Entity representing a currency. threeLetterCode: optional, international 3-letter code for this currency, upper case, must be unique, e.g. EUR for Euro
displaySymbol: display symbol of this country, e.g. � for Euro
See Also:
  • Constructor Details

    • Currency

      public Currency()
      standard constructor
  • Method Details

    • getDisplaySymbol

      public String getDisplaySymbol()
    • setDisplaySymbol

      public void setDisplaySymbol(String displaySymbol)
    • getInternalDescription

      public String getInternalDescription()
      Specified by:
      getInternalDescription in interface IEntity
      Overrides:
      getInternalDescription in class SimpleEntity
      Returns:
      Unique identifier in combination with entity class if internalDescription property is defined as unique. Might be null.
    • getThreeLetterCode

      public String getThreeLetterCode()
    • setThreeLetterCode

      public void setThreeLetterCode(String threeLetterCode)
    • getDisplayString

      public String getDisplayString(Locale locale)
      searches for not-null properties in the following order:
      • symbol
      • threeLetterCode
      • name in given locale if locale not null