- All Implemented Interfaces:
OnixFlag
,OnixTag
,Serializable
Main subject flag
An empty element that identifies an instance of the <Subject> composite as representing the primary or main subject category for the product. The main category may be expressed in more than one subject scheme, ie there may be two or more instances of the <Subject> composite, using different schemes, each carrying the <MainSubject/> flag, so long as there is only one main category per scheme (ie per value of <SubjectSchemeIdentifier>). Optional, though for some subject schemes (eg Thema), <MainSubject/> can be vital in order to prevent potential misinterpretation of a group of subject codes, and for other schemes which by their nature only allow one code (eg Dewey), <MainSubject> is not relevant. Non-repeating in each occurrence of the <Subject> composite.
Format | XML empty element |
Reference name | <MainSubject> |
Short tag | <x425> |
Cardinality | 0…1 |
Example | <MainSubject/> |
- <
Subject
>
- See Also:
-
Field Summary
Modifier and TypeFieldDescription(type: dt.DateOrDateTime)static final MainSubject
static final String
static final String
(type: dt.NonEmptyString) -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
exists()
indicates whether this tag exists in the ONIX recordvoid
ifExists
(Consumer<MainSubject> action)
-
Field Details
-
refname
- See Also:
-
shortname
- See Also:
-
datestamp
(type: dt.DateOrDateTime) -
sourcename
(type: dt.NonEmptyString) -
sourcetype
-
EMPTY
-
-
Constructor Details
-
MainSubject
public MainSubject() -
MainSubject
-
-
Method Details