org.geotools.metadata.iso.extent
Class TemporalExtentImpl

Object
  extended by AbstractMetadata
      extended by ModifiableMetadata
          extended by MetadataEntity
              extended by TemporalExtentImpl
All Implemented Interfaces:
Serializable, Cloneable, TemporalExtent
Direct Known Subclasses:
SpatialTemporalExtentImpl

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
Module:
modules/library/metadata (gt-metadata.jar)

Field Summary
 
Fields inherited from class AbstractMetadata
LOGGER
 
Constructor Summary
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
 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
 
Methods inherited from class Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

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

TemporalExtentImpl

public TemporalExtentImpl(Date startTime,
                          Date endTime)
Creates a temporal extent initialized to the specified values.

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 interface TemporalExtent
Since:
2.4

setExtent

public void setExtent(TemporalPrimitive newValue)
Set the date and time for the content of the dataset.

Since:
2.4


Copyright © 1996-2009 Geotools. All Rights Reserved.