Module jonix.onix3

Class Rate

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

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

Velocity rate

The stock depletion rate (as a number of copies, rounded to the nearest integer), measured according to the metric in <VelocityMetric>.

Format Positive or negative integer or zero, suggested maximum length 7 digits. Negative numbers indicate returns exceed the fulfillment rate
Reference name <Rate>
Short tag <x505>
Cardinality 1
Example <Rate>315</Rate>

This tag may be included in the following composites:

Possible placements within ONIX message:

Since:
Onix-3.02
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 Rate. Could be null if exists() == false. Use OnixElement.value() instead if you want to get this as an Optional.

      Raw Format: Positive or negative integer or zero, suggested maximum length 7 digits. Negative numbers indicate returns exceed the fulfillment rate

      (type: dt.Integer)

    • EMPTY

      public static final Rate EMPTY
  • Constructor Details

    • Rate

      public Rate()
    • Rate

      public Rate(Element element)
  • Method Details