Module jonix.onix3

Class NoCollection

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

public class NoCollection extends Object implements OnixFlag, Serializable

“No collection” indicator

An empty element that provides a positive indication that a product does not belong to a collection (a ‘set’ or ‘series’). This element is intended to be used in an ONIX accreditation scheme to confirm that collection information is being consistently supplied in publisher ONIX feeds. Optional and non-repeating. Must only be sent in a record that has no instances of the <Collection> composite and has no collection level title elements in Group P.6.

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

This tag may be included in the following composites:

Possible placements within ONIX message:

See Also:
  • Field Details

  • Constructor Details

    • NoCollection

      public NoCollection()
    • NoCollection

      public NoCollection(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 (<NoCollection> or <x411>) is explicitly provided in the ONIX XML
    • ifExists

      public void ifExists(Consumer<NoCollection> action)