java.lang.Object
com.tectonica.jonix.onix2.AvailabilityCode
- All Implemented Interfaces:
OnixElement<AvailabilityStatuss>,OnixTag,Serializable
public class AvailabilityCode
extends Object
implements OnixElement<AvailabilityStatuss>, Serializable
Availability status code
An ONIX code indicating the availability of a product. Each occurrence of the <SupplyDetail> composite must carry either <AvailabilityCode> or <ProductAvailability>, or both, but <ProductAvailability> is now strongly preferred. Non-repeating.
Some code values require other accompanying data. Where the code lists state that one of the following is required or may optionally be sent, use the element indicated below:
- Expected availability date – use <ExpectedShipDate>
- Remainder date – <ExpectedShipDate> is again used
- Estimated time to supply – <OrderTime>
- Identifier of alternative or successor product – <RelatedProduct>, Group PR.23
- New supplier – <NewSupplier>
| Format | Fixed-length, two letters |
| Codelist | List 54 |
| Reference name | <AvailabilityCode> |
| Short tag | <j141> |
| Example | <AvailabilityCode>OP</AvailabilityCode> Out of print |
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescription(type: DateOrDateTime)static final AvailabilityCodestatic final Stringstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription__v()Internal API, use theOnixElement.value()method or theOnixElement.value()field insteadbooleanexists()indicates whether this tag exists in the ONIX recordvoidifExists(Consumer<AvailabilityCode> action) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.tectonica.jonix.common.OnixElement
equal, is, isNull, value
-
Field Details
-
refname
- See Also:
-
shortname
- See Also:
-
textformat
-
textcase
-
language
-
transliteration
-
datestamp
(type: DateOrDateTime) -
sourcetype
-
sourcename
-
value
-
EMPTY
-
-
Constructor Details
-
AvailabilityCode
public AvailabilityCode() -
AvailabilityCode
-
-
Method Details
-
__v
Internal API, use theOnixElement.value()method or theOnixElement.value()field instead- Specified by:
__vin interfaceOnixElement<AvailabilityStatuss>
-
exists
public boolean exists()Description copied from interface:OnixTagindicates whether this tag exists in the ONIX record -
ifExists
-
codeOrNull
-
descriptionOrNull
-