Module jonix.onix3

Class EventSponsor

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

public class EventSponsor extends Object implements OnixComposite.OnixSuperComposite, Serializable

Event sponsor composite

An optional group of data elements which together identify an organizer or sponsor of an event. Either an identifier, or one or other of <PersonName> or <CorporateName>, or both an identifier and a name, must be present in each occurrence of the composite. The composite is repeatable in order to specify multiple organizers and sponsors.

Reference name <EventSponsor>
Short tag <eventsponsor>
Cardinality 0…n

This tag may be included in the following composites:

Possible placements within ONIX message:

Since:
Onix-3.03
See Also:
  • Field Details

  • Constructor Details

    • EventSponsor

      public EventSponsor()
    • EventSponsor

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

      public void ifExists(Consumer<EventSponsor> 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
    • eventSponsorIdentifiers

      An optional and repeatable group of data elements which together carry a coded identifier for an organizer or sponsor of an event.

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

      public PersonName personName()

      The name of a person, used here for a personal organizer or sponsor of an event. Optional and non-repeating. Only one of <PersonName> or <CorporateName> can be sent in each occurrence of the <EventSponsor> composite.

      Jonix-Comment: this field is optional
    • corporateName

      public CorporateName corporateName()

      The name of a corporate body, used here for a corporate organizer or sponsor of an event. Optional and non-repeating. Only one of <PersonName> or <CorporateName> can be sent in each occurrence of the <EventSponsor> composite.

      Jonix-Comment: this field is optional