deegree 2.1 (2007/11/08 09:57 build-328-official)

org.deegree.model.csct.cs
Class LocalDatum

java.lang.Object
  extended by org.deegree.model.csct.cs.Info
      extended by org.deegree.model.csct.cs.Datum
          extended by org.deegree.model.csct.cs.LocalDatum
All Implemented Interfaces:
Serializable

public class LocalDatum
extends Datum

Local datum. If two local datum objects have the same datum type and name, then they can be considered equal. This means that coordinates can be transformed between two different local coordinate systems, as long as they are based on the same local datum.

Version:
1.00, $Revision: 7057 $, $Date: 2007-05-10 09:28:14 +0200 (Do, 10 Mai 2007) $
Author:
OpenGIS (www.opengis.org), Martin Desruisseaux, last edited by: $Author: apoth $
See Also:
"org.opengis.cs.CS_LocalDatum", Serialized Form

Field Summary
 
Fields inherited from class org.deegree.model.csct.cs.Info
pool
 
Constructor Summary
LocalDatum(Map properties, DatumType type)
          Creates a local datum.
LocalDatum(String name, DatumType.Local type)
          Creates a local datum.
 
Method Summary
(package private)  String addString(StringBuffer buffer)
          Fill the part inside "[...]".
 DatumType getDatumType()
          Gets the type of the datum as an enumerated code.
 
Methods inherited from class org.deegree.model.csct.cs.Datum
equals, hashCode
 
Methods inherited from class org.deegree.model.csct.cs.Info
addString, addUnit, 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
 

Constructor Detail

LocalDatum

public LocalDatum(String name,
                  DatumType.Local type)
Creates a local datum.

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

LocalDatum

LocalDatum(Map properties,
           DatumType type)
Creates a local datum.

Parameters:
properties - The set of properties (see Info).
type - Type of local 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.Local when we will be able to use generic types (with JDK 1.5).

Overrides:
getDatumType in class Datum
Returns:
the type of the datum as an enumerated code.
See Also:
"org.opengis.cs.CS_LocalDatum#getDatumType()"

addString

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

Overrides:
addString in class Datum
Parameters:
buffer -
Returns:

deegree 2.1 (2007/11/08 09:57 build-328-official)

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://deegree.sourceforge.net