Module jonix.onix2

Class USSchoolGrade

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

@Deprecated public class USSchoolGrade extends Object implements OnixElement<String>, Serializable
Deprecated.

US school grades

A text element specifying a US school Grade or range of Grades, which should be entered strictly according to the conventions defined below. Optional and non-repeating. The <AudienceRange> composite on the next page provides a more general method of handling grade and other ranges, and is to be preferred.

Format Variable length text, maximum 15 characters.
from n1 to n2 Grade range from n1 to n2 from n From Grade n upwards to n Up to Grade n n Grade n only where n is a grade number or one of the words Pre-school or Kindergarten, which may be abbreviated to letters P or K
Reference name <USSchoolGrade>
Short tag <b189>
Example <USSchoolGrade>from 6 to 8</USSchoolGrade>
<b189>P</b189> Pre-school

This tag may be included in the following composites:

Possible placements within ONIX message:

See Also:
  • Field Details

    • refname

      public static final String refname
      Deprecated.
      See Also:
    • shortname

      public static final String shortname
      Deprecated.
      See Also:
    • textformat

      public TextFormats textformat
      Deprecated.
    • textcase

      public TextCaseFlags textcase
      Deprecated.
    • language

      public Languages language
      Deprecated.
    • transliteration

      public TransliterationSchemes transliteration
      Deprecated.
    • datestamp

      public String datestamp
      Deprecated.
      (type: DateOrDateTime)
    • sourcetype

      public RecordSourceTypes sourcetype
      Deprecated.
    • sourcename

      public String sourcename
      Deprecated.
    • value

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

      Raw Format: Variable length text, maximum 15 characters.

      (type: NonEmptyString)

    • EMPTY

      public static final USSchoolGrade EMPTY
      Deprecated.
  • Constructor Details

    • USSchoolGrade

      public USSchoolGrade()
      Deprecated.
    • USSchoolGrade

      public USSchoolGrade(Element element)
      Deprecated.
  • Method Details

    • __v

      public String __v()
      Deprecated.
      Internal API, use the OnixElement.value() method or the OnixElement.value() field instead
      Specified by:
      __v in interface OnixElement<String>
    • exists

      public boolean exists()
      Deprecated.
      Description copied from interface: OnixTag
      indicates whether this tag exists in the ONIX record
      Specified by:
      exists in interface OnixTag
      Returns:
      whether this tag (<USSchoolGrade> or <b189>) is explicitly provided in the ONIX XML
    • ifExists

      public void ifExists(Consumer<USSchoolGrade> action)
      Deprecated.