java.lang.Object
com.tectonica.jonix.onix3.ComponentTypeName
- All Implemented Interfaces:
OnixElement<String>
,OnixTag
,Serializable
Component type name
The generic name (if any) which is given in the product to the type of section which the content item represents, eg Chapter, Part, Track. Optional and non-repeating; but either this field or a title (in the <TitleDetail> composite), or both, must be present in each occurrence of the <ContentItem>.
Format | Variable length alphanumeric, suggested maximum length 20 characters |
Reference name | <ComponentTypeName> |
Short tag | <b288> |
Cardinality | 0…1 |
Attributes | language |
Example | <b288>Chapter</b288> |
- See Also:
-
Field Summary
Modifier and TypeFieldDescription(type: dt.DateOrDateTime)static final ComponentTypeName
static final String
static final String
(type: dt.NonEmptyString)This is the raw content of ComponentTypeName. -
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<ComponentTypeName> 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 ComponentTypeName. 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
-
ComponentTypeName
public ComponentTypeName() -
ComponentTypeName
-
-
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
-