Module jonix.onix2

Class AddresseeIdentifier

java.lang.Object
com.tectonica.jonix.onix2.AddresseeIdentifier
All Implemented Interfaces:
OnixComposite, OnixComposite.OnixDataComposite<JonixAddresseeIdentifier>, OnixComposite.OnixDataCompositeWithKey<JonixAddresseeIdentifier,NameIdentifierTypes>, OnixTag, Serializable

Addressee identifier composite

A group of data elements which together define the identifier of the addressee within a specified namespace, used here to allow different party identifiers to be included without defining additional data elements. In particular the composite allows a proprietary identifier to be used by mutual agreement between parties to an exchange. The composite is optional and repeatable.

Reference name <AddresseeIdentifier>
Short tag <addresseeidentifier>

This tag may be included in the following composites:

Possible placements within ONIX message:

See Also:
  • Field Details

  • Constructor Details

    • AddresseeIdentifier

      public AddresseeIdentifier()
    • AddresseeIdentifier

      public AddresseeIdentifier(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 (<AddresseeIdentifier> or <addresseeidentifier>) is explicitly provided in the ONIX XML
    • ifExists

      public void ifExists(Consumer<AddresseeIdentifier> 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
    • addresseeIDType

      public AddresseeIDType addresseeIDType()

      An ONIX code identifying the namespace from which the identifier in the <IDValue> element is taken. Mandatory in any occurrence of the <AddresseeIdentifier> composite, and non-repeating.

      Jonix-Comment: this field is required
    • idValue

      public IDValue idValue()

      An identifier of the type specified in the <AddresseeIDType> element. Mandatory in any occurrence of the <AddresseeIdentifier> composite, and non-repeating.

      Jonix-Comment: this field is required
    • idTypeName

      public IDTypeName idTypeName()

      A name which identifies a proprietary identifier type when, and only when, the code in the <AddresseeIDType> element indicates a proprietary scheme. Optional and non-repeating.

      The text is not limited to ASCII characters.

      Jonix-Comment: this field is optional
    • asStruct

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

      public NameIdentifierTypes structKey()
      Specified by:
      structKey in interface OnixComposite.OnixDataCompositeWithKey<JonixAddresseeIdentifier,NameIdentifierTypes>