java.lang.Object
com.tectonica.jonix.onix2.MarketCountry
- All Implemented Interfaces:
OnixElement<Set<String>>
,OnixTag
,Serializable
Market country
One or more ISO standard codes identifying a country in which the agent or local publisher markets the product. Successive codes are separated by spaces. Thus, a single occurrence of the element can carry an unlimited number of country codes. Optional, but each occurrence of the <MarketRepresentation> composite must carry either an occurrence of <MarketCountry> or an occurrence of <MarketTerritory>, to specify the market concerned. Non-repeating.
Format | One or more fixed-length codes, each with two upper case letters, successive codes being separated by spaces. Suggested maximum length 600 characters. [Note that ISO 3166-1 specifies that country codes shall be sent as upper case only.] |
Codelist | ISO 3166-1 two-letter country codes - List 91 |
Reference name | <MarketCountry> |
Short tag | <j403> |
Example | <j403>US CA</j403> USA and Canada |
- Since:
- Onix-2.12
- See Also:
-
Field Summary
Modifier and TypeFieldDescription(type: DateOrDateTime)static final MarketCountry
static final String
static final String
This is the raw content of MarketCountry. -
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<MarketCountry> 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:
-
textformat
-
textcase
-
language
-
transliteration
-
datestamp
(type: DateOrDateTime) -
sourcetype
-
sourcename
-
value
This is the raw content of MarketCountry. Could be null ifexists() == false
. UseOnixElement.value()
instead if you want to get this as anOptional
.Raw Format: One or more fixed-length codes, each with two upper case letters, successive codes being separated by spaces. Suggested maximum length 600 characters. [Note that ISO 3166-1 specifies that country codes shall be sent as upper case only.]
(type: NonEmptyString)
-
EMPTY
-
-
Constructor Details
-
MarketCountry
public MarketCountry() -
MarketCountry
-
-
Method Details
-
__v
Internal API, use theOnixElement.value()
method or theOnixElement.value()
field instead- Specified by:
__v
in interfaceOnixElement<Set<String>>
-
exists
public boolean exists()Description copied from interface:OnixTag
indicates whether this tag exists in the ONIX record -
ifExists
-