org.geotools.metadata.iso.extent
Class SpatialTemporalExtentImpl

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
                  extended by org.geotools.metadata.iso.extent.SpatialTemporalExtentImpl
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, org.opengis.metadata.extent.SpatialTemporalExtent, org.opengis.metadata.extent.TemporalExtent

public class SpatialTemporalExtentImpl
extends TemporalExtentImpl
implements org.opengis.metadata.extent.SpatialTemporalExtent

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: SpatialTemporalExtentImpl.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
SpatialTemporalExtentImpl()
          Constructs an initially empty spatial-temporal extent.
SpatialTemporalExtentImpl(java.util.Date startTime, java.util.Date endTime, java.util.Collection<? extends org.opengis.metadata.extent.GeographicExtent> spatialExtent)
          Creates a spatial-temporal extent initialized to the specified values.
SpatialTemporalExtentImpl(org.opengis.metadata.extent.SpatialTemporalExtent source)
          Constructs a metadata entity initialized with the values from the specified metadata.
 
Method Summary
 java.util.Collection<org.opengis.metadata.extent.GeographicExtent> getSpatialExtent()
          Returns the spatial extent component of composite spatial and temporal extent.
 void setSpatialExtent(java.util.Collection<? extends org.opengis.metadata.extent.GeographicExtent> newValues)
          Set the spatial extent component of composite spatial and temporal extent.
 
Methods inherited from class org.geotools.metadata.iso.extent.TemporalExtentImpl
getEndTime, getExtent, getStartTime, setEndTime, setExtent, setStartTime
 
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
 
Methods inherited from interface org.opengis.metadata.extent.TemporalExtent
getExtent
 

Constructor Detail

SpatialTemporalExtentImpl

public SpatialTemporalExtentImpl()
Constructs an initially empty spatial-temporal extent.


SpatialTemporalExtentImpl

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

Since:
2.4

SpatialTemporalExtentImpl

public SpatialTemporalExtentImpl(java.util.Date startTime,
                                 java.util.Date endTime,
                                 java.util.Collection<? extends org.opengis.metadata.extent.GeographicExtent> spatialExtent)
Creates a spatial-temporal extent initialized to the specified values.

Method Detail

getSpatialExtent

public java.util.Collection<org.opengis.metadata.extent.GeographicExtent> getSpatialExtent()
Returns the spatial extent component of composite spatial and temporal extent.

Specified by:
getSpatialExtent in interface org.opengis.metadata.extent.SpatialTemporalExtent
Returns:
The list of geographic extents (never null).

setSpatialExtent

public void setSpatialExtent(java.util.Collection<? extends org.opengis.metadata.extent.GeographicExtent> newValues)
Set the spatial extent component of composite spatial and temporal extent.



Copyright © 1996-2010 Geotools. All Rights Reserved.