Module jonix.onix3

Class NoProduct

java.lang.Object
com.tectonica.jonix.onix3.NoProduct
All Implemented Interfaces:
OnixFlag, OnixTag, Serializable

public class NoProduct extends Object implements OnixFlag, Serializable

“No product” indicator

An empty element that provides a positive indication that a message does not carry any Product records. Intended to be used only in empty ‘delta’ update messages to provide confirmation that there have been no updates since the previous message. Optional and non-repeating, but must be used in an ONIX message that contains no <Product> composites.

Format XML empty element
Reference name <NoProduct>
Short tag <x507>
Cardinality 0…1
Example <x507/>

This tag may be included in the following composites:

Possible placements within ONIX message:

Since:
Onix-3.02
See Also:
  • Field Details

  • Constructor Details

    • NoProduct

      public NoProduct()
    • NoProduct

      public NoProduct(Element element)
  • Method Details

    • exists

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

      public void ifExists(Consumer<NoProduct> action)