- All Implemented Interfaces:
- OnixComposite,- OnixComposite.OnixDataComposite<JonixSupplierIdentifier>,- OnixComposite.OnixDataCompositeWithKey<JonixSupplierIdentifier,,- SupplierIdentifierTypes> - OnixTag,- Serializable
Supplier identifier composite
A group of data elements which together specify an identifier of the supplier in accordance with a specified scheme, and repeatable to allow different types of supplier identifier to be included without defining additional data elements. Optional, but each occurrence of the <Supplier> composite must carry either at least one supplier identifier, or a <SupplierName>, or both.
| Reference name | <SupplierIdentifier> | 
| Short tag | <supplieridentifier> | 
| Cardinality | 0…n | 
- <NewSupplier>
- <Supplier>
- See Also:
- 
Nested Class SummaryNested classes/interfaces inherited from interface com.tectonica.jonix.common.OnixCompositeOnixComposite.OnixDataComposite<V extends JonixStruct>, OnixComposite.OnixDataCompositeUncommon, OnixComposite.OnixDataCompositeWithKey<V extends JonixKeyedStruct<K>,K extends Enum<K> & OnixCodelist>, OnixComposite.OnixSuperComposite 
- 
Field SummaryFieldsModifier and TypeFieldDescription(type: dt.DateOrDateTime)static final SupplierIdentifierstatic final Stringstatic final String(type: dt.NonEmptyString)
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidThis is an internal API.asStruct()booleanexists()indicates whether this tag exists in the ONIX recordFor advanced use-cases only.A name which identifies a proprietary identifier scheme (ie a scheme which is not a standard and for which there is no individual ID type code).idValue()An identifier of the type specified in the <SupplierIDType> element.voidifExists(Consumer<SupplierIdentifier> action) An ONIX code identifying the scheme from which the identifier in the <IDValue> element is taken.
- 
Field Details- 
refname- See Also:
 
- 
shortname- See Also:
 
- 
datestamp(type: dt.DateOrDateTime)
- 
sourcename(type: dt.NonEmptyString)
- 
sourcetype
- 
EMPTY
 
- 
- 
Constructor Details- 
SupplierIdentifierpublic SupplierIdentifier()
- 
SupplierIdentifier
 
- 
- 
Method Details- 
_initializepublic void _initialize()Description copied from interface:OnixCompositeThis 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:
- _initializein interface- OnixComposite
 
- 
existspublic boolean exists()Description copied from interface:OnixTagindicates whether this tag exists in the ONIX record
- 
ifExists
- 
getXmlElementDescription copied from interface:OnixCompositeFor advanced use-cases only.- Specified by:
- getXmlElementin interface- OnixComposite
- Returns:
- native representation of the XML element underlying to this tag
 
- 
supplierIDTypeAn ONIX code identifying the scheme from which the identifier in the <IDValue> element is taken. Mandatory in each occurrence of the <SupplierIdentifier> composite, and non-repeating. JONIX adds: this field is required
- 
idValueAn identifier of the type specified in the <SupplierIDType> element. Mandatory in each occurrence of the <SupplierIdentifier> composite, and non-repeating. JONIX adds: this field is required
- 
idTypeNameA name which identifies a proprietary identifier scheme (ie a scheme which is not a standard and for which there is no individual ID type code). Must be included when, and only when, the code in the <SupplierIDType> element indicates a proprietary scheme, eg a wholesaler’s own code. Optional and non-repeating. JONIX adds: this field is optional
- 
asStruct- Specified by:
- asStructin interface- OnixComposite.OnixDataComposite<JonixSupplierIdentifier>
 
- 
structKey- Specified by:
- structKeyin interface- OnixComposite.OnixDataCompositeWithKey<JonixSupplierIdentifier,- SupplierIdentifierTypes> 
 
 
-