Module jonix.onix3

Class BatchQuantity

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

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

Batch quantity

The number of copies which must be ordered to obtain the free copies specified in <FreeQuantity>. Mandatory in each occurrence of the <BatchBonus> composite, and non-repeating.

Format Positive integer, suggested maximum length 4 digits
Reference name <BatchQuantity>
Short tag <j264>
Cardinality 1
Example <j264>20</j264>

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

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

      Raw Format: Positive integer, suggested maximum length 4 digits

      (type: dt.PositiveInteger)

    • EMPTY

      public static final BatchQuantity EMPTY
  • Constructor Details

    • BatchQuantity

      public BatchQuantity()
    • BatchQuantity

      public BatchQuantity(Element element)
  • Method Details