java.lang.Object
com.tectonica.jonix.onix3.EventDate
- All Implemented Interfaces:
OnixElement<String>
,OnixTag
,Serializable
Event date
The date of an event to which the product is related. Optional and non-repeating.
Format | As specified by the value in the dateformat attribute, or the default of YYYY if the attribute is missing. Note that the dateformat attribute allows exact dates to be supplied if necessary, including the cases where an event spreads over a range of dates or the date can only be supplied as a text string |
Reference name | <EventDate> |
Short tag | <x520> |
Cardinality | 0…1 |
Attributes | dateformat |
Example | <EventDate dateformat="06">2015113020151215</EventDate> (30 November-15 December 2015) |
- <
Event
>
- Since:
- Onix-3.03
- See Also:
-
Field Summary
-
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
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
-
dateformat
-
value
This is the raw content of EventDate. Could be null ifexists() == false
. UseOnixElement.value()
instead if you want to get this as anOptional
.Raw Format: As specified by the value in the dateformat attribute, or the default of YYYY if the attribute is missing. Note that the dateformat attribute allows exact dates to be supplied if necessary, including the cases where an event spreads over a range of dates or the date can only be supplied as a text string
(type: dt.NonEmptyString)
-
EMPTY
-
-
Constructor Details
-
EventDate
public EventDate() -
EventDate
-
-
Method Details
-
__v
Internal API, use theOnixElement.value()
method or theOnixElement.value()
field instead- Specified by:
__v
in interfaceOnixElement<String>
-
exists
public boolean exists()Description copied from interface:OnixTag
indicates whether this tag exists in the ONIX record -
ifExists
-