org.geotools.metadata.iso.extent
Class TemporalExtentImpl

java.lang.Object
  extended by org.geotools.metadata.AbstractMetadata
      extended by org.geotools.metadata.ModifiableMetadata
          extended by org.geotools.metadata.iso.MetadataEntity
              extended by org.geotools.metadata.iso.extent.TemporalExtentImpl
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, org.opengis.metadata.extent.TemporalExtent
Direct Known Subclasses:
SpatialTemporalExtentImpl

public class TemporalExtentImpl
extends MetadataEntity
implements org.opengis.metadata.extent.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
Version:
$Id: TemporalExtentImpl.java 31557 2008-09-19 20:02:35Z desruisseaux $
Author:
Martin Desruisseaux (IRD), Touraïvane
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.geotools.metadata.AbstractMetadata
LOGGER
 
Constructor Summary
TemporalExtentImpl()
          Constructs an initially empty temporal extent.
TemporalExtentImpl(java.util.Date startTime, java.util.Date endTime)
          Creates a temporal extent initialized to the specified values.
TemporalExtentImpl(org.opengis.metadata.extent.TemporalExtent source)
          Constructs a metadata entity initialized with the values from the specified metadata.
 
Method Summary
 java.util.Date getEndTime()
          Returns the end date and time for the content of the dataset.
 org.opengis.temporal.TemporalPrimitive getExtent()
          Returns the date and time for the content of the dataset.
 java.util.Date getStartTime()
          The start date and time for the content of the dataset.
 void setEndTime(java.util.Date newValue)
          Set the end date and time for the content of the dataset.
 void setExtent(org.opengis.temporal.TemporalPrimitive newValue)
          Set the date and time for the content of the dataset.
 void setStartTime(java.util.Date newValue)
          Set the start date and time for the content of the dataset.
 
Methods inherited from class org.geotools.metadata.iso.MetadataEntity
ensureNonNull, getStandard
 
Methods inherited from class org.geotools.metadata.ModifiableMetadata
checkWritePermission, clone, copyCollection, copyList, freeze, isModifiable, nonNullCollection, nonNullList, nonNullSet, unmodifiable
 
Methods inherited from class org.geotools.metadata.AbstractMetadata
asMap, asTree, equals, getInterface, hashCode, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TemporalExtentImpl

public TemporalExtentImpl()
Constructs an initially empty temporal extent.


TemporalExtentImpl

public TemporalExtentImpl(org.opengis.metadata.extent.TemporalExtent source)
Constructs a metadata entity initialized with the values from the specified metadata.

Since:
2.4

TemporalExtentImpl

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

Method Detail

getStartTime

public java.util.Date getStartTime()
The start date and time for the content of the dataset.


setStartTime

public void setStartTime(java.util.Date newValue)
Set the start date and time for the content of the dataset.


getEndTime

public java.util.Date getEndTime()
Returns the end date and time for the content of the dataset.


setEndTime

public void setEndTime(java.util.Date newValue)
Set the end date and time for the content of the dataset.


getExtent

public org.opengis.temporal.TemporalPrimitive getExtent()
Returns the date and time for the content of the dataset.

Specified by:
getExtent in interface org.opengis.metadata.extent.TemporalExtent
Since:
2.4

setExtent

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

Since:
2.4


Copyright © 1996-2010 Geotools. All Rights Reserved.