Module jonix.onix3

Class Event

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

public class Event extends Object implements OnixComposite.OnixSuperComposite, Serializable

Event composite

A group of data elements which together describe an event to which the product is related. Optional, and repeatable if the product contains material from or is related to two or more events.

Reference name <Event>
Short tag <event>
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

    • Event

      public Event()
    • Event

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

      public void ifExists(Consumer<Event> 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
    • eventRole

      public EventRole eventRole()

      An ONIX code which indicates the relationship between the product and an event to which it is related, eg Proceedings of conference / Selected papers from conference / Programme for sporting event / Guide for art exhibition. Mandatory and non-repeating.

      Jonix-Comment: this field is required
    • eventNames

      public ListOfOnixElement<EventName,String> eventNames()

      The name of an event or series of events to which the product is related. This element is mandatory in each occurrence of the <Event> composite, and repeatable to provide parallel names for a single event in multiple languages (eg ‘United Nations Climate Change Conference’ and « Conférences des Nations unies sur les changements climatiques »). The language attribute is optional for a single instance of <EventName>, but must be included in each instance if <EventName> is repeated.

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

      public EventNumber eventNumber()

      The number of an event to which the product is related, within a series of events. Optional and non-repeating.

      Jonix-Comment: this field is optional
    • eventDate

      public EventDate eventDate()

      The date of an event to which the product is related. Optional and non-repeating.

      Jonix-Comment: this field is optional
    • eventAcronyms

      public ListOfOnixElement<EventAcronym,String> eventAcronyms()

      An acronym used as a short form of the name of an event or series of events given in the <EventName> element. Optional, and repeatable to provide parallel acronyms for a single event in multiple languages. The language attribute is optional for a single instance of <EventAcronym>, but must be included in each instance if <EventAcronym> is repeated.

      Jonix-Comment: this list may be empty
    • eventThemes

      public ListOfOnixElement<EventTheme,String> eventThemes()

      The thematic title of an individual event in a series that has an event series name in the <EventName> element. Optional, and repeatable to provide parallel thematic titles for a single event in multiple languages. The language attribute is optional for a single instance of <EventTheme>, but must be included in each instance if <EventTheme> is repeated.

      Jonix-Comment: this list may be empty
    • eventPlaces

      public ListOfOnixElement<EventPlace,String> eventPlaces()

      The place of an event to which the product is related. Optional, and repeatable to provide parallel placenames for a single location in multiple languages. The language attribute is optional for a single instance of <EventPlace>, but must be included in each instance if <EventPlace> is repeated.

      Jonix-Comment: this list may be empty
    • eventSponsors

      public ListOfOnixComposite<EventSponsor> eventSponsors()

      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.

      Jonix-Comment: this list may be empty
    • websites

      An optional group of data elements which together identify and provide a pointer to a website which is related to the event identified in an occurrence of the <Event> composite. Repeatable in order to provide links to multiple websites.

      Jonix-Comment: this list may be empty