- All Implemented Interfaces:
- OnixComposite,- OnixComposite.OnixSuperComposite,- OnixTag,- Serializable
New supplier composite
An optional group of data elements which together specify a new supply source to which orders are referred. Use only when the code in <ProductAvailability> indicates ‘no longer available from us, refer to new supplier’. Only one occurrence of the composite is permitted in this context.
| Reference name | <NewSupplier> | 
| Short tag | <newsupplier> | 
| Cardinality | 0…1 | 
- 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 NewSupplierstatic final Stringstatic final String(type: dt.NonEmptyString)
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidThis is an internal API.An e‑mail address for a supply source from which the product may be ordered by a trade customer.booleanexists()indicates whether this tag exists in the ONIX recordA fax number of a supply source from which the product may be ordered by a trade customer.For advanced use-cases only.voidifExists(Consumer<NewSupplier> action) A group of data elements which together define the identity of a supplier in accordance with a specified scheme, and repeatable to allow different types of supplier identifier to be included without defining additional data elements.The name of a new supplier.A telephone number of a supply source from which the product may be ordered by a trade customer.websites()An optional group of data elements which together identify and provide a pointer to a website which is related to the organization identified in an occurrence of the <NewSupplier> composite.
- 
Field Details- 
refname- See Also:
 
- 
shortname- See Also:
 
- 
datestamp(type: dt.DateOrDateTime)
- 
sourcename(type: dt.NonEmptyString)
- 
sourcetype
- 
EMPTY
 
- 
- 
Constructor Details- 
NewSupplierpublic NewSupplier()
- 
NewSupplier
 
- 
- 
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
 
- 
supplierIdentifierspublic ListOfOnixDataCompositeWithKey<SupplierIdentifier,JonixSupplierIdentifier, supplierIdentifiers()SupplierIdentifierTypes> A group of data elements which together define the identity of a 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 <NewSupplier> composite must carry either at least one supplier identifier, or a <SupplierName>, or both. JONIX adds: this list is required to contain at least one item
- 
supplierNameThe name of a new supplier. Optional and non-repeating; required if no supplier identifier is sent in an occurrence of the <NewSupplier> composite. JONIX adds: this field is optional
- 
telephoneNumbersA telephone number of a supply source from which the product may be ordered by a trade customer. Optional and repeatable. JONIX adds: this list may be empty
- 
faxNumbersA fax number of a supply source from which the product may be ordered by a trade customer. Optional and repeatable. JONIX adds: this list may be empty
- 
emailAddresssAn e‑mail address for a supply source from which the product may be ordered by a trade customer. Optional and repeatable. JONIX adds: this list may be empty
- 
websitesAn optional group of data elements which together identify and provide a pointer to a website which is related to the organization identified in an occurrence of the <NewSupplier> composite. Repeatable in order to provide links to multiple websites. JONIX adds: this list may be empty
 
-