All Implemented Interfaces:
GomCheckable, GomElement, GomLangInfo, Serializable

@NonExtendable public class GomNumberLangInfo extends DefaultGomLangInfo
Extended language info container for numbers.
Since:
3.0
See Also:
  • Constructor Details

    • GomNumberLangInfo

      public GomNumberLangInfo()
  • Method Details

    • getFormat

      public String getFormat()
      Format to be used to display numbers
      Since:
      3.0
    • setFormat

      public void setFormat(String format)
      Sets the format to be used to display numbers
      Since:
      3.0
    • cloneAndComplete

      public GomNumberLangInfo cloneAndComplete(GomLangInfo source)
      Description copied from class: DefaultGomLangInfo
      Clones this language information container and completes missing information by the given source.
      Specified by:
      cloneAndComplete in interface GomLangInfo
      Overrides:
      cloneAndComplete in class DefaultGomLangInfo
      Parameters:
      source - A source language information container.
      Returns:
      The cloned container.
    • equals

      public boolean equals(Object obj, boolean ignoreLanguage)
      Description copied from class: DefaultGomLangInfo
      Equality check implementation.
      Specified by:
      equals in interface GomLangInfo
      Overrides:
      equals in class DefaultGomLangInfo
      Parameters:
      obj - The object to compare to.
      ignoreLanguage - true, to ignore the language.
      Returns:
      true, if considered equal.
    • createHashCode

      protected de.espirit.firstspirit.access.store.templatestore.gom.GomNumberLangInfo.GomNumberLangHashCode createHashCode()
      Description copied from class: DefaultGomLangInfo
      Create this object's hash code.
      Overrides:
      createHashCode in class DefaultGomLangInfo
      Returns:
      The hash code.
    • hashCode

      public int hashCode()
      Description copied from class: DefaultGomLangInfo
      Hash code implementation.
      Overrides:
      hashCode in class DefaultGomLangInfo
      Returns:
      The hash code.
    • isEmpty

      public boolean isEmpty()
      Description copied from class: DefaultGomLangInfo
      Indicates, whether no language information have been defined.
      Specified by:
      isEmpty in interface GomLangInfo
      Overrides:
      isEmpty in class DefaultGomLangInfo
      Returns:
      true, if no language information have been defined.