Package org.geotools.metadata.iso.extent
Class TemporalExtentImpl
- Object
-
- AbstractMetadata
-
- ModifiableMetadata
-
- MetadataEntity
-
- TemporalExtentImpl
-
- All Implemented Interfaces:
Serializable
,Cloneable
,TemporalExtent
public class TemporalExtentImpl extends MetadataEntity implements 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:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class AbstractMetadata
LOGGER
-
-
Constructor Summary
Constructors Constructor Description TemporalExtentImpl()
Constructs 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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Date
getEndTime()
Returns the end date and time for the content of the dataset.TemporalPrimitive
getExtent()
Returns the date and time for the content of the dataset.Date
getStartTime()
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 Detail
-
TemporalExtentImpl
public TemporalExtentImpl()
Constructs an initially empty temporal extent.
-
TemporalExtentImpl
public TemporalExtentImpl(TemporalExtent source)
Constructs a metadata entity initialized with the values from the specified metadata.- Since:
- 2.4
-
-
Method Detail
-
getStartTime
public Date getStartTime()
The start date and time for the content of the dataset.
-
setStartTime
public void setStartTime(Date newValue)
Set the start date and time for the content of the dataset.
-
getEndTime
public Date getEndTime()
Returns the end date and time for the content of the dataset.
-
setEndTime
public void setEndTime(Date newValue)
Set the end date and time for the content of the dataset.
-
getExtent
public TemporalPrimitive 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
public void setExtent(TemporalPrimitive newValue)
Set the date and time for the content of the dataset.- Since:
- 2.4
-
-