Package org.geotools.metadata.iso.extent
Class TemporalExtentImpl
Object
AbstractMetadata
ModifiableMetadata
MetadataEntity
TemporalExtentImpl
- All Implemented Interfaces:
Serializable
,Cloneable
,TemporalExtent
Boundary enclosing the dataset, expressed as the closed set of (x,y) coordinates of the
polygon. The last point replicates first point.
- Since:
- 2.1
- Author:
- Martin Desruisseaux (IRD), Touraïvane
- See Also:
-
Field Summary
Fields inherited from class AbstractMetadata
LOGGER
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs an initially empty temporal extent.TemporalExtentImpl
(Date startTime, Date endTime) Creates a temporal extent initialized to the specified values.TemporalExtentImpl
(TemporalExtent source) Constructs a metadata entity initialized with the values from the specified metadata. -
Method Summary
Modifier and TypeMethodDescriptionReturns the end date and time for the content of the dataset.Returns the date and time for the content of the dataset.The start date and time for the content of the dataset.void
setEndTime
(Date newValue) Set the end date and time for the content of the dataset.void
setExtent
(TemporalPrimitive newValue) Set the date and time for the content of the dataset.void
setStartTime
(Date newValue) Set the start date and time for the content of the dataset.Methods inherited from class MetadataEntity
ensureNonNull, getStandard
Methods inherited from class ModifiableMetadata
checkWritePermission, clone, copyCollection, copyList, freeze, isModifiable, nonNullCollection, nonNullList, nonNullSet, unmodifiable
Methods inherited from class AbstractMetadata
asMap, asTree, equals, getInterface, hashCode, toString
-
Constructor Details
-
TemporalExtentImpl
public TemporalExtentImpl()Constructs an initially empty temporal extent. -
TemporalExtentImpl
Constructs a metadata entity initialized with the values from the specified metadata.- Since:
- 2.4
-
TemporalExtentImpl
Creates a temporal extent initialized to the specified values.
-
-
Method Details
-
getStartTime
The start date and time for the content of the dataset. -
setStartTime
Set the start date and time for the content of the dataset. -
getEndTime
Returns the end date and time for the content of the dataset. -
setEndTime
Set the end date and time for the content of the dataset. -
getExtent
Returns the date and time for the content of the dataset.- Specified by:
getExtent
in interfaceTemporalExtent
- Returns:
- The date and time for the content.
- Since:
- 2.4
-
setExtent
Set the date and time for the content of the dataset.- Since:
- 2.4
-