org.geotools.metadata.iso.extent
Class GeographicExtentImpl

Object
  extended by AbstractMetadata
      extended by ModifiableMetadata
          extended by MetadataEntity
              extended by GeographicExtentImpl
All Implemented Interfaces:
Serializable, Cloneable, GeographicExtent
Direct Known Subclasses:
BoundingPolygonImpl, GeographicBoundingBoxImpl, GeographicDescriptionImpl

public class GeographicExtentImpl
extends MetadataEntity
implements GeographicExtent

Base class for geographic area of the dataset.

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
GeographicExtentImpl()
          Constructs an initially empty geographic extent.
GeographicExtentImpl(boolean inclusion)
          Constructs a geographic extent initialized with the specified inclusion value.
GeographicExtentImpl(GeographicExtent extent)
          Constructs a geographic extent initialized to the same values than the specified one.
 
Method Summary
 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(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 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
 

Constructor Detail

GeographicExtentImpl

public GeographicExtentImpl()
Constructs an initially empty geographic extent.


GeographicExtentImpl

public GeographicExtentImpl(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 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 GeographicExtent
Returns:
true for inclusion, or false for exclusion.

setInclusion

public void setInclusion(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.