public class DefaultRequestedDate extends ISOMetadata implements RequestedDate
Limitations:
XML
instead.Defined in the sis-metadata
module
identifiers, LOGGER
Constructor and Description |
---|
DefaultRequestedDate()
Constructs an initially empty requested date.
|
DefaultRequestedDate(RequestedDate object)
Constructs a new instance initialized with the values from the specified metadata object.
|
Modifier and Type | Method and Description |
---|---|
static DefaultRequestedDate |
castOrCopy(RequestedDate object)
Returns a SIS metadata implementation with the values of the given arbitrary implementation.
|
Date |
getLatestAcceptableDate()
Returns the latest date and time collection must be completed.
|
Date |
getRequestedDateOfCollection()
Returns the preferred date and time of collection.
|
void |
setLatestAcceptableDate(Date newValue)
Sets the latest date and time collection must be completed.
|
void |
setRequestedDateOfCollection(Date newValue)
Sets the preferred date and time of collection.
|
getIdentifierMap, getIdentifiers, getStandard
checkWritePermission, clone, collectionType, copyCollection, copyList, copySet, freeze, isModifiable, nonNullCollection, nonNullList, nonNullSet, singleton, unmodifiable, writeCollection, writeList, writeSet
asMap, asTreeTable, equals, equals, getInterface, hashCode, isEmpty, prune, toString
public DefaultRequestedDate()
public DefaultRequestedDate(RequestedDate object)
object
- The metadata to copy values from, or null
if none.castOrCopy(RequestedDate)
public static DefaultRequestedDate castOrCopy(RequestedDate object)
null
, then this method returns null
.DefaultRequestedDate
, then it is returned unchanged.DefaultRequestedDate
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 getRequestedDateOfCollection()
getRequestedDateOfCollection
in interface RequestedDate
null
.public void setRequestedDateOfCollection(Date newValue)
newValue
- The new requested date of collection value.public Date getLatestAcceptableDate()
getLatestAcceptableDate
in interface RequestedDate
null
.public void setLatestAcceptableDate(Date newValue)
newValue
- The new latest acceptable data value.Copyright © 2010–2015 The Apache Software Foundation. All rights reserved.