Module jonix.onix3

Class DefaultLanguageOfText

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

@Deprecated public class DefaultLanguageOfText extends Object implements OnixElement<Languages>, Serializable
Deprecated.

Default language of text

An ONIX code indicating the default language which is assumed for the text content of products listed in the message, unless the language is explicitly stated by sending a ‘language of text’ in Group P.10 of each Product record. Optional and non-repeating. To avoid any possible ambiguity, use of this default is deprecated, but any default supplied will be assumed for all Product records which do not specify the language of the text explicitly in Group P.10. It is strongly recommended that the language of the text should be specified in the <Language> composite for each product.

Format Fixed length, three lower-case letters, based on ISO 639-2/B. Note that ISO 639 specifies that these codes should always be in lower-case
Codelist List 74
Reference name <DefaultLanguageOfText>
Short tag <m184>
Cardinality 0…1
Example <m184>eng</m184>

This tag may be included in the following composites:

Possible placements within ONIX message:

See Also:
  • Field Details

  • Constructor Details

    • DefaultLanguageOfText

      public DefaultLanguageOfText()
      Deprecated.
    • DefaultLanguageOfText

      public DefaultLanguageOfText(Element element)
      Deprecated.
  • Method Details

    • __v

      public Languages __v()
      Deprecated.
      Internal API, use the OnixElement.value() method or the OnixElement.value() field instead
      Specified by:
      __v in interface OnixElement<Languages>
    • exists

      public boolean exists()
      Deprecated.
      Description copied from interface: OnixTag
      indicates whether this tag exists in the ONIX record
      Specified by:
      exists in interface OnixTag
      Returns:
      whether this tag (<DefaultLanguageOfText> or <m184>) is explicitly provided in the ONIX XML
    • ifExists

      public void ifExists(Consumer<DefaultLanguageOfText> action)
      Deprecated.
    • codeOrNull

      public String codeOrNull()
      Deprecated.
    • descriptionOrNull

      public String descriptionOrNull()
      Deprecated.