org.geotools.metadata.iso.extent
Class TemporalExtentImpl

java.lang.Object
  extended byorg.geotools.metadata.iso.MetadataEntity
      extended byorg.geotools.metadata.iso.extent.TemporalExtentImpl
All Implemented Interfaces:
java.lang.Cloneable, java.io.Serializable, 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 17672 2006-01-19 00:25:55Z desruisseaux $
Author:
Martin Desruisseaux, Toura?vane
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.geotools.metadata.iso.MetadataEntity
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.
 
Method Summary
 boolean equals(java.lang.Object object)
          Compare this TemporalExtent with the specified object for equality.
 java.util.Date getEndTime()
          Returns the end date and time for the content of the dataset.
 java.util.Date getStartTime()
          The start date and time for the content of the dataset.
 int hashCode()
          Returns a hash code value for this series.
 void setEndTime(java.util.Date newValue)
          Set the end 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.
 java.lang.String toString()
          Returns a string representation of this series.
 
Methods inherited from class org.geotools.metadata.iso.MetadataEntity
appendLineSeparator, checkWritePermission, copyCollection, freeze, isModifiable, nonNullCollection, unmodifiable, unmodifiable
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TemporalExtentImpl

public TemporalExtentImpl()
Constructs an initially empty temporal extent.


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.


equals

public boolean equals(java.lang.Object object)
Compare this TemporalExtent with the specified object for equality.


hashCode

public int hashCode()
Returns a hash code value for this series.


toString

public java.lang.String toString()
Returns a string representation of this series.

To Do:
Provides a more elaborated implementation.


Copyright © GeoTools. All Rights Reserved.