java.lang.Object
com.tectonica.jonix.onix2.LanguageCode
- All Implemented Interfaces:
OnixElement<Languages>
,OnixTag
,Serializable
Language from which a translation was made
Used only when the <ContributorRole> code value is B06, B08 or B10 indicating a translator, to specify the language from which the translation was made. This makes it possible to specify a translator’s exact responsibility when a work involved translation from two or more languages. Optional and repeatable in the unlikely event that a single person has been responsible for translation from two or more languages.
Format | Fixed-length, three lower-case letters. Note that ISO 639 specifies that these codes should always be in lower-case. |
Codelist | ISO 639-2/B List 74 |
Reference name | <LanguageCode> |
Short tag | <b252> |
Example | <b252>eng</b252> |
- <
Contributor
> - <
Language
>
- See Also:
-
Field Summary
Modifier and TypeFieldDescription(type: DateOrDateTime)static final LanguageCode
static final String
static final String
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription__v()
Internal API, use theOnixElement.value()
method or theOnixElement.value()
field insteadboolean
exists()
indicates whether this tag exists in the ONIX recordvoid
ifExists
(Consumer<LanguageCode> action) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.tectonica.jonix.common.OnixElement
equal, is, isNull, value
-
Field Details
-
refname
- See Also:
-
shortname
- See Also:
-
textformat
-
textcase
-
language
-
transliteration
-
datestamp
(type: DateOrDateTime) -
sourcetype
-
sourcename
-
value
-
EMPTY
-
-
Constructor Details
-
LanguageCode
public LanguageCode() -
LanguageCode
-
-
Method Details
-
__v
Internal API, use theOnixElement.value()
method or theOnixElement.value()
field instead- Specified by:
__v
in interfaceOnixElement<Languages>
-
exists
public boolean exists()Description copied from interface:OnixTag
indicates whether this tag exists in the ONIX record -
ifExists
-
codeOrNull
-
descriptionOrNull
-