Module jonix.onix3

Class TitlePrefix

java.lang.Object
com.tectonica.jonix.onix3.TitlePrefix
All Implemented Interfaces:
OnixElement<String>, OnixTag, Serializable

public class TitlePrefix extends Object implements OnixElement<String>, Serializable

Title prefix

Text at the beginning of a title element which is to be ignored for alphabetical sorting. Optional and non-repeating; can only be used when <TitleText> is omitted, and if the <TitleWithoutPrefix> element is also present. These two elements may be used in combination in applications where it is necessary to distinguish an initial word or character string which is to be ignored for filing purposes, eg in library systems and in some bookshop databases.

Format Variable length text, suggested maximum 20 characters
Reference name <TitlePrefix>
Short tag <b030>
Cardinality 0…1
Attributes collationkey, language, textscript, textcase
Example <TitlePrefix language="eng">The</TitlePrefix>

This tag may be included in the following composites:

Possible placements within ONIX message:

See Also:
  • Field Details

    • refname

      public static final String refname
      See Also:
    • shortname

      public static final String shortname
      See Also:
    • datestamp

      public String datestamp
      (type: dt.DateOrDateTime)
    • sourcename

      public String sourcename
      (type: dt.NonEmptyString)
    • sourcetype

      public RecordSourceTypes sourcetype
    • collationkey

      public String collationkey
      (type: dt.NonEmptyString)
    • language

      public Languages language
    • textscript

      public TextScripts textscript
    • textcase

      public TextCaseFlags textcase
    • value

      public String value
      This is the raw content of TitlePrefix. Could be null if exists() == false. Use OnixElement.value() instead if you want to get this as an Optional.

      Raw Format: Variable length text, suggested maximum 20 characters

      (type: dt.NonEmptyString)

    • EMPTY

      public static final TitlePrefix EMPTY
  • Constructor Details

    • TitlePrefix

      public TitlePrefix()
    • TitlePrefix

      public TitlePrefix(Element element)
  • Method Details