org.deegree_impl.model.cs
Class TemporalDatum

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

public class TemporalDatum
extends Datum

Procedure used to measure time.

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

Nested Class Summary
 
Nested classes inherited from class org.deegree_impl.model.cs.Datum
Datum.Export
 
Nested classes inherited from class org.deegree_impl.model.cs.Info
Info.AngularUnit, Info.LinearUnit
 
Field Summary
private static long serialVersionUID
          Serial number for interoperability with different versions.
static TemporalDatum UTC
          Default datum for Universal Time Clock (UTC).
 
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) TemporalDatum(java.util.Map properties, DatumType type)
          Creates a temporal datum.
  TemporalDatum(java.lang.String name, DatumType.Temporal type)
          Creates a temporal 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.
 
Methods inherited from class org.deegree_impl.model.cs.Datum
equals, hashCode, toOpenGIS
 
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

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(java.lang.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(java.util.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
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