Module jonix.onix2

Class MarketCountry

java.lang.Object
com.tectonica.jonix.onix2.MarketCountry
All Implemented Interfaces:
OnixElement<Set<String>>, OnixTag, Serializable

public class MarketCountry extends Object implements OnixElement<Set<String>>, Serializable

Market country

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.

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 <MarketCountry>
Short tag <j403>
Example <j403>US CA</j403> USA and Canada

This tag may be included in the following composites:

Possible placements within ONIX message:

Since:
Onix-2.12
See Also:
  • Field Details

    • refname

      public static final String refname
      See Also:
    • shortname

      public static final String shortname
      See Also:
    • textformat

      public TextFormats textformat
    • textcase

      public TextCaseFlags textcase
    • language

      public Languages language
    • transliteration

      public TransliterationSchemes transliteration
    • datestamp

      public String datestamp
      (type: DateOrDateTime)
    • sourcetype

      public RecordSourceTypes sourcetype
    • sourcename

      public String sourcename
    • value

      public Set<String> value
      This is the raw content of MarketCountry. Could be null if exists() == false. Use OnixElement.value() instead if you want to get this as an Optional.

      Raw 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.]

      (type: NonEmptyString)

    • EMPTY

      public static final MarketCountry EMPTY
  • Constructor Details

    • MarketCountry

      public MarketCountry()
    • MarketCountry

      public MarketCountry(Element element)
  • Method Details