java.lang.Object
com.tectonica.jonix.onix2.RightsCountry
- All Implemented Interfaces:
OnixElement<Set<Countrys>>
,OnixTag
,Serializable
Rights country
One or more ISO standard codes identifying a country. Successive codes may be separated by spaces. Thus, a single occurrence of the element can carry an unlimited number of country codes, for countries that share the sales rights specified in <SalesRightsType>. For upwards compatibility, the element remains repeatable, so that multiple countries can also be listed as multiple occurrences of the whole element. At least one occurrence of <RightsCountry> or <RightsTerritory> or <RightsRegion> is mandatory in any occurrence of the<SalesRights> composite.
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 | <RightsCountry> |
Short tag | <b090> |
Example | <b090>US CA</b090> USA and Canada |
- See Also:
-
Field Summary
Modifier and TypeFieldDescription(type: DateOrDateTime)static final RightsCountry
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<RightsCountry> 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
-
RightsCountry
public RightsCountry() -
RightsCountry
-
-
Method Details
-
__v
Internal API, use theOnixElement.value()
method or theOnixElement.value()
field instead- Specified by:
__v
in interfaceOnixElement<Set<Countrys>>
-
exists
public boolean exists()Description copied from interface:OnixTag
indicates whether this tag exists in the ONIX record -
ifExists
-