Package org.mycore.datamodel.language
Class MCRLanguage
java.lang.Object
org.mycore.datamodel.language.MCRLanguage
Represents a language in the datamodel, independent of the type of code used to encode it.
- Author:
- Frank Lützenkirchen
-
Method Summary
Modifier and TypeMethodDescriptionboolean
getCode
(MCRLanguageCodeType type) Returns the code of this language for the given typegetCodes()
Returns all language codes used for this languageReturns the label in the given languagegetLabel
(MCRLanguage language) Returns the label in the given languageReturns all labels used for this languageint
hashCode()
toString()
-
Method Details
-
getCode
Returns the code of this language for the given type -
getCodes
Returns all language codes used for this language -
getLabel
Returns the label in the given language -
getLabel
Returns the label in the given language -
getLabels
Returns all labels used for this language -
equals
-
hashCode
public int hashCode() -
toString
-
getLocale
-