|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
ObjectAbstractMetadata
ModifiableMetadata
MetadataEntity
DefaultVerticalExtent
@ThreadSafe public class DefaultVerticalExtent
Vertical domain of dataset.
| metadata/geotk-metadata (download) | View source code for this class |
| Field Summary |
|---|
| Fields inherited from class MetadataEntity |
|---|
identifiers |
| Fields inherited from class AbstractMetadata |
|---|
LOGGER |
| Constructor Summary | |
|---|---|
DefaultVerticalExtent()
Constructs an initially empty vertical extent. |
|
DefaultVerticalExtent(Double minimumValue,
Double maximumValue,
VerticalCRS verticalCRS)
Creates a vertical extent initialized to the specified values. |
|
DefaultVerticalExtent(Envelope envelope)
Constructs a vertical extent from the specified envelope. |
|
DefaultVerticalExtent(VerticalExtent source)
Constructs a metadata entity initialized with the values from the specified metadata. |
|
| Method Summary | |
|---|---|
static DefaultVerticalExtent |
castOrCopy(VerticalExtent object)
Returns a Geotk metadata implementation with the same values than the given arbitrary implementation. |
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)
Sets the highest vertical extent contained in the dataset. |
void |
setMinimumValue(Double newValue)
Sets the lowest vertical extent contained in the dataset. |
void |
setVerticalCRS(VerticalCRS newValue)
Sets the information about the vertical coordinate reference system to which the maximum and minimum elevation values are measured. |
| Methods inherited from class MetadataEntity |
|---|
getIdentifier, getIdentifierMap, getIdentifiers, getStandard |
| Methods inherited from class ModifiableMetadata |
|---|
checkWritePermission, clone, collectionType, copyCollection, copyList, copySet, freeze, isModifiable, nonNullCollection, nonNullList, nonNullSet, prune, unmodifiable |
| Methods inherited from class AbstractMetadata |
|---|
asMap, asTree, asTreeTable, equals, equals, getInterface, hashCode, isEmpty, parse, toString |
| Methods inherited from class Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultVerticalExtent()
public DefaultVerticalExtent(VerticalExtent source)
source - The metadata to copy, or null if none.
public DefaultVerticalExtent(Envelope envelope)
throws TransformException
Note: This constructor is available only if the referencing module is on the classpath.
envelope - The envelope to use for initializing this vertical extent.
UnsupportedOperationException - if the referencing module is not on the classpath.
TransformException - if the envelope can't be transformed to a vertical extent.DefaultExtent.DefaultExtent(Envelope),
DefaultGeographicBoundingBox.DefaultGeographicBoundingBox(Envelope),
DefaultTemporalExtent.DefaultTemporalExtent(Envelope)
public DefaultVerticalExtent(Double minimumValue,
Double maximumValue,
VerticalCRS verticalCRS)
minimumValue - The lowest vertical extent contained in the dataset.maximumValue - The highest vertical extent contained in the dataset.verticalCRS - The information about the vertical coordinate reference system.| Method Detail |
|---|
public static DefaultVerticalExtent castOrCopy(VerticalExtent object)
null, then this method returns null.
Otherwise if the given object is already a Geotk implementation, then the given object is
returned unchanged. Otherwise a new Geotk implementation is created and initialized to the
attribute values of the given object, using a shallow copy operation
(i.e. attributes are not cloned).
object - The object to get as a Geotk implementation, or null if none.
null if the argument was null.public Double getMinimumValue()
getMinimumValue in interface VerticalExtentpublic void setMinimumValue(Double newValue)
newValue - The new minimum value.public Double getMaximumValue()
getMaximumValue in interface VerticalExtentpublic void setMaximumValue(Double newValue)
newValue - The new maximum value.public VerticalCRS getVerticalCRS()
getVerticalCRS in interface VerticalExtentpublic void setVerticalCRS(VerticalCRS newValue)
newValue - The new vertical CRS.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||