java.lang.Object
com.tectonica.jonix.onix2.RightsTerritory
- All Implemented Interfaces:
OnixElement<Set<Regions>>
,OnixTag
,Serializable
Rights 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 National Territory. Successive codes are separated by spaces, so that the element can carry an unlimited number of territory codes, for territories that share the sales rights specified in <SalesRightsType>. 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 | <RightsTerritory> |
Short tag | <b388> |
Example | <RightsTerritory>WORLD</RightsTerritory> Whole world |
<b388>GB-EWS</b388> UK excluding Northern Ireland |
- Since:
- Onix-2.1
- See Also:
-
Field Summary
Modifier and TypeFieldDescription(type: DateOrDateTime)static final RightsTerritory
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<RightsTerritory> 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
-
RightsTerritory
public RightsTerritory() -
RightsTerritory
-
-
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
-