- 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
FieldsModifier and TypeFieldDescription(type: dt.DateOrDateTime)static final ProductContact
static final String
static final String
(type: dt.NonEmptyString) -
Constructor Summary
Constructors -
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.An ONIX code identifying the country within which the product contact organization is located.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) The name of a city or town location, forming part of the postal address of the product contact organization.The postal code (postcode, zip code etc), forming part of the postal address of the product contact organization.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.An ONIX code identifying the region within which the product contact organization is located.A text field giving a street address and forming the first part of the postal address of the product contact organization.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 adds: 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 adds: 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 adds: 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 adds: this field is optional -
streetAddress
A text field giving a street address and forming the first part of the postal address of the product contact organization. Optional and non-repeatable. Care should be taken that the Product contact name (plus optionally the Contact name), Street address, Location name, any Postal code or Region code, and the Country code can be combined into a complete postal address, without repetition.
JONIX adds: this field is optional -
locationName
The name of a city or town location, forming part of the postal address of the product contact organization. Mandatory and non-repeatable if a Street address is present, but otherwise omitted.
JONIX adds: this field is optional -
postalCode
The postal code (postcode, zip code etc), forming part of the postal address of the product contact organization. Optional and non-repeatable if a Street address is present, but otherwise omitted.
JONIX adds: this field is optional -
regionCode
An ONIX code identifying the region within which the product contact organization is located. Optional and non-repeatable if a Street address is present, but otherwise omitted.
For some addresses, a Region code is useful in addition to the Postal code and Country code. In other addresses, a region is unnecessary because it is clearly encoded within the Postal code.
JONIX adds: this field is optional -
countryCode
An ONIX code identifying the country within which the product contact organization is located. Mandatory and non-repeatable if a Street address is present, but otherwise omitted.
JONIX adds: 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 adds: 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 adds: 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 adds: this list may be empty
-