java.lang.Object
com.tectonica.jonix.onix3.PrizeRegion
- All Implemented Interfaces:
OnixElement<Regions>
,OnixTag
,Serializable
Prize or award region
An ONIX code identifying the region in which a prize or award is given. Optional and non-repeatable. A region is an area which is not a country, but which is precisely defined in geographical terms, eg Newfoundland and Labrador, Florida. If both country and region are specified, the region must be within the country. Note that US States have region codes, while US overseas territories have distinct ISO Country Codes.
Format | Variable length code, consisting of upper case letters, with or without a hyphen and further upper case letters or digits. Suggested maximum length 8 characters |
Codelist | List 49 Where possible and appropriate, country subdivision codes are derived from the UN LOCODE scheme based on ISO 3166-2 |
Reference name | <PrizeRegion> |
Short tag | <x556> |
Cardinality | 0…1 |
Example | <PrizeRegion>GB-WLS</PrizeRegion> (Wales) |
- <
Prize
>
Product
⯈CollateralDetail
⯈Prize
⯈PrizeRegion
Product
⯈DescriptiveDetail
⯈Contributor
⯈Prize
⯈PrizeRegion
Product
⯈ContentDetail
⯈ContentItem
⯈Contributor
⯈Prize
⯈PrizeRegion
Product
⯈PromotionDetail
⯈PromotionalEvent
⯈Contributor
⯈Prize
⯈PrizeRegion
Product
⯈DescriptiveDetail
⯈Collection
⯈Contributor
⯈Prize
⯈PrizeRegion
- Since:
- Onix-3.07
- See Also:
-
Field Summary
Modifier and TypeFieldDescription(type: dt.DateOrDateTime)static final PrizeRegion
static final String
static final String
(type: dt.NonEmptyString) -
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<PrizeRegion> 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
-
EMPTY
-
-
Constructor Details
-
PrizeRegion
public PrizeRegion() -
PrizeRegion
-
-
Method Details
-
__v
Internal API, use theOnixElement.value()
method or theOnixElement.value()
field instead- Specified by:
__v
in interfaceOnixElement<Regions>
-
exists
public boolean exists()Description copied from interface:OnixTag
indicates whether this tag exists in the ONIX record -
ifExists
-
codeOrNull
-
descriptionOrNull
-