java.lang.Object
com.tectonica.jonix.onix3.ResourceContentType
- All Implemented Interfaces:
OnixElement<ResourceContentTypes>
,OnixTag
,Serializable
public class ResourceContentType
extends Object
implements OnixElement<ResourceContentTypes>, Serializable
Resource content type code
An ONIX code indicating the type of content carried in a supporting resource. Mandatory in each occurrence of the <SupportingResource> composite, and non-repeating.
Format | Fixed length, two digits |
Codelist | List 158 |
Reference name | <ResourceContentType> |
Short tag | <x436> |
Cardinality | 1 |
Example | <ResourceContentType>01</ResourceContentType> (Front cover) |
Product
⯈ContentDetail
⯈ContentItem
⯈SupportingResource
⯈ResourceContentType
Product
⯈CollateralDetail
⯈SupportingResource
⯈ResourceContentType
Product
⯈PromotionDetail
⯈PromotionalEvent
⯈EventOccurrence
⯈SupportingResource
⯈ResourceContentType
Product
⯈PromotionDetail
⯈PromotionalEvent
⯈SupportingResource
⯈ResourceContentType
- See Also:
-
Field Summary
Modifier and TypeFieldDescription(type: dt.DateOrDateTime)static final ResourceContentType
static final String
static final String
(type: dt.NonEmptyString) -
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<ResourceContentType> 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:
-
datestamp
(type: dt.DateOrDateTime) -
sourcename
(type: dt.NonEmptyString) -
sourcetype
-
value
-
EMPTY
-
-
Constructor Details
-
ResourceContentType
public ResourceContentType() -
ResourceContentType
-
-
Method Details
-
__v
Internal API, use theOnixElement.value()
method or theOnixElement.value()
field instead- Specified by:
__v
in interfaceOnixElement<ResourceContentTypes>
-
exists
public boolean exists()Description copied from interface:OnixTag
indicates whether this tag exists in the ONIX record -
ifExists
-
codeOrNull
-
descriptionOrNull
-