All Superinterfaces:
GomElement, Serializable
All Known Implementing Classes:
DefaultGomLangInfo

public interface GomLangInfo extends GomElement
Root definition for GOM elements providing specific information of primitive types (attribute-gained data).
Since:
4.0.17
  • Method Details

    • setLang

      void setLang(de.espirit.firstspirit.common.text.LanguageAbbreviation lang)
      Set the language the information is given for.
      Parameters:
      lang - The information's source language.
      Since:
      4.0.17
    • getLang

      de.espirit.firstspirit.common.text.LanguageAbbreviation getLang()
      Get the language the information is defined for.
      Returns:
      The information's source language.
      Since:
      4.0.17
    • setLabel

      void setLabel(String label)
      Set the label.
      Parameters:
      label - The label's value.
      Since:
      4.0.17
    • getLabel

      String getLabel()
      Get the label.
      Returns:
      The label's value.
      Since:
      4.0.17
    • setDescription

      void setDescription(String description)
      Set the description.
      Parameters:
      description - The description.
      Since:
      4.0.17
    • getDescription

      String getDescription()
      Get the description.
      Returns:
      The description.
      Since:
      4.0.17
    • cloneAndComplete

      GomLangInfo cloneAndComplete(GomLangInfo source)
      Produce a mutable clone of the instance being completed by values from the given source.
      Returns:
      A completed clone.
      Since:
      4.0.17
    • equals

      boolean equals(Object obj, boolean ignoreLanguage)
      Checks, if the given object is equal to this one.
      Parameters:
      obj - The object to compare to.
      ignoreLanguage - Ignore difference in language.
      Returns:
      true, if the object is similar.
      Since:
      4.0.17
    • isEmpty

      boolean isEmpty()
      Indicates an empty language info object.
      Returns:
      true, if the info is seen as empty.
      Since:
      4.0.17