Module jonix.onix3

Class NumberOfCopies

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

public class NumberOfCopies extends Object implements OnixElement<Integer>, Serializable

Number of copies (product part)

When product parts are listed as a specified number of copies of a single item, usually identified by a <ProductIdentifier>, <NumberOfCopies> must be used to specify the quantity, even if the number is ‘1’. It must be used when a multiple-item product or pack contains (a) a quantity of a single item; or (b) one of each of several different items (as in a multi-volume set); or (c) one or more of each of several different items (as in a dumpbin carrying copies of two different books, or a classroom pack containing a teacher’s text and twenty student texts). Consequently the element is mandatory, and non-repeating, in an occurrence of the <ProductPart> composite if <NumberOfItemsOfThisForm> is not present. It is normally accompanied by a <ProductIdentifier>; but in exceptional circumstances, if the sender’s system is unable to provide an identifier at this level, it may be sent with product form coding and without an ID.

Format Positive integer, suggested maximum length 4 digits
Reference name <NumberOfCopies>
Short tag <x323>
Cardinality 0…1
Example <x323>24</x323> (24 copies of a single item in eg a classroom pack of textbooks)

This tag may be included in the following composites:

Possible placements within ONIX message:

See Also:
  • Field Details

  • Constructor Details

    • NumberOfCopies

      public NumberOfCopies()
    • NumberOfCopies

      public NumberOfCopies(Element element)
  • Method Details