Package org.geotools.metadata.iso.extent
Class GeographicExtentImpl
Object
AbstractMetadata
ModifiableMetadata
MetadataEntity
GeographicExtentImpl
- All Implemented Interfaces:
Serializable
,Cloneable
,GeographicExtent
- Direct Known Subclasses:
GeographicBoundingBoxImpl
Base class for geographic area of the dataset.
- Since:
- 2.1
- Author:
- Martin Desruisseaux (IRD), Touraïvane
- See Also:
-
Field Summary
Fields inherited from class AbstractMetadata
LOGGER
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs 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
Modifier and TypeMethodDescriptionIndication 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
-
Constructor Details
-
GeographicExtentImpl
public GeographicExtentImpl()Constructs an initially empty geographic extent. -
GeographicExtentImpl
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 Details
-
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 interfaceGeographicExtent
- Returns:
true
for inclusion, orfalse
for exclusion.
-
setInclusion
Set whether the bounding polygon encompasses an area covered by the data (inclusion) or an area where data is not present (exclusion).
-