- All Implemented Interfaces:
OnixComposite
,OnixComposite.OnixSuperComposite
,OnixTag
,Serializable
Not for sale composite
A repeatable group of data elements which together identify a country or countries in which the product is not for sale, together with the ISBN and/or other product identifier and/or the name of the publisher of the same work in the specified country/ies.
Reference name | <NotForSale> |
Short tag | <notforsale> |
- <
Product
>
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.tectonica.jonix.common.OnixComposite
OnixComposite.OnixDataComposite<V extends JonixStruct>, OnixComposite.OnixDataCompositeUncommon, OnixComposite.OnixDataCompositeWithKey<V extends JonixKeyedStruct<K>,
K extends Enum<K> & OnixCodelist>, OnixComposite.OnixSuperComposite -
Field Summary
Modifier and TypeFieldDescription(type: DateOrDateTime)static final NotForSale
static final String
static final String
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
This is an internal API.ean13()
EAN.UCC-13 number of the equivalent product available in the country/ies specified in <RightsCountry>.boolean
exists()
indicates whether this tag exists in the ONIX recordFor advanced use-cases only.void
ifExists
(Consumer<NotForSale> action) isbn()
10-character ISBN of the equivalent product which is available in the country/ies specified in <RightsCountry>.A repeatable group of data elements which together define the identifier of a product in accordance with a specified scheme, and allowing new types of product identifier to be included without defining additional data elements.The full name of the publisher of the equivalent product which is available in the country/ies specified in <RightsCountry>.One or more ISO standard codes identifying a country.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.
-
Field Details
-
refname
- See Also:
-
shortname
- See Also:
-
textformat
-
textcase
-
language
-
transliteration
-
datestamp
(type: DateOrDateTime) -
sourcetype
-
sourcename
-
EMPTY
-
-
Constructor Details
-
NotForSale
public NotForSale() -
NotForSale
-
-
Method Details
-
_initialize
public void _initialize()Description copied from interface:OnixComposite
This is an internal API. Since Jonix 8.0, composite objects are being populated lazily. This method initiates the population process, and is invoked internally by the accessor APIs of the composites- Specified by:
_initialize
in interfaceOnixComposite
-
exists
public boolean exists()Description copied from interface:OnixTag
indicates whether this tag exists in the ONIX record -
ifExists
-
getXmlElement
Description copied from interface:OnixComposite
For advanced use-cases only.- Specified by:
getXmlElement
in interfaceOnixComposite
- Returns:
- native representation of the XML element underlying to this tag
-
rightsCountrys
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 for which details of another publisher’s product are given. 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> is mandatory in each occurrence of the<NotForSale> composite.
Jonix-Comment: this list is required to contain at least one item -
rightsTerritory
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 for which details of another publisher’s product are given. Optional and non-repeating.
Jonix-Comment: this field is optional -
isbn
10-character ISBN of the equivalent product which is available in the country/ies specified in <RightsCountry>. Optional and non-repeating. The <ProductIdentifier> composite provides a more general method of handling this and other product codes, and is to be preferred. The <ISBN> element is on no account to be used to carry a 13-digit ISBN.
Jonix-Comment: this field is optional -
ean13
EAN.UCC-13 number of the equivalent product available in the country/ies specified in <RightsCountry>. Optional and non-repeating. The <ProductIdentifier> composite provides a more general method of handling this and other product codes, and is to be preferred.
Jonix-Comment: this field is optional -
publisherName
The full name of the publisher of the equivalent product which is available in the country/ies specified in <RightsCountry>. Optional and non-repeating. Except where they are essential to the recognized form of the name, it is recommended that suffixes denoting incorporation (“Co”, “Inc”, “Ltd”, “SA”, “GmbH”) should be omitted.
Jonix-Comment: this field is optional -
productIdentifiers
public ListOfOnixDataCompositeWithKey<ProductIdentifier,JonixProductIdentifier, productIdentifiers()ProductIdentifierTypes> A repeatable group of data elements which together define the identifier of a product in accordance with a specified scheme, and allowing new types of product identifier to be included without defining additional data elements. See notes on the <ProductIdentifier> composite in section PR.2 for details of the handling of ISBN-13.
Jonix-Comment: this list may be empty
-