org.deegree.cs.refs.coordinatesystem
Class CompoundCRSRef
java.lang.Object
org.deegree.commons.tom.Reference<T>
org.deegree.cs.refs.CRSResourceRef<ICRS>
org.deegree.cs.refs.coordinatesystem.CRSRef
org.deegree.cs.refs.coordinatesystem.CompoundCRSRef
- All Implemented Interfaces:
- Serializable, Object, TypedObjectNode, ICompoundCRS, ICRS, CRSResource
public class CompoundCRSRef
- extends CRSRef
- implements ICompoundCRS
CRSRef
to a CompoundCRS
- Version:
- $Revision: $, $Date: $
- Author:
- Lyn Buesching, last edited by: $Author: lyn $
- See Also:
- Serialized Form
Methods inherited from class org.deegree.cs.refs.coordinatesystem.CRSRef |
convertToAxis, equalsWithFlippedAxis, getAlias, getAreaOfUse, getAreaOfUseBBox, getAxis, getDatum, getDimension, getDirectTransformation, getEasting, getGeodeticDatum, getName, getNorthing, getTransformations, getType, getUnits, getValidDomain, hasDirectTransformation, hashCode, isXYForced, toString |
Methods inherited from class org.deegree.cs.refs.CRSResourceRef |
addAreaOfUse, addName, getAreasOfUse, getCode, getCodeAndName, getCodes, getDescription, getDescriptions, getNames, getOrignalCodeStrings, getVersion, getVersions, hasCode, hasId, hasIdOrName, setDefaultAreaOfUse, setDefaultDescription, setDefaultId, setDefaultName, setDefaultVersion |
Methods inherited from interface org.deegree.cs.coordinatesystems.ICRS |
convertToAxis, equalsWithFlippedAxis, getAlias, getDatum, getDimension, getDirectTransformation, getEasting, getGeodeticDatum, getNorthing, getTransformations, getType, getUnits, getValidDomain, hasDirectTransformation |
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 |
CompoundCRSRef
public CompoundCRSRef(ReferenceResolver resolver,
String uri,
String baseURL)
- Creates a reference to a
CompoundCRS
- 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)
CompoundCRSRef
public CompoundCRSRef(ReferenceResolver resolver,
String uri,
String baseURL,
boolean forceXY)
- Creates a new
CompoundCRSRef
instance with a coordinate reference system name.
- 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)crsName
- name of the crs (identification string) or nullforceXY
- true if the axis order of the coordinate system should be x/y (EAST/NORTH; WEST/SOUTH); false id the
defined axis order should be taken
getHeightAxis
public IAxis getHeightAxis()
- Specified by:
getHeightAxis
in interface ICompoundCRS
- Returns:
- the heightAxis.
getHeightUnits
public IUnit getHeightUnits()
- Specified by:
getHeightUnits
in interface ICompoundCRS
- Returns:
- the units of the heightAxis.
getUnderlyingCRS
public ICRS getUnderlyingCRS()
- Specified by:
getUnderlyingCRS
in interface ICompoundCRS
- Returns:
- the underlyingCRS.
getDefaultHeight
public double getDefaultHeight()
- Specified by:
getDefaultHeight
in interface ICompoundCRS
- Returns:
- the defaultHeight or 0 if it was not set.
equals
public boolean equals(Object obj)
- Overrides:
equals
in class CRSRef
getReferencedObject
public CompoundCRS getReferencedObject()
- Description copied from class:
Reference
- Returns the referenced
Object
instance (may trigger resolving and fetching it).
- Overrides:
getReferencedObject
in class CRSRef
- Returns:
- the referenced
Object
instance
Copyright © 2011. All Rights Reserved.