Module jonix.onix2

Class ProfessionalAffiliation

java.lang.Object
com.tectonica.jonix.onix2.ProfessionalAffiliation
All Implemented Interfaces:
OnixComposite, OnixComposite.OnixDataCompositeUncommon, OnixTag, Serializable

public class ProfessionalAffiliation extends Object implements OnixComposite.OnixDataCompositeUncommon, Serializable

Professional affiliation composite

A repeatable group of data elements which together identify a contributor’s professional position and/or affiliation, allowing multiple positions and affiliations to be specified.

Reference name <ProfessionalAffiliation>
Short tag <professionalaffiliation>

This tag may be included in the following composites:

Possible placements within ONIX message:

Since:
Onix-2.1
See Also:
  • Field Details

  • Constructor Details

    • ProfessionalAffiliation

      public ProfessionalAffiliation()
    • ProfessionalAffiliation

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

      public void ifExists(Consumer<ProfessionalAffiliation> 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
    • professionalPosition

      public ProfessionalPosition professionalPosition()

      A professional position held by a contributor to the product at the time of its creation. Optional and non-repeating.

      Jonix-Comment: this field is required
    • affiliation

      public Affiliation affiliation()

      An organisation to which a contributor to the product was affiliated at the time of its creation, and – if the <ProfessionalPosition> element is also present – where s/he held that position. Optional and non-repeating.

      Jonix-Comment: this field is optional