java.lang.Object
com.tectonica.jonix.onix3.EpubUsageType
- All Implemented Interfaces:
OnixElement<UsageTypes>,OnixTag,Serializable
Usage type (digital products)
An ONIX code specifying a usage of a digital product. Mandatory in each occurrence of the <EpubUsageConstraint> composite, and non-repeating.
| Format | Fixed length, two digits |
| Codelist | List 145 |
| Reference name | <EpubUsageType> |
| Short tag | <x318> |
| Cardinality | 1 |
| Example | <x318>05</x318> (Text-to-speech) |
Product⯈DescriptiveDetail⯈EpubUsageConstraint⯈EpubUsageTypeProduct⯈ContentDetail⯈ContentItem⯈EpubUsageConstraint⯈EpubUsageTypeProduct⯈ContentDetail⯈ContentItem⯈TextContent⯈EpubUsageConstraint⯈EpubUsageTypeProduct⯈CollateralDetail⯈TextContent⯈EpubUsageConstraint⯈EpubUsageTypeProduct⯈ContentDetail⯈ContentItem⯈SupportingResource⯈ResourceVersion⯈EpubUsageConstraint⯈EpubUsageTypeProduct⯈CollateralDetail⯈SupportingResource⯈ResourceVersion⯈EpubUsageConstraint⯈EpubUsageTypeProduct⯈PromotionDetail⯈PromotionalEvent⯈EventOccurrence⯈SupportingResource⯈ResourceVersion⯈EpubUsageConstraint⯈EpubUsageTypeProduct⯈PromotionDetail⯈PromotionalEvent⯈SupportingResource⯈ResourceVersion⯈EpubUsageConstraint⯈EpubUsageType
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescription(type: dt.DateOrDateTime)static final EpubUsageTypestatic final Stringstatic final String(type: dt.NonEmptyString) -
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<EpubUsageType> 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
-
EMPTY
-
-
Constructor Details
-
EpubUsageType
public EpubUsageType() -
EpubUsageType
-
-
Method Details
-
__v
Internal API, use theOnixElement.value()method or theOnixElement.value()field instead- Specified by:
__vin interfaceOnixElement<UsageTypes>
-
exists
public boolean exists()Description copied from interface:OnixTagindicates whether this tag exists in the ONIX record -
ifExists
-
codeOrNull
-
descriptionOrNull
-