java.lang.Object
com.tectonica.jonix.onix3.SubjectCode
- All Implemented Interfaces:
OnixElement<String>,OnixTag,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> |
- <
Subject>
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescription(type: dt.DateOrDateTime)static final SubjectCodestatic final Stringstatic final String(type: dt.NonEmptyString)This is the raw content of SubjectCode. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription__v()Internal API, use theOnixElement.value()method or theOnixElement.value()field insteadbooleanexists()indicates whether this tag exists in the ONIX recordvoidifExists(Consumer<SubjectCode> action) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.tectonica.jonix.common.OnixElement
equal, is, isNull, value
-
Field Details
-
refname
- See Also:
-
shortname
- See Also:
-
datestamp
(type: dt.DateOrDateTime) -
sourcename
(type: dt.NonEmptyString) -
sourcetype
-
value
This is the raw content of SubjectCode. Could be null ifexists() == false. UseOnixElement.value()instead if you want to get this as anOptional.Raw Format: Variable length alphanumeric, suggested maximum length 20 characters
(type: dt.NonEmptyString)
-
EMPTY
-
-
Constructor Details
-
SubjectCode
public SubjectCode() -
SubjectCode
-
-
Method Details
-
__v
Internal API, use theOnixElement.value()method or theOnixElement.value()field instead- Specified by:
__vin interfaceOnixElement<String>
-
exists
public boolean exists()Description copied from interface:OnixTagindicates whether this tag exists in the ONIX record -
ifExists
-