java.lang.Object
com.tectonica.jonix.onix3.OccurrenceDateRole
- All Implemented Interfaces:
OnixElement<EventOccurrenceDateRoles>
,OnixTag
,Serializable
public class OccurrenceDateRole
extends Object
implements OnixElement<EventOccurrenceDateRoles>, Serializable
Occurrence date role
An ONIX code indicating the significance of the date, eg the date of the occurrence, last date of ticket availability etc. Mandatory in each instance of the <OccurrenceDate> composite, and non-repeating.
Format | Fixed length, two digits |
Codelist | List 247 |
Reference name | <OccurrenceDateRole> |
Short tag | <x554> |
Cardinality | 1 |
Example | <x554>01</x554> (Date of occurrence) |
- Since:
- Onix-3.07
- See Also:
-
Field Summary
Modifier and TypeFieldDescription(type: dt.DateOrDateTime)static final OccurrenceDateRole
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<OccurrenceDateRole> 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
-
OccurrenceDateRole
public OccurrenceDateRole() -
OccurrenceDateRole
-
-
Method Details
-
__v
Internal API, use theOnixElement.value()
method or theOnixElement.value()
field instead- Specified by:
__v
in interfaceOnixElement<EventOccurrenceDateRoles>
-
exists
public boolean exists()Description copied from interface:OnixTag
indicates whether this tag exists in the ONIX record -
ifExists
-
codeOrNull
-
descriptionOrNull
-