java.lang.Object
com.tectonica.jonix.onix3.Percent
- All Implemented Interfaces:
OnixElement<Double>
,OnixTag
,Serializable
Percentage
The percentage of the unit value of the product that is assignable to a designated product classification. Optional and non-repeating. Used when a mixed product (eg book and CD) belongs partly to two or more product classes within a particular scheme. If omitted, the product classification code applies to 100% of the product.
Format | Real number between zero and 100 (inclusive), with explicit decimal point when required, suggested maximum length 7 characters |
Reference name | <Percent> |
Short tag | <b337> |
Cardinality | 0…1 |
Example | <Percent>66.67</Percent> |
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription__v()
Internal API, use theOnixElement.value()
method or theOnixElement.value()
field insteadboolean
exists()
indicates whether this tag exists in the ONIX recordvoid
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.tectonica.jonix.common.OnixElement
equal, is, isNull, value
-
Field Details
-
refname
- See Also:
-
shortname
- See Also:
-
datestamp
(type: dt.DateOrDateTime) -
sourcename
(type: dt.NonEmptyString) -
sourcetype
-
value
This is the raw content of Percent. Could be null ifexists() == false
. UseOnixElement.value()
instead if you want to get this as anOptional
.Raw Format: Real number between zero and 100 (inclusive), with explicit decimal point when required, suggested maximum length 7 characters
(type: dt.PercentDecimal)
-
EMPTY
-
-
Constructor Details
-
Percent
public Percent() -
Percent
-
-
Method Details
-
__v
Internal API, use theOnixElement.value()
method or theOnixElement.value()
field instead- Specified by:
__v
in interfaceOnixElement<Double>
-
exists
public boolean exists()Description copied from interface:OnixTag
indicates whether this tag exists in the ONIX record -
ifExists
-