java.lang.Object
com.tectonica.jonix.onix2.BASICMainSubject
- All Implemented Interfaces:
OnixElement<String>
,OnixTag
,Serializable
BISAC main subject category
A BISAC subject category code which identifies the main subject of the product. Optional and non-repeating. Additional BISAC subject category codes may be sent using the <Subject> composite. Note that the data element reference name was assigned during a period when the BISAC name had been changed to “BASIC”. The name has now officially reverted to “BISAC”, but the ONIX data element name cannot be changed for reasons of upwards compatibility.
Format | Fixed-length, three upper-case letters and six numeric digits. |
Codelist | BISAC Subject Heading Codes. Please contact info@bisg.org for details, or check the BISG website at http://www.bisg.org/publications.html |
Reference name | <BASICMainSubject> |
Short tag | <b064> |
Example | <BASICMainSubject>ARC007000</BASICMainSubject> |
- <
Product
>
- See Also:
-
Field Summary
Modifier and TypeFieldDescription(type: DateOrDateTime)static final BASICMainSubject
static final String
static final String
This is the raw content of BASICMainSubject. -
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<BASICMainSubject> 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:
-
textformat
-
textcase
-
language
-
transliteration
-
datestamp
(type: DateOrDateTime) -
sourcetype
-
sourcename
-
value
This is the raw content of BASICMainSubject. Could be null ifexists() == false
. UseOnixElement.value()
instead if you want to get this as anOptional
.Raw Format: Fixed-length, three upper-case letters and six numeric digits.
(type: NonEmptyString)
-
EMPTY
-
-
Constructor Details
-
BASICMainSubject
public BASICMainSubject() -
BASICMainSubject
-
-
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
-