Package org.geotools.metadata.iso.extent
Class GeographicExtentImpl
- Object
-
- AbstractMetadata
-
- ModifiableMetadata
-
- MetadataEntity
-
- GeographicExtentImpl
-
- All Implemented Interfaces:
Serializable
,Cloneable
,GeographicExtent
- Direct Known Subclasses:
GeographicBoundingBoxImpl
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
-
-
Field Summary
-
Fields inherited from class AbstractMetadata
LOGGER
-
-
Constructor Summary
Constructors Constructor Description 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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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
-
-
-
-
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 interfaceGeographicExtent
- Returns:
true
for inclusion, orfalse
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).
-
-