org.deegree.cs.refs.components
Class GeodeticDatumRef

java.lang.Object
  extended by org.deegree.commons.tom.Reference<T>
      extended by org.deegree.cs.refs.CRSResourceRef<IDatum>
          extended by org.deegree.cs.refs.components.DatumRef
              extended by org.deegree.cs.refs.components.GeodeticDatumRef
All Implemented Interfaces:
Serializable, Object, TypedObjectNode, IDatum, IGeodeticDatum, CRSResource

public class GeodeticDatumRef
extends DatumRef
implements Serializable, IGeodeticDatum

DatumRef to a IGeodeticDatum

Version:
$Revision: $, $Date: $
Author:
Lyn Buesching, last edited by: $Author: lyn $
See Also:
Serialized Form

Constructor Summary
GeodeticDatumRef(ReferenceResolver resolver, String uri, String baseURL)
          Creates a reference to a IGeodeticDatum
 
Method Summary
 boolean equals(Object obj)
           
 IEllipsoid getEllipsoid()
           
 IPrimeMeridian getPrimeMeridian()
           
 GeodeticDatum getReferencedObject()
          Returns the referenced Object instance (may trigger resolving and fetching it).
 Helmert getWGS84Conversion()
           
 void setPrimeMeridian(IPrimeMeridian primeMeridian)
           
 void setToWGS84(Helmert toWGS84Conversion)
           
 
Methods inherited from class org.deegree.cs.refs.CRSResourceRef
addAreaOfUse, addName, getAreaOfUse, getAreaOfUseBBox, getAreasOfUse, getCode, getCodeAndName, getCodes, getDescription, getDescriptions, getName, getNames, getOrignalCodeStrings, getVersion, getVersions, hasCode, hasId, hasIdOrName, setDefaultAreaOfUse, setDefaultDescription, setDefaultId, setDefaultName, setDefaultVersion
 
Methods inherited from class org.deegree.commons.tom.Reference
getId, getURI, isLocal, isResolved, resolve
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.deegree.cs.CRSResource
addAreaOfUse, addName, getAreaOfUse, getAreaOfUseBBox, getAreasOfUse, getCode, getCodeAndName, getCodes, getDescription, getDescriptions, getName, getNames, getOrignalCodeStrings, getVersion, getVersions, hasCode, hasId, hasIdOrName, setDefaultAreaOfUse, setDefaultDescription, setDefaultId, setDefaultName, setDefaultVersion
 
Methods inherited from interface org.deegree.commons.tom.Object
getId
 

Constructor Detail

GeodeticDatumRef

public GeodeticDatumRef(ReferenceResolver resolver,
                        String uri,
                        String baseURL)
Creates a reference to a IGeodeticDatum

Parameters:
resolver - used for resolving the reference, must not be null
uri - the object's uri, must not be null
baseURL - base URL for resolving the uri, may be null (no resolving of relative URLs)
Method Detail

getEllipsoid

public IEllipsoid getEllipsoid()
Specified by:
getEllipsoid in interface IGeodeticDatum
Returns:
the ellipsoid.

getPrimeMeridian

public IPrimeMeridian getPrimeMeridian()
Specified by:
getPrimeMeridian in interface IGeodeticDatum
Returns:
the primeMeridian.

setPrimeMeridian

public void setPrimeMeridian(IPrimeMeridian primeMeridian)
Specified by:
setPrimeMeridian in interface IGeodeticDatum

getWGS84Conversion

public Helmert getWGS84Conversion()
Specified by:
getWGS84Conversion in interface IGeodeticDatum
Returns:
the toWGS84Conversion information needed to convert this geodetic Datum into the geocentric WGS84 Datum.

setToWGS84

public void setToWGS84(Helmert toWGS84Conversion)
Specified by:
setToWGS84 in interface IGeodeticDatum
Parameters:
toWGS84Conversion - the transformation to be used to convert this geodetic datum into the wgs84 datum.

equals

public boolean equals(Object obj)
Overrides:
equals in class DatumRef

getReferencedObject

public GeodeticDatum getReferencedObject()
                                  throws ReferenceResolvingException
Description copied from class: Reference
Returns the referenced Object instance (may trigger resolving and fetching it).

Overrides:
getReferencedObject in class Reference<IDatum>
Returns:
the referenced Object instance
Throws:
ReferenceResolvingException - if the reference cannot be resolved


Copyright © 2011. All Rights Reserved.