Module jonix.onix3

Class DeletionText

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

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

Reason for deletion

Free text which indicates the reason why an ONIX record is being deleted. Optional and repeatable, and may occur only when the <NotificationType> element carries the code value 05. The language attribute is optional for a single instance of <DeletionText>, but must be included in each instance if <DeletionText> is repeated. Note that it refers to the reason why the record is being deleted, not the reason why a product has been ‘deleted’ (in industries which use this terminology when a product is withdrawn).

A product cancellation or abandonment prior to publication, or a product becoming unavailable (eg as a result of being Out of print) are changes of <PublishingStatus> or of <ProductAvailability>, not reasons for deletion.

Format Variable length text, suggested maximum length 100 characters
Reference name <DeletionText>
Short tag <a199>
Cardinality 0…n
Attributes language
Example <a199>Issued in error</a199>

This tag may be included in the following composites:

Possible placements within ONIX message:

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
    • language

      public Languages language
    • value

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

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

      (type: dt.NonEmptyString)

    • EMPTY

      public static final DeletionText EMPTY
  • Constructor Details

    • DeletionText

      public DeletionText()
    • DeletionText

      public DeletionText(Element element)
  • Method Details