java.lang.Object
com.tectonica.jonix.onix2.MediaFileTypeCode
- All Implemented Interfaces:
OnixElement<ImageAudioVideoFileTypes>
,OnixTag
,Serializable
public class MediaFileTypeCode
extends Object
implements OnixElement<ImageAudioVideoFileTypes>, Serializable
Image/audio/video file type code
An ONIX code which identifies the type of image/audio/video file which is linked by the <MediaFileLink> element. Mandatory in each occurrence of the <MediaFile> composite, and non-repeating.
Format | Fixed-length, two characters (initially allocated as 01, 02 etc) |
Codelist | List 38 |
Reference name | <MediaFileTypeCode> |
Short tag | <f114> |
Example | <MediaFileTypeCode>17</MediaFileTypeCode> Publisher's logo |
- See Also:
-
Field Summary
Modifier and TypeFieldDescription(type: DateOrDateTime)static final MediaFileTypeCode
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<MediaFileTypeCode> 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
-
MediaFileTypeCode
public MediaFileTypeCode() -
MediaFileTypeCode
-
-
Method Details
-
__v
Internal API, use theOnixElement.value()
method or theOnixElement.value()
field instead- Specified by:
__v
in interfaceOnixElement<ImageAudioVideoFileTypes>
-
exists
public boolean exists()Description copied from interface:OnixTag
indicates whether this tag exists in the ONIX record -
ifExists
-
codeOrNull
-
descriptionOrNull
-