- All Implemented Interfaces:
OnixComposite
,OnixComposite.OnixSuperComposite
,OnixTag
,Serializable
Market representation composite
A group of data elements which together specify a territorial market and the identity of a sales agent or local publisher responsible for marketing the product therein. Optional and repeatable.
Reference name | <MarketRepresentation> |
Short tag | <marketrepresentation> |
- <
Product
>
- Since:
- Onix-2.12
- 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 MarketRepresentation
static final String
static final String
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
This is an internal API.A group of data elements together defining the identifier of an agent or local publisher in accordance with a specified scheme.The name of an agent or local publisher.An ONIX code identifying the role of an agent in relation to the product in the specified market, eg Exclusive sales agent, Local publisher, etc.An email address for an agent or local publisher.boolean
exists()
indicates whether this tag exists in the ONIX recordA fax number of an agent or local publisher.For advanced use-cases only.void
ifExists
(Consumer<MarketRepresentation> action) One or more ISO standard codes identifying a country in which the agent or local publisher markets the product.One or more ISO standard codes identifying a country which is excluded from a territory specified in <MarketTerritory>.A repeatable group of data elements which together specify a date associated with the publishing status of the product in the market identified in an occurrence of the <MarketRepresentation> composite, eg local publication date.An ONIX code which identifies the status of a published product in the market defined in an occurrence of the <MarketRepresentation> composite.A free text field describing a non-geographical restriction of the market covered by a sales agent or local publisher.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.A telephone number of an agent or local publisher.websites()
An optional and repeatable group of data elements which together identify and provide pointers to a website which is related to the agent or local publisher identified in an occurrence of the <MarketRepresentation> composite.
-
Field Details
-
refname
- See Also:
-
shortname
- See Also:
-
textformat
-
textcase
-
language
-
transliteration
-
datestamp
(type: DateOrDateTime) -
sourcetype
-
sourcename
-
EMPTY
-
-
Constructor Details
-
MarketRepresentation
public MarketRepresentation() -
MarketRepresentation
-
-
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
-
marketTerritory
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 are separated by spaces. Thus the element can carry an unlimited number of territory codes. Optional, but each occurrence of the <MarketRepresentation> composite must carry either an occurrence of <MarketCountry> or an occurrence of <MarketTerritory>, to specify the market concerned. Non-repeating.
Jonix-Comment: this field is required -
agentIdentifiers
public ListOfOnixDataCompositeWithKey<AgentIdentifier,JonixAgentIdentifier, agentIdentifiers()SupplierIdentifierTypes> A group of data elements together defining the identifier of an agent or local publisher in accordance with a specified scheme. Optional, but each occurrence of the <MarketRepresentation> composite must carry either at least one agent identifier, or an <AgentName>. Repeatable only if two or more identifiers are sent using different schemes.
Jonix-Comment: this list is required to contain at least one item -
agentName
The name of an agent or local publisher. Optional and non-repeating; required if no agent identifier is sent in an occurrence of the <MarketRepresentation> composite.
Jonix-Comment: this field is optional -
agentRole
An ONIX code identifying the role of an agent in relation to the product in the specified market, eg Exclusive sales agent, Local publisher, etc. Optional and non-repeating.
Jonix-Comment: this field is optional -
marketCountry
One or more ISO standard codes identifying a country in which the agent or local publisher markets the product. Successive codes are separated by spaces. Thus, a single occurrence of the element can carry an unlimited number of country codes. Optional, but each occurrence of the <MarketRepresentation> composite must carry either an occurrence of <MarketCountry> or an occurrence of <MarketTerritory>, to specify the market concerned. Non-repeating.
Jonix-Comment: this field is optional -
marketCountryExcluded
One or more ISO standard codes identifying a country which is excluded from a territory specified in <MarketTerritory>. Successive codes are separated by spaces. Thus, a single occurrence of the element can carry an unlimited number of country codes. Optional and non-repeating.
Jonix-Comment: this field is optional -
marketRestrictionDetail
A free text field describing a non-geographical restriction of the market covered by a sales agent or local publisher. Optional and non-repeating.
Jonix-Comment: this field is optional -
marketPublishingStatus
An ONIX code which identifies the status of a published product in the market defined in an occurrence of the <MarketRepresentation> composite. Optional and non-repeating.
Jonix-Comment: this field is optional -
telephoneNumbers
A telephone number of an agent or local publisher. Optional and repeatable.
Jonix-Comment: this list may be empty -
faxNumbers
A fax number of an agent or local publisher. Optional and repeatable.
Jonix-Comment: this list may be empty -
emailAddresss
An email address for an agent or local publisher. Optional and repeatable.
Jonix-Comment: this list may be empty -
websites
An optional and repeatable group of data elements which together identify and provide pointers to a website which is related to the agent or local publisher identified in an occurrence of the <MarketRepresentation> composite.
Jonix-Comment: this list may be empty -
marketDates
A repeatable group of data elements which together specify a date associated with the publishing status of the product in the market identified in an occurrence of the <MarketRepresentation> composite, eg local publication date.
Jonix-Comment: this list may be empty
-