- All Implemented Interfaces:
OnixComposite
,OnixComposite.OnixSuperComposite
,OnixTag
,Serializable
Price condition composite
An optional group of data elements which together specify a condition relating to a price, repeatable in order to specify multiple conditions.
Reference name | <PriceCondition> |
Short tag | <pricecondition> |
Cardinality | 0…n |
- <
Price
>
- 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 PriceCondition
static final String
static final String
(type: dt.NonEmptyString) -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
This is an internal API.boolean
exists()
indicates whether this tag exists in the ONIX recordFor advanced use-cases only.void
ifExists
(Consumer<PriceCondition> action) ListOfOnixDataCompositeWithKey<PriceConditionQuantity,
JonixPriceConditionQuantity, PriceConditionQuantityTypes> 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.An ONIX code identifying a type of price condition.A group of data elements which together define an identifier of a product in accordance with a specified scheme.
-
Field Details
-
refname
- See Also:
-
shortname
- See Also:
-
datestamp
(type: dt.DateOrDateTime) -
sourcename
(type: dt.NonEmptyString) -
sourcetype
-
EMPTY
-
-
Constructor Details
-
PriceCondition
public PriceCondition() -
PriceCondition
-
-
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
-
priceConditionType
An ONIX code identifying a type of price condition. Mandatory in each occurrence of the <PriceCondition> composite, and non-repeating.
Jonix-Comment: this field is required -
priceConditionQuantitys
public ListOfOnixDataCompositeWithKey<PriceConditionQuantity,JonixPriceConditionQuantity, priceConditionQuantitys()PriceConditionQuantityTypes> 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.
Jonix-Comment: this list may be empty -
productIdentifiers
public ListOfOnixDataCompositeWithKey<ProductIdentifier,JonixProductIdentifier, productIdentifiers()ProductIdentifierTypes> A group of data elements which together define an identifier of a product in accordance with a specified scheme. Optional, and used here if and only if <PriceConditionType> has a value that requires specification of a linked product upon which the price is dependent. Repeatable with different identifiers for the same product.
Jonix-Comment: this list may be empty
-