java.lang.Object
com.tectonica.jonix.onix3.SubjectHeadingText
- All Implemented Interfaces:
OnixElement<String>
,OnixTag
,Serializable
Subject heading text
The text of a subject heading taken from the scheme specified in the <SubjectSchemeIdentifier> element, or of free language keywords if the scheme is specified as ‘keywords’; or the text equivalent to the <SubjectCode> value, if both code and text are sent. Either <SubjectCode> or <SubjectHeadingText> or both must be present in each occurrence of the <Subject> composite.
Optional, and repeatable if the heading text is sent in multiple languages. The language attribute is optional for a single instance of <SubjectHeadingText>, but must be included in each instance if <SubjectHeadingText> is repeated.
Format | Variable length text, suggested maximum length 500 characters |
Reference name | <SubjectHeadingText> |
Short tag | <b070> |
Cardinality | 0…n |
Attributes | language |
Example | <b070>Labor and industrial relations</b070> |
- <
Subject
>
- See Also:
-
Field Summary
Modifier and TypeFieldDescription(type: dt.DateOrDateTime)static final SubjectHeadingText
static final String
static final String
(type: dt.NonEmptyString)This is the raw content of SubjectHeadingText. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription__v()
Internal API, use theOnixElement.value()
method or theOnixElement.value()
field insteadboolean
exists()
indicates whether this tag exists in the ONIX recordvoid
ifExists
(Consumer<SubjectHeadingText> action) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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
-
language
-
value
This is the raw content of SubjectHeadingText. Could be null ifexists() == false
. UseOnixElement.value()
instead if you want to get this as anOptional
.Raw Format: Variable length text, suggested maximum length 500 characters
(type: dt.NonEmptyString)
-
EMPTY
-
-
Constructor Details
-
SubjectHeadingText
public SubjectHeadingText() -
SubjectHeadingText
-
-
Method Details
-
__v
Internal API, use theOnixElement.value()
method or theOnixElement.value()
field instead- Specified by:
__v
in interfaceOnixElement<String>
-
exists
public boolean exists()Description copied from interface:OnixTag
indicates whether this tag exists in the ONIX record -
ifExists
-