Module jonix.onix3

Class PublisherRepresentative

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

public class PublisherRepresentative extends Object implements OnixComposite.OnixSuperComposite, Serializable

Publisher representative composite

A repeatable group of data elements which together identify a publisher representative in a specified market. Optional, and repeated only if the publisher has two or more representatives.

Reference name <PublisherRepresentative>
Short tag <publisherrepresentative>
Cardinality 0…n

This tag may be included in the following composites:

Possible placements within ONIX message:

See Also:
  • Field Details

  • Constructor Details

    • PublisherRepresentative

      public PublisherRepresentative()
    • PublisherRepresentative

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

      public void ifExists(Consumer<PublisherRepresentative> 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
    • agentRole

      public AgentRole agentRole()

      An ONIX code identifying the role of an agent in relation to the product in the specified market, eg Exclusive sales agent, Local publisher, etc. Mandatory in each occurrence of the <PublisherRepresentative> composite.

      Jonix-Comment: this field is required
    • agentIdentifiers

      A group of data elements together defining the identifier of an agent or local publisher in accordance with a specified scheme. Optional, but each occurrence of the <PublisherRepresentative> composite must carry either at least one agent identifier, or an <AgentName>. Repeatable only if two or more identifiers are sent using different schemes.

      Jonix-Comment: this list is required to contain at least one item
    • agentName

      public AgentName agentName()

      The name of an agent or local publisher. Optional and non-repeating; required if no agent identifier is sent in an occurrence of the <PublisherRepresentative> composite.

      Jonix-Comment: this field is optional
    • telephoneNumbers

      public ListOfOnixElement<TelephoneNumber,String> telephoneNumbers()

      A telephone number of an agent or local publisher. Optional and repeatable. Use to provide contact details for the organization as a whole, but prefer <ProductContact> for individual functions or contacts within the organization.

      Jonix-Comment: this list may be empty
    • faxNumbers

      public ListOfOnixElement<FaxNumber,String> faxNumbers()

      A fax number of an agent or local publisher. Optional and repeatable. Use to provide contact details for the organization as a whole, but prefer <ProductContact> for individual functions or contacts within the organization.

      Jonix-Comment: this list may be empty
    • emailAddresss

      public ListOfOnixElement<EmailAddress,String> emailAddresss()

      An e‑mail address for an agent or local publisher. Optional and repeatable. Use to provide contact details for the organization as a whole, but prefer <ProductContact> for individual functions or contacts within the organization.

      Jonix-Comment: this list may be empty
    • websites

      An optional group of data elements which together identify and provides pointer to a website which is related to the agent or local publisher identified in an occurrence of the <PublisherRepresentative> composite. Repeatable in order to provide links to multiple websites.

      Jonix-Comment: this list may be empty