Package org.geotools.metadata.iso.extent
Class VerticalExtentImpl
- Object
-
- AbstractMetadata
-
- ModifiableMetadata
-
- MetadataEntity
-
- VerticalExtentImpl
-
- All Implemented Interfaces:
Serializable
,Cloneable
,VerticalExtent
public class VerticalExtentImpl extends MetadataEntity implements VerticalExtent
Vertical domain of 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 VerticalExtentImpl()
Constructs an initially empty vertical extent.VerticalExtentImpl(Double minimumValue, Double maximumValue, VerticalCRS verticalCRS)
Creates a vertical extent initialized to the specified values.VerticalExtentImpl(VerticalExtent source)
Constructs a metadata entity initialized with the values from the specified metadata.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Double
getMaximumValue()
Returns the highest vertical extent contained in the dataset.Double
getMinimumValue()
Returns the lowest vertical extent contained in the dataset.VerticalCRS
getVerticalCRS()
Provides information about the vertical coordinate reference system to which the maximum and minimum elevation values are measured.void
setMaximumValue(Double newValue)
Set the highest vertical extent contained in the dataset.void
setMinimumValue(Double newValue)
Set the lowest vertical extent contained in the dataset.void
setVerticalCRS(VerticalCRS newValue)
Set the information about the vertical coordinate reference system to which the maximum and minimum elevation values are measured.-
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
-
VerticalExtentImpl
public VerticalExtentImpl()
Constructs an initially empty vertical extent.
-
VerticalExtentImpl
public VerticalExtentImpl(VerticalExtent source)
Constructs a metadata entity initialized with the values from the specified metadata.- Since:
- 2.4
-
VerticalExtentImpl
public VerticalExtentImpl(Double minimumValue, Double maximumValue, VerticalCRS verticalCRS)
Creates a vertical extent initialized to the specified values.- Since:
- 2.4
-
-
Method Detail
-
getMinimumValue
public Double getMinimumValue()
Returns the lowest vertical extent contained in the dataset.- Specified by:
getMinimumValue
in interfaceVerticalExtent
- Returns:
- Double mandatory for valid content, may be null for an invalid document.
-
setMinimumValue
public void setMinimumValue(Double newValue)
Set the lowest vertical extent contained in the dataset.
-
getMaximumValue
public Double getMaximumValue()
Returns the highest vertical extent contained in the dataset.- Specified by:
getMaximumValue
in interfaceVerticalExtent
- Returns:
- Double mandatory for valid content, may be null for an invalid document.
-
setMaximumValue
public void setMaximumValue(Double newValue)
Set the highest vertical extent contained in the dataset.
-
getVerticalCRS
public VerticalCRS getVerticalCRS()
Provides information about the vertical coordinate reference system to which the maximum and minimum elevation values are measured. The CRS identification includes unit of measure.- Specified by:
getVerticalCRS
in interfaceVerticalExtent
- Returns:
- The vertical CRS.
- Since:
- 2.4
-
setVerticalCRS
public void setVerticalCRS(VerticalCRS newValue)
Set the information about the vertical coordinate reference system to which the maximum and minimum elevation values are measured.- Since:
- 2.4
-
-