java.lang.Object
com.tectonica.jonix.onix3.EpubUsageLimit
- All Implemented Interfaces:
OnixComposite
,OnixComposite.OnixDataComposite<JonixEpubUsageLimit>
,OnixTag
,Serializable
public class EpubUsageLimit
extends Object
implements OnixComposite.OnixDataComposite<JonixEpubUsageLimit>, Serializable
Usage limit composite (digital products)
An optional group of data elements which together specify a quantitative limit on a particular type of usage of a digital product. Repeatable in order to specify two or more limits on the usage type.
Reference name | <EpubUsageLimit> |
Short tag | <epubusagelimit> |
Cardinality | 0…n |
Product
⯈DescriptiveDetail
⯈EpubUsageConstraint
⯈EpubUsageLimit
Product
⯈ContentDetail
⯈ContentItem
⯈EpubUsageConstraint
⯈EpubUsageLimit
Product
⯈ContentDetail
⯈ContentItem
⯈TextContent
⯈EpubUsageConstraint
⯈EpubUsageLimit
Product
⯈CollateralDetail
⯈TextContent
⯈EpubUsageConstraint
⯈EpubUsageLimit
Product
⯈ContentDetail
⯈ContentItem
⯈SupportingResource
⯈ResourceVersion
⯈EpubUsageConstraint
⯈EpubUsageLimit
Product
⯈CollateralDetail
⯈SupportingResource
⯈ResourceVersion
⯈EpubUsageConstraint
⯈EpubUsageLimit
Product
⯈PromotionDetail
⯈PromotionalEvent
⯈EventOccurrence
⯈SupportingResource
⯈ResourceVersion
⯈EpubUsageConstraint
⯈EpubUsageLimit
Product
⯈PromotionDetail
⯈PromotionalEvent
⯈SupportingResource
⯈ResourceVersion
⯈EpubUsageConstraint
⯈EpubUsageLimit
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.tectonica.jonix.common.OnixComposite
OnixComposite.OnixDataComposite<V extends JonixStruct>, OnixComposite.OnixDataCompositeUncommon, OnixComposite.OnixDataCompositeWithKey<V extends JonixKeyedStruct<K>,
K extends Enum<K> & OnixCodelist>, OnixComposite.OnixSuperComposite -
Field Summary
Modifier and TypeFieldDescription(type: dt.DateOrDateTime)static final EpubUsageLimit
static final String
static final String
(type: dt.NonEmptyString) -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
This is an internal API.asStruct()
An ONIX code for a unit in which a permitted usage quantity is stated.boolean
exists()
indicates whether this tag exists in the ONIX recordFor advanced use-cases only.void
ifExists
(Consumer<EpubUsageLimit> action) quantity()
A numeric value representing the maximum permitted quantity of a particular type of usage.
-
Field Details
-
refname
- See Also:
-
shortname
- See Also:
-
datestamp
(type: dt.DateOrDateTime) -
sourcename
(type: dt.NonEmptyString) -
sourcetype
-
EMPTY
-
-
Constructor Details
-
EpubUsageLimit
public EpubUsageLimit() -
EpubUsageLimit
-
-
Method Details
-
_initialize
public void _initialize()Description copied from interface:OnixComposite
This is an internal API. Since Jonix 8.0, composite objects are being populated lazily. This method initiates the population process, and is invoked internally by the accessor APIs of the composites- Specified by:
_initialize
in interfaceOnixComposite
-
exists
public boolean exists()Description copied from interface:OnixTag
indicates whether this tag exists in the ONIX record -
ifExists
-
getXmlElement
Description copied from interface:OnixComposite
For advanced use-cases only.- Specified by:
getXmlElement
in interfaceOnixComposite
- Returns:
- native representation of the XML element underlying to this tag
-
quantity
A numeric value representing the maximum permitted quantity of a particular type of usage. Mandatory in each occurrence of the <EpubUsageLimit> composite, and non-repeating.
Jonix-Comment: this field is required -
epubUsageUnit
An ONIX code for a unit in which a permitted usage quantity is stated. Mandatory in each occurrence of the <EpubUsageLimit> composite, and non-repeating.
Jonix-Comment: this field is required -
asStruct
- Specified by:
asStruct
in interfaceOnixComposite.OnixDataComposite<JonixEpubUsageLimit>
-