java.lang.Object
com.tectonica.jonix.onix3.Quantity
- All Implemented Interfaces:
OnixElement<Double>
,OnixTag
,Serializable
Usage quantity (digital products)
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.
Format | Positive real number, with explicit decimal point when required, or zero, as appropriate for the units specified in <EpubUsageUnit> |
Reference name | <Quantity> |
Short tag | <x320> |
Cardinality | 1 |
Example | <Quantity>10</Quantity> |
Product
⯈ProductSupply
⯈SupplyDetail
⯈Price
⯈Discount
⯈Quantity
Product
⯈ProductSupply
⯈SupplyDetail
⯈Price
⯈PriceConstraint
⯈PriceConstraintLimit
⯈Quantity
Product
⯈ProductSupply
⯈SupplyDetail
⯈Price
⯈PriceCondition
⯈PriceConditionQuantity
⯈Quantity
Product
⯈DescriptiveDetail
⯈EpubUsageConstraint
⯈EpubUsageLimit
⯈Quantity
Product
⯈ContentDetail
⯈ContentItem
⯈EpubUsageConstraint
⯈EpubUsageLimit
⯈Quantity
Product
⯈ContentDetail
⯈ContentItem
⯈TextContent
⯈EpubUsageConstraint
⯈EpubUsageLimit
⯈Quantity
Product
⯈CollateralDetail
⯈TextContent
⯈EpubUsageConstraint
⯈EpubUsageLimit
⯈Quantity
Product
⯈ContentDetail
⯈ContentItem
⯈SupportingResource
⯈ResourceVersion
⯈EpubUsageConstraint
⯈EpubUsageLimit
⯈Quantity
Product
⯈CollateralDetail
⯈SupportingResource
⯈ResourceVersion
⯈EpubUsageConstraint
⯈EpubUsageLimit
⯈Quantity
Product
⯈PromotionDetail
⯈PromotionalEvent
⯈EventOccurrence
⯈SupportingResource
⯈ResourceVersion
⯈EpubUsageConstraint
⯈EpubUsageLimit
⯈Quantity
Product
⯈PromotionDetail
⯈PromotionalEvent
⯈SupportingResource
⯈ResourceVersion
⯈EpubUsageConstraint
⯈EpubUsageLimit
⯈Quantity
- See Also:
-
Field Summary
-
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
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
-
value
This is the raw content of Quantity. Could be null ifexists() == false
. UseOnixElement.value()
instead if you want to get this as anOptional
.Raw Format: Positive real number, with explicit decimal point when required, or zero, as appropriate for the units specified in <EpubUsageUnit>
(type: dt.PositiveDecimalOrZero)
-
EMPTY
-
-
Constructor Details
-
Quantity
public Quantity() -
Quantity
-
-
Method Details
-
__v
Internal API, use theOnixElement.value()
method or theOnixElement.value()
field instead- Specified by:
__v
in interfaceOnixElement<Double>
-
exists
public boolean exists()Description copied from interface:OnixTag
indicates whether this tag exists in the ONIX record -
ifExists
-