Module jonix.onix3

Class ProductContact

java.lang.Object
com.tectonica.jonix.onix3.ProductContact
All Implemented Interfaces:
OnixComposite, OnixComposite.OnixSuperComposite, OnixTag, Serializable

public class ProductContact extends Object implements OnixComposite.OnixSuperComposite, 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

This tag may be included in the following composites:

Possible placements within ONIX message:

Since:
Onix-3.01
See Also:
  • Field Details

  • Constructor Details

    • ProductContact

      public ProductContact()
    • ProductContact

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

      public void ifExists(Consumer<ProductContact> 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
    • productContactRole

      public ProductContactRole 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

      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

      public ProductContactName 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

      public ContactName 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

      public ListOfOnixElement<TelephoneNumber,String> 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

      public ListOfOnixElement<FaxNumber,String> 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

      public ListOfOnixElement<EmailAddress,String> 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