Module jonix.onix2

Class PersonAsSubject

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

public class PersonAsSubject extends Object implements OnixComposite.OnixSuperComposite, Serializable

Person as subject composite

An optional and repeatable group of data elements which together represent the name of a person who is part of the subject of a product.

Reference name <PersonAsSubject>
Short tag <personassubject>

This tag may be included in the following composites:

Possible placements within ONIX message:

See Also:
  • Field Details

  • Constructor Details

    • PersonAsSubject

      public PersonAsSubject()
    • PersonAsSubject

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

      public void ifExists(Consumer<PersonAsSubject> 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
    • personName

      public PersonName personName()
      Jonix-Comment: this field is required
    • personNameInverted

      public PersonNameInverted personNameInverted()

      The name of a person who contributed to the creation of the product, presented in inverted order, with the element used for alphabetical sorting placed first. Optional and non-repeating: see Group PR.8 introductory text for valid options.

      Jonix-Comment: this field is optional
    • titlesBeforeNames

      public TitlesBeforeNames titlesBeforeNames()

      The first part of a structured name of a person who contributed to the creation of the product: qualifications and/or titles preceding a person’s names, eg Professor or HRH Prince or Saint. Optional and non-repeating: see Group PR.8 introductory text for valid options.

      Jonix-Comment: this field is optional
    • namesBeforeKey

      public NamesBeforeKey namesBeforeKey()

      The second part of a structured name of a person who contributed to the creation of the product: name(s) and/or initial(s) preceding a person’s key name(s), eg James J. Optional and non-repeating.

      Jonix-Comment: this field is optional
    • prefixToKey

      public PrefixToKey prefixToKey()

      The third part of a structured name of a person who contributed to the creation of the product: a prefix which precedes the key name(s) but which is not to be treated as part of the key name, eg van in Ludwig van Beethoven. Optional and non-repeating.

      Jonix-Comment: this field is optional
    • keyNames

      public KeyNames keyNames()

      The fourth part of a structured name of a person who contributed to the creation of the product: key name(s), ie the name elements normally used to open an entry in an alphabetical list, eg Smith or Garcia Marquez or Madonna or Francis de Sales (in Saint Francis de Sales). Optional and non-repeating.

      Jonix-Comment: this field is optional
    • namesAfterKey

      public NamesAfterKey namesAfterKey()

      The fifth part of a structured name of a person who contributed to the creation of the product: name suffix, or name(s) following a person’s key name(s), eg Ibrahim (in Anwar Ibrahim). Optional and non-repeating.

      Jonix-Comment: this field is optional
    • suffixToKey

      public SuffixToKey suffixToKey()

      The sixth part of a structured name of a person who contributed to the creation of the product: a suffix following a person’s key name(s), eg Jr or III. Optional and non-repeating.

      Jonix-Comment: this field is optional
    • lettersAfterNames

      public LettersAfterNames lettersAfterNames()

      The seventh part of a structured name of a person who contributed to the creation of the product: qualifications and honors following a person’s names, eg CBE FRS. Optional and non-repeating.

      Jonix-Comment: this field is optional
    • titlesAfterNames

      public TitlesAfterNames titlesAfterNames()

      The eighth part of a structured name of a person who contributed to the creation of the product: titles following a person’s names, eg Duke of Edinburgh. Optional and non-repeating.

      Jonix-Comment: this field is optional
    • names

      public ListOfOnixComposite<Name> names()

      A repeatable group of data elements which together represent a personal name, and specify its type. The <Name> composite may be used to send alternate names for the same person, eg to handle such cases as Ian Rankin writing as Jack Harvey.

      Jonix-Comment: this list may be empty
    • personNameIdentifiers

      A repeatable group of data elements which together specify a party name identifier, used here to carry an identifier for a name given in an occurrence of the <Contributor> composite. Optional: see Group PR.8 introductory text for valid options.

      Jonix-Comment: this list may be empty