Module jonix.onix3

Class SupplierOwnCoding

java.lang.Object
com.tectonica.jonix.onix3.SupplierOwnCoding
All Implemented Interfaces:
OnixComposite, OnixComposite.OnixDataComposite<JonixSupplierOwnCoding>, OnixComposite.OnixDataCompositeWithKey<JonixSupplierOwnCoding,SupplierOwnCodeTypes>, OnixTag, Serializable

Supplier own coding composite

An optional and repeatable group of data elements which together allow a supplier to send coded data of a specified type, using its own coding schemes.

Reference name <SupplierOwnCoding>
Short tag <supplierowncoding>
Cardinality 0…n

This tag may be included in the following composites:

Possible placements within ONIX message:

See Also:
  • Field Details

  • Constructor Details

    • SupplierOwnCoding

      public SupplierOwnCoding()
    • SupplierOwnCoding

      public SupplierOwnCoding(Element element)
  • 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 interface OnixComposite
    • exists

      public boolean exists()
      Description copied from interface: OnixTag
      indicates whether this tag exists in the ONIX record
      Specified by:
      exists in interface OnixTag
      Returns:
      whether this tag (<SupplierOwnCoding> or <supplierowncoding>) is explicitly provided in the ONIX XML
    • ifExists

      public void ifExists(Consumer<SupplierOwnCoding> action)
    • getXmlElement

      public Element getXmlElement()
      Description copied from interface: OnixComposite
      For advanced use-cases only.
      Specified by:
      getXmlElement in interface OnixComposite
      Returns:
      native representation of the XML element underlying to this tag
    • supplierCodeType

      public SupplierCodeType supplierCodeType()

      An ONIX code identifying the type of a supplier own code. Mandatory in each occurrence of the <SupplierOwnCoding> composite, and non-repeating.

      Jonix-Comment: this field is required
    • supplierCodeValue

      public SupplierCodeValue supplierCodeValue()

      A supplier-defined code of the type specified in the <SupplierCodeType> element. Mandatory in each occurrence of the <SupplierOwnCoding> composite, and non-repeating.

      Jonix-Comment: this field is required
    • supplierCodeTypeName

      public SupplierCodeTypeName supplierCodeTypeName()

      A name which identifies the proprietary coding scheme used. Optional and non-repeating.

      Jonix-Comment: this field is optional
    • asStruct

      public JonixSupplierOwnCoding asStruct()
      Specified by:
      asStruct in interface OnixComposite.OnixDataComposite<JonixSupplierOwnCoding>
    • structKey

      public SupplierOwnCodeTypes structKey()
      Specified by:
      structKey in interface OnixComposite.OnixDataCompositeWithKey<JonixSupplierOwnCoding,SupplierOwnCodeTypes>