Module jonix.onix3

Class ComponentTypeName

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

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

Component type name

The generic name (if any) which is given in the product to the type of section which the content item represents, eg Chapter, Part, Track. Optional and non-repeating; but either this field or a title (in the <TitleDetail> composite), or both, must be present in each occurrence of the <ContentItem>.

Format Variable length alphanumeric, suggested maximum length 20 characters
Reference name <ComponentTypeName>
Short tag <b288>
Cardinality 0…1
Attributes language
Example <b288>Chapter</b288>

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
    • language

      public Languages language
    • value

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

      Raw Format: Variable length alphanumeric, suggested maximum length 20 characters

      (type: dt.NonEmptyString)

    • EMPTY

      public static final ComponentTypeName EMPTY
  • Constructor Details

    • ComponentTypeName

      public ComponentTypeName()
    • ComponentTypeName

      public ComponentTypeName(Element element)
  • Method Details