org.geotools.metadata.iso.extent
Class SpatialTemporalExtentImpl

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

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

Constructor Detail

SpatialTemporalExtentImpl

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


SpatialTemporalExtentImpl

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

Since:
2.4

SpatialTemporalExtentImpl

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

Method Detail

getSpatialExtent

public Collection<GeographicExtent> getSpatialExtent()
Returns the spatial extent component of composite spatial and temporal extent.

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

setSpatialExtent

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



Copyright © 1996-2010 Geotools. All Rights Reserved.