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

org.deegree.model.csct.cs
Class TemporalDatum

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.TemporalDatum
All Implemented Interfaces:
Serializable

public class TemporalDatum
extends Datum

Procedure used to measure time.

Version:
1.0
Author:
Martin Desruisseaux
See Also:
Serialized Form

Field Summary
static TemporalDatum UTC
          Default datum for Universal Time Clock (UTC).
 
Fields inherited from class org.deegree.model.csct.cs.Info
pool
 
Constructor Summary
TemporalDatum(Map properties, DatumType type)
          Creates a temporal datum.
TemporalDatum(String name, DatumType.Temporal type)
          Creates a temporal datum from an enumerated type value.
 
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
 

Field Detail

UTC

public static final TemporalDatum UTC
Default datum for Universal Time Clock (UTC). UTC is based on an atomic clock, while GMT is based on astronomical observations.

Constructor Detail

TemporalDatum

public TemporalDatum(String name,
                     DatumType.Temporal type)
Creates a temporal datum from an enumerated type value.

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

TemporalDatum

TemporalDatum(Map properties,
              DatumType type)
Creates a temporal datum.

Parameters:
properties - The set of properties (see Info).
type - Type of temporal 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.Temporal 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_Datum#getDatumType()"

addString

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

Overrides:
addString in class Datum
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