Module jonix.onix3

Class SubjectCode

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

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

Subject code

A single subject class or category code from the scheme specified in the <SubjectSchemeIdentifier> element. Either <SubjectCode> or <SubjectHeadingText> or both must be present in each occurrence of the <Subject> composite. Non-repeating.

Format Variable length alphanumeric, suggested maximum length 20 characters
Codelist The scheme specified in the associated <SubjectSchemeIdentifier> element
Reference name <SubjectCode>
Short tag <b069>
Cardinality 0…1
Example <SubjectCode>623.95</SubjectCode>

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

      public String value
      This is the raw content of SubjectCode. 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 SubjectCode EMPTY
  • Constructor Details

    • SubjectCode

      public SubjectCode()
    • SubjectCode

      public SubjectCode(Element element)
  • Method Details