java.lang.Object
com.tectonica.jonix.onix2.RegionCode
- All Implemented Interfaces:
OnixElement<Set<String>>
,OnixTag
,Serializable
Region code
An ONIX code identifying a region with which a contributor is particularly associated, when this is significant for the marketing of a product. Optional and repeatable.
Format | Variable-length code, consisting of upper case letters with or without a hyphen, successive codes being separated by spaces. 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. |
Reference name | <RegionCode> |
Short tag | <b398> |
Example | <b398>CA-BC</b398> British Columbia |
- Since:
- Onix-2.12
- See Also:
-
Field Summary
Modifier and TypeFieldDescription(type: DateOrDateTime)static final RegionCode
static final String
static final String
This is the raw content of RegionCode. -
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<RegionCode> 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 RegionCode. Could be null ifexists() == false
. UseOnixElement.value()
instead if you want to get this as anOptional
.Raw Format: Variable-length code, consisting of upper case letters with or without a hyphen, successive codes being separated by spaces. Suggested maximum length 8 characters.
(type: NonEmptyString)
-
EMPTY
-
-
Constructor Details
-
RegionCode
public RegionCode() -
RegionCode
-
-
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
-