org.cts.datum
Class AbstractDatum

java.lang.Object
  extended by org.cts.IdentifiableComponent
      extended by org.cts.datum.AbstractDatum
All Implemented Interfaces:
Datum, Identifiable
Direct Known Subclasses:
GeodeticDatum, VerticalDatum

public abstract class AbstractDatum
extends IdentifiableComponent
implements Datum

A datum (plural datums) is a reference from which measurements are made.

In surveying and geodesy, a datum is a reference point on the earth's surface against which position measurements are made, and an associated model of the shape of the earth for computing positions. Horizontal datums are used for describing a point on the earth's surface, in latitude and longitude or another coordinate system. Vertical datums are used to measure elevations or underwater depths. In engineering and drafting, a datum is a reference point, surface, or axis on an object against which measurements are made.

(Taken from wikipedia on 2006-10-06)

Author:
Michaƫl Michaud

Field Summary
 
Fields inherited from interface org.cts.Identifiable
DEFAULT, LOCAL, UNKNOWN
 
Constructor Summary
protected AbstractDatum(Identifier identifier, Extent extent, String origin, String epoch)
          Creates a new Datum.
 
Method Summary
 String getEpoch()
          Returns the realization epoch of this Datum as a String.
 Extent getExtent()
          Returns the valid extent of this Datum.
 String getOrigin()
          Returns the description of this Datum origin.
 String toString()
          Returns a String representation of this Datum.
 
Methods inherited from class org.cts.IdentifiableComponent
addAlias, addRemark, equals, getAliases, getAuthorityKey, getAuthorityName, getCode, getComponent, getIdentifier, getName, getRemarks, getShortName, hashCode, setIdentifier, setRemarks, setShortName
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.cts.datum.Datum
getEllipsoid, getPrimeMeridian, getToWGS84
 
Methods inherited from interface org.cts.Identifiable
addAlias, addRemark, getAliases, getAuthorityKey, getAuthorityName, getCode, getName, getRemarks, getShortName, setRemarks, setShortName
 

Constructor Detail

AbstractDatum

protected AbstractDatum(Identifier identifier,
                        Extent extent,
                        String origin,
                        String epoch)
Creates a new Datum.

Parameters:
identifier - the identifier of this Datum
extent - valid domain extent (extent definition depends on the kind of Datum)
origin - description of the origin or anchor point of this Datum.
epoch - epoch of this Datum realization
Method Detail

getExtent

public Extent getExtent()
Returns the valid extent of this Datum.

Specified by:
getExtent in interface Datum

getOrigin

public String getOrigin()
Returns the description of this Datum origin.

Specified by:
getOrigin in interface Datum

getEpoch

public String getEpoch()
Returns the realization epoch of this Datum as a String.

Specified by:
getEpoch in interface Datum

toString

public String toString()
Returns a String representation of this Datum.

Overrides:
toString in class IdentifiableComponent


Copyright © 2014 IRSTV CNRS-FR-2488. All Rights Reserved.