- All Implemented Interfaces:
OnixElement<String>
,OnixTag
,Serializable
Market reference
For every market, a single market reference which will uniquely identify the <ProductSupply> composite which describes the market within this Product record, and which will remain as its permanent identifier every time you send an update.
The Market reference is optional and non-repeating, but it is strongly recommended unless there is only a single market. It is intended to be used to label each repeat of <ProductSupply> for use in subsequent partial updates and reporting.
Note that the scope of the Market reference is limited to a single Product record – a geographically identical market for a different product may have a different Market reference, and a geographically different market in another Product record may use the same reference.
Format | Variable length alphanumeric, suggested maximum length 100 characters |
Reference name | <MarketReference> |
Short tag | <x587> |
Cardinality | 0…1 |
Example | <x587>jp.kadokawa.onix.market.アジア太平洋1</x587> (Asia-Pacific 1) |
- Since:
- Onix-3.10
- See Also:
-
Field Summary
Modifier and TypeFieldDescription(type: dt.DateOrDateTime)static final MarketReference
static final String
static final String
(type: dt.NonEmptyString)This is the raw content of MarketReference. -
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
ifExists
(Consumer<MarketReference> action) 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 MarketReference. Could be null ifexists() == false
. UseOnixElement.value()
instead if you want to get this as anOptional
.Raw Format: Variable length alphanumeric, suggested maximum length 100 characters
(type: dt.NonEmptyString)
-
EMPTY
-
-
Constructor Details
-
MarketReference
public MarketReference() -
MarketReference
-
-
Method Details
-
__v
Internal API, use theOnixElement.value()
method or theOnixElement.value()
field instead- Specified by:
__v
in interfaceOnixElement<String>
-
exists
public boolean exists()Description copied from interface:OnixTag
indicates whether this tag exists in the ONIX record -
ifExists
-