java.lang.Object
com.tectonica.jonix.onix3.CopyrightYear
- All Implemented Interfaces:
OnixElement<String>
,OnixTag
,Serializable
Copyright year
The copyright year as it appears in a copyright statement on the product. Optional in each occurrence of the <CopyrightStatement> composite but may be omitted only if <CopyrightOwner> is present, and repeatable if several years or periods are listed.
Format | As specified by the value in the dateformat attribute, or the default of YYYY if the attribute is missing) |
Reference name | <CopyrightYear> |
Short tag | <b087> |
Cardinality | 0…n |
Attributes | dateformat |
Example | <b087 dateformat="11">20032008</b087> (2003-2008) |
- See Also:
-
Field Summary
Modifier and TypeFieldDescription(type: dt.DateOrDateTime)static final CopyrightYear
static final String
static final String
(type: dt.NonEmptyString)This is the raw content of CopyrightYear. -
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<CopyrightYear> 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
-
dateformat
-
value
This is the raw content of CopyrightYear. 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)
(type: dt.NonEmptyString)
-
EMPTY
-
-
Constructor Details
-
CopyrightYear
public CopyrightYear() -
CopyrightYear
-
-
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
-