@TitleProperty(name="date") public class DefaultCitationDate extends ISOMetadata implements CitationDate
CI_Date
├─date……………… Reference date for the cited resource.
└─dateType…… Event used for reference date.Limitations:
XML instead.Defined in the sis-metadata module
identifiers| Constructor and Description |
|---|
DefaultCitationDate()
Constructs an initially empty citation date.
|
DefaultCitationDate(CitationDate object)
Constructs a new instance initialized with the values from the specified metadata object.
|
DefaultCitationDate(Date date,
DateType dateType)
Constructs a citation date initialized to the given date.
|
| Modifier and Type | Method and Description |
|---|---|
static DefaultCitationDate |
castOrCopy(CitationDate object)
Returns a SIS metadata implementation with the values of the given arbitrary implementation.
|
Date |
getDate()
Returns the reference date for the cited resource.
|
DateType |
getDateType()
Returns the event used for reference date.
|
void |
setDate(Date newValue)
Sets the reference date for the cited resource.
|
void |
setDateType(DateType newValue)
Sets the event used for reference date.
|
freeze, getIdentifierMap, getIdentifiers, getStandardcheckWritePermission, clone, collectionType, copyCollection, copyList, copySet, isModifiable, nonNullCollection, nonNullList, nonNullSet, singleton, unmodifiable, writeCollection, writeList, writeSetasMap, asTreeTable, equals, equals, getInterface, hashCode, isEmpty, prune, toStringpublic DefaultCitationDate()
public DefaultCitationDate(Date date, DateType dateType)
date - the reference date for the cited resource.dateType - the event used for reference date.public DefaultCitationDate(CitationDate object)
object - the metadata to copy values from, or null if none.castOrCopy(CitationDate)public static DefaultCitationDate castOrCopy(CitationDate object)
null, then this method returns null.DefaultCitationDate, then it is returned unchanged.DefaultCitationDate instance is created using the
copy constructor
and returned. Note that this is a shallow copy operation, since the other
metadata contained in the given object are not recursively copied.object - the object to get as a SIS implementation, or null if none.null if the argument was null.public Date getDate()
getDate in interface CitationDatenull.public void setDate(Date newValue)
newValue - the new date.public DateType getDateType()
getDateType in interface CitationDatenull.public void setDateType(DateType newValue)
newValue - the new event.Copyright © 2010–2017 The Apache Software Foundation. All rights reserved.