java.lang.Object
com.tectonica.jonix.onix2.DefaultWeightUnit
- All Implemented Interfaces:
OnixElement<DefaultUnitOfWeights>
,OnixTag
,Serializable
@Deprecated
public class DefaultWeightUnit
extends Object
implements OnixElement<DefaultUnitOfWeights>, Serializable
Deprecated.
Default unit of weight
A code indicating the default unit which is assumed for weights listed in the message, unless otherwise specified in the product record. This element is deprecated. For most implementations, explicit coding of units with each occurrence of a weight is to be preferred. Optional and non-repeating.
Format | Fixed-length, two letters. |
Codelist | List 95 |
Reference name | <DefaultWeightUnit> |
Short tag | <m188> |
Example | <m188>oz</m188> |
- <
Header
>
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionDeprecated.(type: DateOrDateTime)static final DefaultWeightUnit
Deprecated.Deprecated.static final String
Deprecated.static final String
Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription__v()
Deprecated.Internal API, use theOnixElement.value()
method or theOnixElement.value()
field insteadDeprecated.Deprecated.boolean
exists()
Deprecated.indicates whether this tag exists in the ONIX recordvoid
ifExists
(Consumer<DefaultWeightUnit> action) Deprecated.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
Deprecated.- See Also:
-
shortname
Deprecated.- See Also:
-
textformat
Deprecated. -
textcase
Deprecated. -
language
Deprecated. -
transliteration
Deprecated. -
datestamp
Deprecated.(type: DateOrDateTime) -
sourcetype
Deprecated. -
sourcename
Deprecated. -
value
Deprecated. -
EMPTY
Deprecated.
-
-
Constructor Details
-
DefaultWeightUnit
public DefaultWeightUnit()Deprecated. -
DefaultWeightUnit
Deprecated.
-
-
Method Details
-
__v
Deprecated.Internal API, use theOnixElement.value()
method or theOnixElement.value()
field instead- Specified by:
__v
in interfaceOnixElement<DefaultUnitOfWeights>
-
exists
public boolean exists()Deprecated.Description copied from interface:OnixTag
indicates whether this tag exists in the ONIX record -
ifExists
Deprecated. -
codeOrNull
Deprecated. -
descriptionOrNull
Deprecated.
-