- All Implemented Interfaces:
OnixComposite
,OnixComposite.OnixDataComposite<JonixMeasure>
,OnixComposite.OnixDataCompositeWithKey<JonixMeasure,
,MeasureTypes> OnixTag
,Serializable
Measure composite
An optional and repeatable group of data elements which together identify a measurement and the units in which it is expressed.
Reference name | <Measure> |
Short tag | <measure> |
- <
Product
>
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.tectonica.jonix.common.OnixComposite
OnixComposite.OnixDataComposite<V extends JonixStruct>, OnixComposite.OnixDataCompositeUncommon, OnixComposite.OnixDataCompositeWithKey<V extends JonixKeyedStruct<K>,
K extends Enum<K> & OnixCodelist>, OnixComposite.OnixSuperComposite -
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
This is an internal API.asStruct()
boolean
exists()
indicates whether this tag exists in the ONIX recordFor advanced use-cases only.void
The number which represents the dimension specified in <MeasureTypeCode> in the measure units specified in <MeasureUnitCode>.An ONIX code indicating the dimension which is specified by an occurrence of the measure composite.An ONIX code indicating the measure unit in which dimensions are given.
-
Field Details
-
refname
- See Also:
-
shortname
- See Also:
-
textformat
-
textcase
-
language
-
transliteration
-
datestamp
(type: DateOrDateTime) -
sourcetype
-
sourcename
-
EMPTY
-
-
Constructor Details
-
Measure
public Measure() -
Measure
-
-
Method Details
-
_initialize
public void _initialize()Description copied from interface:OnixComposite
This is an internal API. Since Jonix 8.0, composite objects are being populated lazily. This method initiates the population process, and is invoked internally by the accessor APIs of the composites- Specified by:
_initialize
in interfaceOnixComposite
-
exists
public boolean exists()Description copied from interface:OnixTag
indicates whether this tag exists in the ONIX record -
ifExists
-
getXmlElement
Description copied from interface:OnixComposite
For advanced use-cases only.- Specified by:
getXmlElement
in interfaceOnixComposite
- Returns:
- native representation of the XML element underlying to this tag
-
measureTypeCode
An ONIX code indicating the dimension which is specified by an occurrence of the measure composite. Mandatory in each occurrence of the <Measure> composite, and non-repeating.
Jonix-Comment: this field is required -
measurement
The number which represents the dimension specified in <MeasureTypeCode> in the measure units specified in <MeasureUnitCode>. Mandatory in each occurrence of the <Measure> composite, and non-repeating.
Jonix-Comment: this field is required -
measureUnitCode
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.
Jonix-Comment: this field is required -
asStruct
- Specified by:
asStruct
in interfaceOnixComposite.OnixDataComposite<JonixMeasure>
-
structKey
- Specified by:
structKey
in interfaceOnixComposite.OnixDataCompositeWithKey<JonixMeasure,
MeasureTypes>
-