org.deegree_impl.model.cs
Class VerticalDatum

java.lang.Object
  extended byorg.deegree_impl.model.cs.Info
      extended byorg.deegree_impl.model.cs.Datum
          extended byorg.deegree_impl.model.cs.VerticalDatum
All Implemented Interfaces:
java.io.Serializable

public class VerticalDatum
extends Datum

Procedure used to measure vertical distances.

Version:
1.00
Author:
OpenGIS (www.opengis.org), Martin Desruisseaux
See Also:
CS_VerticalDatum, Serialized Form

Nested Class Summary
private  class VerticalDatum.Export
          Wrap a VerticalDatum object for use with OpenGIS.
 
Nested classes inherited from class org.deegree_impl.model.cs.Info
Info.AngularUnit, Info.LinearUnit
 
Field Summary
static VerticalDatum ELLIPSOIDAL
          Default vertical datum for ellipsoidal heights.
private static long serialVersionUID
          Serial number for interoperability with different versions.
 
Fields inherited from class org.deegree_impl.model.cs.Datum
 
Fields inherited from class org.deegree_impl.model.cs.Info
pool
 
Constructor Summary
(package private) VerticalDatum(java.util.Map properties, DatumType type)
          Creates a vertical datum.
  VerticalDatum(java.lang.String name, DatumType.Vertical type)
          Creates a vertical datum from an enumerated type value.
 
Method Summary
(package private)  java.lang.String addString(java.lang.StringBuffer buffer)
          Fill the part inside "[...]".
 DatumType getDatumType()
          Gets the type of the datum as an enumerated code.
(package private)  java.lang.Object toOpenGIS(java.lang.Object adapters)
          Returns an OpenGIS interface for this datum.
 
Methods inherited from class org.deegree_impl.model.cs.Datum
equals, hashCode
 
Methods inherited from class org.deegree_impl.model.cs.Info
addUnit, cachedOpenGIS, ensureAngularUnit, ensureLinearUnit, ensureNonNull, ensureNonNull, ensureTimeUnit, getAbbreviation, getAlias, getAuthority, getAuthorityCode, getName, getRemarks, readResolve, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
Serial number for interoperability with different versions.

See Also:
Constant Field Values

ELLIPSOIDAL

public static final VerticalDatum ELLIPSOIDAL
Default vertical datum for ellipsoidal heights. Ellipsoidal heights are measured along the normal to the ellipsoid used in the definition of horizontal datum.

Constructor Detail

VerticalDatum

public VerticalDatum(java.lang.String name,
                     DatumType.Vertical type)
Creates a vertical datum from an enumerated type value.

Parameters:
name - Name to give new object.
type - Type of vertical datum to create.

VerticalDatum

VerticalDatum(java.util.Map properties,
              DatumType type)
Creates a vertical datum.

Parameters:
properties - The set of properties (see Info).
type - Type of vertical datum to create.
Method Detail

getDatumType

public DatumType getDatumType()
Gets the type of the datum as an enumerated code. Note: return type will be changed to DatumType.Vertical when we will be able to use generic types (with JDK 1.5).

Overrides:
getDatumType in class Datum
See Also:
CS_Datum.getDatumType()

addString

java.lang.String addString(java.lang.StringBuffer buffer)
Fill the part inside "[...]". Used for formatting Well Know Text (WKT).

Overrides:
addString in class Datum

toOpenGIS

final java.lang.Object toOpenGIS(java.lang.Object adapters)
Returns an OpenGIS interface for this datum. The returned object is suitable for RMI use. Note: The returned type is a generic Object in order to avoid too early class loading of OpenGIS interface.

Overrides:
toOpenGIS in class Datum