- All Implemented Interfaces:
OnixComposite
,OnixComposite.OnixSuperComposite
,OnixTag
,Serializable
Product contact composite
An optional group of data elements which together specify an organization (which may or may not be the publisher) responsible for dealing with enquiries related to the product. Repeatable in order to specify multiple responsible organizations.
Reference name | <ProductContact> |
Short tag | <productcontact> |
Cardinality | 0…n |
- Since:
- Onix-3.01
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.tectonica.jonix.common.OnixComposite
OnixComposite.OnixDataComposite<V extends JonixStruct>, OnixComposite.OnixDataCompositeUncommon, OnixComposite.OnixDataCompositeWithKey<V extends JonixKeyedStruct<K>,
K extends Enum<K> & OnixCodelist>, OnixComposite.OnixSuperComposite -
Field Summary
Modifier and TypeFieldDescription(type: dt.DateOrDateTime)static final ProductContact
static final String
static final String
(type: dt.NonEmptyString) -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
This is an internal API.Free text giving the name, department, etc for a contact person in the product contact organization who is responsible for the product.A text field giving the e‑mail address for a contact person in the product contact organization who is responsible for the product.boolean
exists()
indicates whether this tag exists in the ONIX recordA fax number for the contact person in the product contact organization who is responsible for the product, wherever possible including the plus sign and the international dialing code.For advanced use-cases only.void
ifExists
(Consumer<ProductContact> action) ListOfOnixDataCompositeWithKey<ProductContactIdentifier,
JonixProductContactIdentifier, NameIdentifierTypes> A group of data elements which together define an identifier of the product contact.The name of the product contact organization, which should always be stated in a standard form.An ONIX code which identifies the role played by the product contact in relation to the product – for example answering enquiries related to sales or to promotion.A telephone number of the contact person in the product contact organization who is responsible for the product, wherever possible including the plus sign and the international dialing code.
-
Field Details
-
refname
- See Also:
-
shortname
- See Also:
-
datestamp
(type: dt.DateOrDateTime) -
sourcename
(type: dt.NonEmptyString) -
sourcetype
-
EMPTY
-
-
Constructor Details
-
ProductContact
public ProductContact() -
ProductContact
-
-
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 interfaceOnixComposite
-
exists
public boolean exists()Description copied from interface:OnixTag
indicates whether this tag exists in the ONIX record -
ifExists
-
getXmlElement
Description copied from interface:OnixComposite
For advanced use-cases only.- Specified by:
getXmlElement
in interfaceOnixComposite
- Returns:
- native representation of the XML element underlying to this tag
-
productContactRole
An ONIX code which identifies the role played by the product contact in relation to the product – for example answering enquiries related to sales or to promotion.
Jonix-Comment: this field is required -
productContactIdentifiers
public ListOfOnixDataCompositeWithKey<ProductContactIdentifier,JonixProductContactIdentifier, productContactIdentifiers()NameIdentifierTypes> A group of data elements which together define an identifier of the product contact. The composite is optional, and repeatable if more than one identifier of different types is sent; but either a <ProductContactName> or a <ProductContactIdentifier> must be included.
Jonix-Comment: this list is required to contain at least one item -
productContactName
The name of the product contact organization, which should always be stated in a standard form. Optional and non-repeating; but either a <ProductContactName> element or a <ProductContactIdentifier> composite must be included.
Jonix-Comment: this field is optional -
contactName
Free text giving the name, department, etc for a contact person in the product contact organization who is responsible for the product. Optional and non-repeating.
Jonix-Comment: this field is optional -
telephoneNumbers
A telephone number of the contact person in the product contact organization who is responsible for the product, wherever possible including the plus sign and the international dialing code. Optional, and repeatable to provide multiple numbers for the same contact.
Jonix-Comment: this list may be empty -
faxNumbers
A fax number for the contact person in the product contact organization who is responsible for the product, wherever possible including the plus sign and the international dialing code. Optional, and repeatable to provide multiple numbers for the same contact.
Jonix-Comment: this list may be empty -
emailAddresss
A text field giving the e‑mail address for a contact person in the product contact organization who is responsible for the product. Optional, and repeatable to provide multiple e‑mail addresses for the same contact.
Jonix-Comment: this list may be empty
-