java.lang.Object
io.goobi.viewer.model.translations.language.Language
All Implemented Interfaces:
Serializable, Comparable<Language>

public class Language extends Object implements Comparable<Language>, Serializable

Language class.

See Also:
  • Constructor Details

    • Language

      public Language()
  • Method Details

    • getIsoCode6391

      public String getIsoCode6391()

      getIsoCode639_1.

      Returns:
      the language code according to iso 639-1
    • getIsoCode6392B

      public String getIsoCode6392B()

      getIsoCode639_2B.

      Returns:
      the language code according to iso 639-2/B
    • getIsoCode6392T

      public String getIsoCode6392T()

      getIsoCode639_2T.

      Returns:
      the language code according to iso 639-2/T
    • setIsoCode6391

      public void setIsoCode6391(String isoCode6391)

      Setter for the field isoCode6391.

      Parameters:
      isoCode6391 - the isoCode_639_1 to set
    • setIsoCode6392B

      public void setIsoCode6392B(String isoCode6392B)

      setIsoCode_639_2B.

      Parameters:
      isoCode6392B - the isoCode_639_2_B to set
    • setIsoCode6392T

      public void setIsoCode6392T(String isoCode6392T)

      setIsoCode_639_2T.

      Parameters:
      isoCode6392T - the isoCode_639_2_T to set
    • getIsoCode

      public String getIsoCode()

      getIsoCode.

      Returns:
      the language code according to iso 639-2/B
    • setIsoCode

      public void setIsoCode(String isoCode)

      setIsoCode.

      Parameters:
      isoCode - a String object.
    • getIsoCodeOld

      public String getIsoCodeOld()

      getIsoCodeOld.

      Returns:
      the language code according to iso 639-1
    • setIsoCodeOld

      public void setIsoCodeOld(String isoCodeOld)

      setIsoCodeOld.

      Parameters:
      isoCodeOld - a String object.
    • getEnglishName

      public String getEnglishName()

      Getter for the field englishName.

      Returns:
      the englishName
    • setEnglishName

      public void setEnglishName(String englishName)

      Setter for the field englishName.

      Parameters:
      englishName - the englishName to set
    • getFrenchName

      public String getFrenchName()

      Getter for the field frenchName.

      Returns:
      the frenchName
    • setFrenchName

      public void setFrenchName(String frenchName)

      Setter for the field frenchName.

      Parameters:
      frenchName - the frenchName to set
    • getGermanName

      public String getGermanName()

      Getter for the field germanName.

      Returns:
      the germanName
    • setGermanName

      public void setGermanName(String germanName)

      Setter for the field germanName.

      Parameters:
      germanName - the germanName to set
    • getName

      public String getName(Locale locale)
    • compareTo

      public int compareTo(Language other)
      Specified by:
      compareTo in interface Comparable<Language>
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object