Module jonix.onix3

Class MarketReference

java.lang.Object
com.tectonica.jonix.onix3.MarketReference
All Implemented Interfaces:
OnixElement<String>, OnixTag, Serializable

public class MarketReference extends Object implements OnixElement<String>, Serializable

Market reference

For every market, a single market reference which will uniquely identify the <ProductSupply> composite which describes the market within this Product record, and which will remain as its permanent identifier every time you send an update.

The Market reference is optional and non-repeating, but it is strongly recommended unless there is only a single market. It is intended to be used to label each repeat of <ProductSupply> for use in subsequent partial updates and reporting.

Note that the scope of the Market reference is limited to a single Product record – a geographically identical market for a different product may have a different Market reference, and a geographically different market in another Product record may use the same reference.

Format Variable length alphanumeric, suggested maximum length 100 characters
Reference name <MarketReference>
Short tag <x587>
Cardinality 0…1
Example <x587>jp.kadokawa.onix.market.アジア太平洋1</x587> (Asia-Pacific 1)

This tag may be included in the following composites:

Possible placements within ONIX message:

Since:
Onix-3.10
See Also:
  • Field Details

    • refname

      public static final String refname
      See Also:
    • shortname

      public static final String shortname
      See Also:
    • datestamp

      public String datestamp
      (type: dt.DateOrDateTime)
    • sourcename

      public String sourcename
      (type: dt.NonEmptyString)
    • sourcetype

      public RecordSourceTypes sourcetype
    • value

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

      Raw Format: Variable length alphanumeric, suggested maximum length 100 characters

      (type: dt.NonEmptyString)

    • EMPTY

      public static final MarketReference EMPTY
  • Constructor Details

    • MarketReference

      public MarketReference()
    • MarketReference

      public MarketReference(Element element)
  • Method Details