org.deegree.cs.refs.components
Class GeodeticDatumRef
java.lang.Object
org.deegree.commons.tom.Reference<T>
org.deegree.cs.refs.CRSResourceRef<IDatum>
org.deegree.cs.refs.components.DatumRef
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
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 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 |
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)
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.