java.lang.Object
com.tectonica.jonix.onix2.ProductContentType
- All Implemented Interfaces:
OnixElement<ProductContentTypes>
,OnixTag
,Serializable
public class ProductContentType
extends Object
implements OnixElement<ProductContentTypes>, Serializable
Product content type code
An ONIX code which indicates certain types of content which are closely related to but not strictly an attribute of product form, eg audiobook. Optional and repeatable. The element is intended to be used with products where content is delivered in the form of a digital or analogue recording. It is not expected to be used for books.
Format | Fixed-length, two numeric digits. |
Codelist | List 81 |
Reference name | <ProductContentType> |
Short tag | <b385> |
Example | <b385>01</b385> Audiobook |
- Since:
- Onix-2.1
- See Also:
-
Field Summary
Modifier and TypeFieldDescription(type: DateOrDateTime)static final ProductContentType
static final String
static final String
-
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
ifExists
(Consumer<ProductContentType> action) 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:
-
textformat
-
textcase
-
language
-
transliteration
-
datestamp
(type: DateOrDateTime) -
sourcetype
-
sourcename
-
value
-
EMPTY
-
-
Constructor Details
-
ProductContentType
public ProductContentType() -
ProductContentType
-
-
Method Details
-
__v
Internal API, use theOnixElement.value()
method or theOnixElement.value()
field instead- Specified by:
__v
in interfaceOnixElement<ProductContentTypes>
-
exists
public boolean exists()Description copied from interface:OnixTag
indicates whether this tag exists in the ONIX record -
ifExists
-
codeOrNull
-
descriptionOrNull
-