java.lang.Object
com.tectonica.jonix.onix2.MeasureUnitCode
- All Implemented Interfaces:
OnixElement<MeasureUnits>
,OnixTag
,Serializable
Measure unit code
An ONIX code indicating the measure unit in which dimensions are given. Mandatory in each occurrence of the <Measure> composite, and non-repeating. This element must follow the dimension to which the measure unit applies. See example below.
Format | Fixed-length, two letters |
Codelist | List 50 |
Reference name | <MeasureUnitCode> |
Short tag | <c095> |
Example | <c095>mm</c095> Millimeters |
- <
Measure
>
- See Also:
-
Field Summary
Modifier and TypeFieldDescription(type: DateOrDateTime)static final MeasureUnitCode
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<MeasureUnitCode> 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
-
MeasureUnitCode
public MeasureUnitCode() -
MeasureUnitCode
-
-
Method Details
-
__v
Internal API, use theOnixElement.value()
method or theOnixElement.value()
field instead- Specified by:
__v
in interfaceOnixElement<MeasureUnits>
-
exists
public boolean exists()Description copied from interface:OnixTag
indicates whether this tag exists in the ONIX record -
ifExists
-
codeOrNull
-
descriptionOrNull
-