java.lang.Object
com.tectonica.jonix.onix3.PriceConditionQuantity
- All Implemented Interfaces:
OnixComposite
,OnixComposite.OnixDataComposite<JonixPriceConditionQuantity>
,OnixComposite.OnixDataCompositeWithKey<JonixPriceConditionQuantity,
,PriceConditionQuantityTypes> OnixTag
,Serializable
public class PriceConditionQuantity
extends Object
implements OnixComposite.OnixDataCompositeWithKey<JonixPriceConditionQuantity,PriceConditionQuantityTypes>, Serializable
Price condition quantity composite
An optional and repeatable group of data elements which together specify a price condition quantity, for example a minimum number of copies, or a period of time for which updates are supplied or must be purchased.
Reference name | <PriceConditionQuantity> |
Short tag | <priceconditionquantity> |
Cardinality | 0…n |
- 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 PriceConditionQuantity
static final String
static final String
(type: dt.NonEmptyString) -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
This is an internal API.asStruct()
boolean
exists()
indicates whether this tag exists in the ONIX recordFor advanced use-cases only.void
ifExists
(Consumer<PriceConditionQuantity> action) An ONIX code identifying a type of price condition quantity.quantity()
A quantity associated with a price condition.An ONIX code value specifying the unit in which a price condition quantity is stated.
-
Field Details
-
refname
- See Also:
-
shortname
- See Also:
-
datestamp
(type: dt.DateOrDateTime) -
sourcename
(type: dt.NonEmptyString) -
sourcetype
-
EMPTY
-
-
Constructor Details
-
PriceConditionQuantity
public PriceConditionQuantity() -
PriceConditionQuantity
-
-
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
-
priceConditionQuantityType
An ONIX code identifying a type of price condition quantity. Mandatory in each occurrence of the <PriceConditionQuantity> composite, and non-repeating.
Jonix-Comment: this field is required -
quantity
A quantity associated with a price condition. Mandatory in each occurrence of the <PriceConditionQuantity> composite, and non-repeating.
Jonix-Comment: this field is required -
quantityUnit
An ONIX code value specifying the unit in which a price condition quantity is stated. Mandatory in each occurrence of the <PriceConditionQuantity> composite, and non-repeating.
Jonix-Comment: this field is required -
asStruct
- Specified by:
asStruct
in interfaceOnixComposite.OnixDataComposite<JonixPriceConditionQuantity>
-
structKey
- Specified by:
structKey
in interfaceOnixComposite.OnixDataCompositeWithKey<JonixPriceConditionQuantity,
PriceConditionQuantityTypes>
-