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

org.deegree.model.csct.cs
Class Datum

java.lang.Object
  extended by org.deegree.model.csct.cs.Info
      extended by org.deegree.model.csct.cs.Datum
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
HorizontalDatum, LocalDatum, TemporalDatum, VerticalDatum

public class Datum
extends Info

A set of quantities from which other quantities are calculated. It may be a textual description and/or a set of parameters describing the relationship of a coordinate system to some predefined physical locations (such as center of mass) and physical directions (such as axis of spin). It can be defined as a set of real points on the earth that have coordinates. For example a datum can be thought of as a set of parameters defining completely the origin and orientation of a coordinate system with respect to the earth. The definition of the datum may also include the temporal behavior (such as the rate of change of the orientation of the coordinate axes).

Version:
1.00, $Revision: 6259 $, $Date: 2007-03-20 10:15:15 +0100 (Di, 20 Mär 2007) $
Author:
OpenGIS (www.opengis.org), Martin Desruisseaux, last edited by: $Author: bezema $
See Also:
"org.opengis.cs.CS_Datum", Serialized Form

Field Summary
 
Fields inherited from class org.deegree.model.csct.cs.Info
pool
 
Constructor Summary
Datum(Map properties, DatumType type)
          Construct a new datum with the specified properties.
Datum(String name, DatumType type)
          Construct a new datum with the specified name and datum type.
 
Method Summary
(package private)  String addString(StringBuffer buffer)
          Fill the part inside "[...]".
 boolean equals(Object object)
          Compares the specified object with this datum for equality.
 DatumType getDatumType()
          Gets the type of the datum as an enumerated code.
 int hashCode()
          Returns a hash value for this datum.
 
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

Datum

public Datum(String name,
             DatumType type)
Construct a new datum with the specified name and datum type.

Parameters:
name - The datum name.
type - The datum type.

Datum

Datum(Map properties,
      DatumType type)
Construct a new datum with the specified properties.

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

getDatumType

public DatumType getDatumType()
Gets the type of the datum as an enumerated code.

Returns:
the type of the datum as an enumerated code.
See Also:
"org.opengis.cs.CS_Datum#getDatumType()"

hashCode

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

Overrides:
hashCode in class Info
Returns:
a hash value for this datum.

equals

public boolean equals(Object object)
Compares the specified object with this datum for equality.

Overrides:
equals in class Info
Parameters:
object -
Returns:

addString

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

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