Module jonix.onix2

Class ReplacesISBN

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

@Deprecated public class ReplacesISBN extends Object implements OnixElement<String>, Serializable
Deprecated.

Replaces ISBN-10

10-character International Standard Book Number of a former product which the current product replaces. Optional and non-repeating. Note, however, that the <RelatedProduct> composite in Group PR.23 provides a more general method of handling this type of link. This is now the preferred ONIX approach. The <ReplacesISBN> element is retained only for upwards compatibility. This element is on no account to be used to carry a 13-digit ISBN.

Format Fixed-length, 10 characters, all numeric except last character, which may be letter X.
Reference name <ReplacesISBN>
Short tag <b010>
Example <b010>8474339790</b010>

This tag may be included in the following composites:

Possible placements within ONIX message:

See Also:
  • Field Details

    • refname

      public static final String refname
      Deprecated.
      See Also:
    • shortname

      public static final String shortname
      Deprecated.
      See Also:
    • textformat

      public TextFormats textformat
      Deprecated.
    • textcase

      public TextCaseFlags textcase
      Deprecated.
    • language

      public Languages language
      Deprecated.
    • transliteration

      public TransliterationSchemes transliteration
      Deprecated.
    • datestamp

      public String datestamp
      Deprecated.
      (type: DateOrDateTime)
    • sourcetype

      public RecordSourceTypes sourcetype
      Deprecated.
    • sourcename

      public String sourcename
      Deprecated.
    • value

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

      Raw Format: Fixed-length, 10 characters, all numeric except last character, which may be letter X.

      (type: NonEmptyString)

    • EMPTY

      public static final ReplacesISBN EMPTY
      Deprecated.
  • Constructor Details

    • ReplacesISBN

      public ReplacesISBN()
      Deprecated.
    • ReplacesISBN

      public ReplacesISBN(Element element)
      Deprecated.
  • Method Details

    • __v

      public String __v()
      Deprecated.
      Internal API, use the OnixElement.value() method or the OnixElement.value() field instead
      Specified by:
      __v in interface OnixElement<String>
    • 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 (<ReplacesISBN> or <b010>) is explicitly provided in the ONIX XML
    • ifExists

      public void ifExists(Consumer<ReplacesISBN> action)
      Deprecated.