java.lang.Object
com.tectonica.jonix.onix2.SupplyToTerritory
- All Implemented Interfaces:
OnixElement<Set<Regions>>
,OnixTag
,Serializable
Supply-to territory
One or more ONIX codes identifying a territory which is not a country, but which is precisely defined in geographical terms, eg World, Northern Ireland, Australian Capital Territory. Successive codes may be separated by spaces. Thus the element can carry an unlimited number of territory codes, for territories for which the supplier has distribution rights. Optional and non-repeating.
Format | One or more variable-length codes, each consisting of upper case letters with or without a hyphen, successive codes being separated by spaces. Suggested maximum length 100 characters. |
Codelist | List 49 Where possible and appropriate, country subdivision codes are derived from the UN LOCODE scheme based on ISO 3166. |
Reference name | <SupplyToTerritory> |
Short tag | <j397> |
Example | <j397>WORLD</j397> Whole world |
<SupplyToTerritory>GB-EWS</SupplyToTerritory> UK excluding Northern Ireland |
- Since:
- Onix-2.1
- See Also:
-
Field Summary
Modifier and TypeFieldDescription(type: DateOrDateTime)static final SupplyToTerritory
static final String
static final String
-
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<SupplyToTerritory> 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
-
EMPTY
-
-
Constructor Details
-
SupplyToTerritory
public SupplyToTerritory() -
SupplyToTerritory
-
-
Method Details
-
__v
Internal API, use theOnixElement.value()
method or theOnixElement.value()
field instead- Specified by:
__v
in interfaceOnixElement<Set<Regions>>
-
exists
public boolean exists()Description copied from interface:OnixTag
indicates whether this tag exists in the ONIX record -
ifExists
-