Module jonix.onix3

Class StockQuantityCode

java.lang.Object
com.tectonica.jonix.onix3.StockQuantityCode
All Implemented Interfaces:
OnixElement<String>, OnixTag, Serializable

public class StockQuantityCode extends Object implements OnixElement<String>, 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>

This tag may be included in the following composites:

Possible placements within ONIX message:

See Also:
  • Field Details

    • refname

      public static final String refname
      See Also:
    • shortname

      public static final String shortname
      See Also:
    • datestamp

      public String datestamp
      (type: dt.DateOrDateTime)
    • sourcename

      public String sourcename
      (type: dt.NonEmptyString)
    • sourcetype

      public RecordSourceTypes sourcetype
    • value

      public String value
      This is the raw content of StockQuantityCode. Could be null if exists() == false. Use OnixElement.value() instead if you want to get this as an Optional.

      Raw Format: According to the scheme specified in <StockQuantityCodeType>

      (type: dt.NonEmptyString)

    • EMPTY

      public static final StockQuantityCode EMPTY
  • Constructor Details

    • StockQuantityCode

      public StockQuantityCode()
    • StockQuantityCode

      public StockQuantityCode(Element element)
  • Method Details