- All Implemented Interfaces:
OnixComposite
,OnixComposite.OnixDataComposite<JonixEpubLicenseExpression>
,OnixComposite.OnixDataCompositeWithKey<JonixEpubLicenseExpression,
,LicenseExpressionTypes> OnixTag
,Serializable
Digital product license expression composite
An optional composite that carries details of a link to an expression of the license terms, which may be in human-readable or machine-readable form. Repeatable when there is more than one expression of the license.
Reference name | <EpubLicenseExpression> |
Short tag | <epublicenseexpression> |
Cardinality | 0…n |
Product
⯈ProductSupply
⯈SupplyDetail
⯈Price
⯈EpubLicenseType
⯈EpubLicenseExpression
Product
⯈DescriptiveDetail
⯈EpubLicenseWithDateType
⯈EpubLicenseExpression
Product
⯈ContentDetail
⯈ContentItem
⯈EpubLicenseWithDateType
⯈EpubLicenseExpression
Product
⯈ContentDetail
⯈ContentItem
⯈TextContent
⯈EpubLicenseWithDateType
⯈EpubLicenseExpression
Product
⯈CollateralDetail
⯈TextContent
⯈EpubLicenseWithDateType
⯈EpubLicenseExpression
Product
⯈ContentDetail
⯈ContentItem
⯈SupportingResource
⯈ResourceVersion
⯈EpubLicenseWithDateType
⯈EpubLicenseExpression
Product
⯈CollateralDetail
⯈SupportingResource
⯈ResourceVersion
⯈EpubLicenseWithDateType
⯈EpubLicenseExpression
Product
⯈PromotionDetail
⯈PromotionalEvent
⯈EventOccurrence
⯈SupportingResource
⯈ResourceVersion
⯈EpubLicenseWithDateType
⯈EpubLicenseExpression
Product
⯈PromotionDetail
⯈PromotionalEvent
⯈SupportingResource
⯈ResourceVersion
⯈EpubLicenseWithDateType
⯈EpubLicenseExpression
- Since:
- Onix-3.02
- 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 EpubLicenseExpression
static final String
static final String
(type: dt.NonEmptyString) -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
This is an internal API.asStruct()
The URI for the license expression.An ONIX code identifying the nature or format of the license expression specified in the <EpubLicenseExpressionLink> element.A short free-text name for a license expression type, when the code in <EpubLicenseExpressionType> provides insufficient detail – for example when a machine-readable license is expressed using a particular proprietary encoding scheme.boolean
exists()
indicates whether this tag exists in the ONIX recordFor advanced use-cases only.void
ifExists
(Consumer<EpubLicenseExpression> action)
-
Field Details
-
refname
- See Also:
-
shortname
- See Also:
-
datestamp
(type: dt.DateOrDateTime) -
sourcename
(type: dt.NonEmptyString) -
sourcetype
-
EMPTY
-
-
Constructor Details
-
EpubLicenseExpression
public EpubLicenseExpression() -
EpubLicenseExpression
-
-
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
-
epubLicenseExpressionType
An ONIX code identifying the nature or format of the license expression specified in the <EpubLicenseExpressionLink> element. Mandatory within the <EpubLicenseExpression> composite, and non-repeating.
Jonix-Comment: this field is required -
epubLicenseExpressionLink
The URI for the license expression. Mandatory in each instance of the <EpubLicenseExpression> composite, and non-repeating.
Jonix-Comment: this field is required -
epubLicenseExpressionTypeName
A short free-text name for a license expression type, when the code in <EpubLicenseExpressionType> provides insufficient detail – for example when a machine-readable license is expressed using a particular proprietary encoding scheme. Optional and non-repeating, and must be included when (and only when) the <EpubLicenseExpressionType> element indicates the expression is encoded in a proprietary way.
Jonix-Comment: this field is optional -
asStruct
- Specified by:
asStruct
in interfaceOnixComposite.OnixDataComposite<JonixEpubLicenseExpression>
-
structKey
- Specified by:
structKey
in interfaceOnixComposite.OnixDataCompositeWithKey<JonixEpubLicenseExpression,
LicenseExpressionTypes>
-