java.lang.Object
com.tectonica.jonix.onix3.StockQuantityCode
- All Implemented Interfaces:
OnixElement<String>
,OnixTag
,Serializable
Stock quantity code
A code value taken from the scheme specified in the <StockQuantityCodeType> element. Mandatory in each occurrence of the <StockQuantityCoded> composite, and non-repeating.
Format | According to the scheme specified in <StockQuantityCodeType> |
Reference name | <StockQuantityCode> |
Short tag | <j297> |
Cardinality | 1 |
Example | <StockQuantityCode>LOW</StockQuantityCode> |
- See Also:
-
Field Summary
Modifier and TypeFieldDescription(type: dt.DateOrDateTime)static final StockQuantityCode
static final String
static final String
(type: dt.NonEmptyString)This is the raw content of StockQuantityCode. -
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<StockQuantityCode> 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
This is the raw content of StockQuantityCode. Could be null ifexists() == false
. UseOnixElement.value()
instead if you want to get this as anOptional
.Raw Format: According to the scheme specified in <StockQuantityCodeType>
(type: dt.NonEmptyString)
-
EMPTY
-
-
Constructor Details
-
StockQuantityCode
public StockQuantityCode() -
StockQuantityCode
-
-
Method Details
-
__v
Internal API, use theOnixElement.value()
method or theOnixElement.value()
field instead- Specified by:
__v
in interfaceOnixElement<String>
-
exists
public boolean exists()Description copied from interface:OnixTag
indicates whether this tag exists in the ONIX record -
ifExists
-