Class Language
java.lang.Object
io.goobi.viewer.model.translations.language.Language
- All Implemented Interfaces:
Serializable
,Comparable<Language>
Language class.
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
boolean
Getter for the fieldenglishName
.Getter for the fieldfrenchName
.Getter for the fieldgermanName
.getIsoCode.getIsoCode639_1.getIsoCode639_2B.getIsoCode639_2T.getIsoCodeOld.int
hashCode()
void
setEnglishName
(String englishName) Setter for the fieldenglishName
.void
setFrenchName
(String frenchName) Setter for the fieldfrenchName
.void
setGermanName
(String germanName) Setter for the fieldgermanName
.void
setIsoCode
(String isoCode) setIsoCode.void
setIsoCode6391
(String isoCode6391) Setter for the fieldisoCode6391
.void
setIsoCode6392B
(String isoCode6392B) setIsoCode_639_2B.void
setIsoCode6392T
(String isoCode6392T) setIsoCode_639_2T.void
setIsoCodeOld
(String isoCodeOld) setIsoCodeOld.
-
Constructor Details
-
Language
public Language()
-
-
Method Details
-
getIsoCode6391
getIsoCode639_1.
- Returns:
- the language code according to iso 639-1
-
getIsoCode6392B
getIsoCode639_2B.
- Returns:
- the language code according to iso 639-2/B
-
getIsoCode6392T
getIsoCode639_2T.
- Returns:
- the language code according to iso 639-2/T
-
setIsoCode6391
Setter for the field
isoCode6391
.- Parameters:
isoCode6391
- the isoCode_639_1 to set
-
setIsoCode6392B
setIsoCode_639_2B.
- Parameters:
isoCode6392B
- the isoCode_639_2_B to set
-
setIsoCode6392T
setIsoCode_639_2T.
- Parameters:
isoCode6392T
- the isoCode_639_2_T to set
-
getIsoCode
getIsoCode.
- Returns:
- the language code according to iso 639-2/B
-
setIsoCode
setIsoCode.
- Parameters:
isoCode
- aString
object.
-
getIsoCodeOld
getIsoCodeOld.
- Returns:
- the language code according to iso 639-1
-
setIsoCodeOld
setIsoCodeOld.
- Parameters:
isoCodeOld
- aString
object.
-
getEnglishName
Getter for the field
englishName
.- Returns:
- the englishName
-
setEnglishName
Setter for the field
englishName
.- Parameters:
englishName
- the englishName to set
-
getFrenchName
Getter for the field
frenchName
.- Returns:
- the frenchName
-
setFrenchName
Setter for the field
frenchName
.- Parameters:
frenchName
- the frenchName to set
-
getGermanName
Getter for the field
germanName
.- Returns:
- the germanName
-
setGermanName
Setter for the field
germanName
.- Parameters:
germanName
- the germanName to set
-
getName
-
compareTo
- Specified by:
compareTo
in interfaceComparable<Language>
-
hashCode
public int hashCode() -
equals
-