org.geotools.metadata.iso.extent
Class GeographicExtentImpl

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.GeographicExtentImpl
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, org.opengis.metadata.extent.GeographicExtent
Direct Known Subclasses:
BoundingPolygonImpl, GeographicBoundingBoxImpl, GeographicDescriptionImpl

public class GeographicExtentImpl
extends MetadataEntity
implements org.opengis.metadata.extent.GeographicExtent

Base class for geographic area of the dataset.

Since:
2.1
Version:
$Id: GeographicExtentImpl.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
GeographicExtentImpl()
          Constructs an initially empty geographic extent.
GeographicExtentImpl(boolean inclusion)
          Constructs a geographic extent initialized with the specified inclusion value.
GeographicExtentImpl(org.opengis.metadata.extent.GeographicExtent extent)
          Constructs a geographic extent initialized to the same values than the specified one.
 
Method Summary
 java.lang.Boolean getInclusion()
          Indication of whether the bounding polygon encompasses an area covered by the data (inclusion) or an area where data is not present (exclusion).
 void setInclusion(java.lang.Boolean newValue)
          Set whether the bounding polygon encompasses an area covered by the data (inclusion) or an area where data is not present (exclusion).
 
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

GeographicExtentImpl

public GeographicExtentImpl()
Constructs an initially empty geographic extent.


GeographicExtentImpl

public GeographicExtentImpl(org.opengis.metadata.extent.GeographicExtent extent)
Constructs a geographic extent initialized to the same values than the specified one.

Since:
2.2

GeographicExtentImpl

public GeographicExtentImpl(boolean inclusion)
Constructs a geographic extent initialized with the specified inclusion value.

Method Detail

getInclusion

public java.lang.Boolean getInclusion()
Indication of whether the bounding polygon encompasses an area covered by the data (inclusion) or an area where data is not present (exclusion).

Specified by:
getInclusion in interface org.opengis.metadata.extent.GeographicExtent
Returns:
true for inclusion, or false for exclusion.

setInclusion

public void setInclusion(java.lang.Boolean newValue)
Set whether the bounding polygon encompasses an area covered by the data (inclusion) or an area where data is not present (exclusion).



Copyright © 1996-2010 Geotools. All Rights Reserved.