Module jonix.onix3

Class AlternativeName

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

public class AlternativeName extends Object implements OnixComposite.OnixSuperComposite, Serializable

Alternative name composite

A group of data elements which together represent an alternative name of a contributor, and specify its type. The <AlternativeName> composite is optional, and is repeatable to give multiple alternative names for the contributor. It may be used to send a pseudonym as well as a real name, where both names are on the product, eg to handle such cases as ‘Ian Rankin writing as Jack Harvey’; or to send an authority-controlled form of a name; or to identify the real name of the contributor where the book is written under a pseudonym (and the real identity need not be kept private) or is anonymous. Note that in all cases, the primary name is that used on the product, and the alternative name merely provides additional information.

Each instance of the composite must contain the <NameType> element with either:

  • one or more of the forms of representation of a person name, with or without an occurrence of the <NameIdentifier> composite; or
  • one or more of the forms of representation of a corporate name, with or without an occurrence of the <NameIdentifier> composite; or
  • an occurrence of the <NameIdentifier> composite without any accompanying name element(s).
Reference name <AlternativeName>
Short tag <alternativename>
Cardinality 0…n

This tag may be included in the following composites:

Possible placements within ONIX message:

See Also:
  • Field Details

  • Constructor Details

    • AlternativeName

      public AlternativeName()
    • AlternativeName

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

      public void ifExists(Consumer<AlternativeName> 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
    • nameType

      public NameType nameType()

      An ONIX code indicating the type of the name sent in an occurrence of the <AlternativeName> composite. Mandatory in each occurrence of the composite, and non-repeating.

      Jonix-Comment: this field is required
    • personName

      public PersonName personName()

      The name of a person who contributed to the creation of the product, unstructured, and presented in normal order. Optional and non-repeating: see Group P.7 introductory text for valid options.

      Jonix-Comment: this field is required
    • 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). Non-repeating. Required if name part elements P.7.11 to P.7.18 are used.

      Jonix-Comment: this field is required
    • nameIdentifiers

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

      public ListOfOnixElement<CorporateName,String> corporateNames()

      The name of a corporate body which contributed to the creation of the product, unstructured, and presented in normal order. Optional: see Group P.7 introductory text for valid options. Repeatable, to provide parallel names for a single organization in multiple languages (eg ‘World Health Organization’ and « Organisation mondiale de la santé »).The language attribute is optional for a single instance of <CorporateName>, but must be included in each instance if <CorporateName> is repeated.

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

      public PersonNameInverted personNameInverted()

      The name of a person who contributed to the creation of the product, presented with the element used for alphabetical sorting placed first (‘inverted order’). Optional and non-repeating: see Group P.7 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 P.7 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. This element may also be used for titles that appear after given names and before key names, eg ‘Lord’ in Alfred, Lord Tennyson. 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
    • corporateNameInverteds

      public ListOfOnixElement<CorporateNameInverted,String> corporateNameInverteds()

      The name of a corporate body which contributed to the creation of the product, presented in inverted order, with the element used for alphabetical sorting placed first. Optional: see Group P.7 introductory text for valid options. Repeatable, to provide parallel names for a single organization in multiple languages (eg ‘Polar Research Foundation, The’ and ‚Polarforschungsinstitut, Das‘).The language attribute is optional for a single instance of <CorporateNameInverted>, but must be included in each instance if <CorporateNameInverted> is repeated.

      Jonix-Comment: this list may be empty