org.geotools.metadata.iso.extent
Class VerticalExtentImpl

java.lang.Object
  extended byorg.geotools.metadata.iso.MetadataEntity
      extended byorg.geotools.metadata.iso.extent.VerticalExtentImpl
All Implemented Interfaces:
java.lang.Cloneable, java.io.Serializable, org.opengis.metadata.extent.VerticalExtent

public class VerticalExtentImpl
extends MetadataEntity
implements org.opengis.metadata.extent.VerticalExtent

Vertical domain of dataset.

Since:
2.1
Version:
$Id: VerticalExtentImpl.java 17672 2006-01-19 00:25:55Z desruisseaux $
Author:
Martin Desruisseaux, Toura?vane
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.geotools.metadata.iso.MetadataEntity
LOGGER
 
Constructor Summary
VerticalExtentImpl()
          Constructs an initially empty vertical extent.
VerticalExtentImpl(double minimumValue, double maximumValue, javax.units.Unit unit, org.opengis.referencing.datum.VerticalDatum verticalDatum)
          Creates a vertical extent initialized to the specified values.
 
Method Summary
 boolean equals(java.lang.Object object)
          Compare this vertical extent with the specified object for equality.
protected  void freeze()
          Declare this metadata and all its attributes as unmodifiable.
 double getMaximumValue()
          Returns the highest vertical extent contained in the dataset.
 double getMinimumValue()
          Returns the lowest vertical extent contained in the dataset.
 javax.units.Unit getUnit()
          Returns the vertical units used for vertical extent information.
 org.opengis.referencing.datum.VerticalDatum getVerticalDatum()
          Provides information about the origin from which the maximum and minimum elevation values are measured.
 int hashCode()
          Returns a hash code value for this extent.
 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 setUnit(javax.units.Unit newValue)
          Set the vertical units used for vertical extent information.
 void setVerticalDatum(org.opengis.referencing.datum.VerticalDatum newValue)
          Set information about the origin from which the maximum and minimum elevation values are measured.
 java.lang.String toString()
          Returns a string representation of this extent.
 
Methods inherited from class org.geotools.metadata.iso.MetadataEntity
appendLineSeparator, checkWritePermission, copyCollection, isModifiable, nonNullCollection, unmodifiable, unmodifiable
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

VerticalExtentImpl

public VerticalExtentImpl()
Constructs an initially empty vertical extent.


VerticalExtentImpl

public VerticalExtentImpl(double minimumValue,
                          double maximumValue,
                          javax.units.Unit unit,
                          org.opengis.referencing.datum.VerticalDatum verticalDatum)
Creates a vertical extent initialized to the specified values.

Method Detail

getMinimumValue

public double getMinimumValue()
Returns the lowest vertical extent contained in the dataset.

Specified by:
getMinimumValue in interface org.opengis.metadata.extent.VerticalExtent

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 interface org.opengis.metadata.extent.VerticalExtent

setMaximumValue

public void setMaximumValue(double newValue)
Set the highest vertical extent contained in the dataset.


getUnit

public javax.units.Unit getUnit()
Returns the vertical units used for vertical extent information. Examples: metres, feet, millimetres, hectopascals.

Specified by:
getUnit in interface org.opengis.metadata.extent.VerticalExtent

setUnit

public void setUnit(javax.units.Unit newValue)
Set the vertical units used for vertical extent information. Examples: metres, feet, millimetres, hectopascals.


getVerticalDatum

public org.opengis.referencing.datum.VerticalDatum getVerticalDatum()
Provides information about the origin from which the maximum and minimum elevation values are measured.

Specified by:
getVerticalDatum in interface org.opengis.metadata.extent.VerticalExtent

setVerticalDatum

public void setVerticalDatum(org.opengis.referencing.datum.VerticalDatum newValue)
Set information about the origin from which the maximum and minimum elevation values are measured.


freeze

protected void freeze()
Declare this metadata and all its attributes as unmodifiable.

Overrides:
freeze in class MetadataEntity

equals

public boolean equals(java.lang.Object object)
Compare this vertical extent with the specified object for equality.


hashCode

public int hashCode()
Returns a hash code value for this extent.


toString

public java.lang.String toString()
Returns a string representation of this extent.



Copyright © GeoTools. All Rights Reserved.