java.lang.Object
com.tectonica.jonix.onix3.FromLanguage
- All Implemented Interfaces:
OnixElement<Languages>
,OnixTag
,Serializable
Source language of a translation
Used only when the <ContributorRole> code value is B06, B08 or B10 indicating a translator, to specify the source language from which the translation was made. This element makes it possible to specify a translator’s exact responsibility when a work involves translation from two or more languages. Optional, and repeatable in the event that a single person has been responsible for translation from two or more languages.
Format | Fixed length, three lower-case letters, based on ISO 639-2/B. Note that ISO 639 specifies that these codes should always be in lower-case |
Codelist | List 74 |
Reference name | <FromLanguage> |
Short tag | <x412> |
Cardinality | 0…n |
Example | <FromLanguage>eng</FromLanguage> |
- See Also:
-
Field Summary
Modifier and TypeFieldDescription(type: dt.DateOrDateTime)static final FromLanguage
static final String
static final String
(type: dt.NonEmptyString) -
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<FromLanguage> 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:
-
datestamp
(type: dt.DateOrDateTime) -
sourcename
(type: dt.NonEmptyString) -
sourcetype
-
value
-
EMPTY
-
-
Constructor Details
-
FromLanguage
public FromLanguage() -
FromLanguage
-
-
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
-