org.deegree.cs.refs.components
Class AxisRef
java.lang.Object
org.deegree.commons.tom.Reference<T>
org.deegree.cs.refs.CRSResourceRef<IAxis>
org.deegree.cs.refs.components.AxisRef
- All Implemented Interfaces:
- Serializable, Object, TypedObjectNode, IAxis, CRSResource
public class AxisRef
- extends CRSResourceRef<IAxis>
- implements Serializable, IAxis
CRSResourceRef
ti a IAxis
- 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, 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, getNames, getOrignalCodeStrings, getVersion, getVersions, hasCode, hasId, hasIdOrName, setDefaultAreaOfUse, setDefaultDescription, setDefaultId, setDefaultName, setDefaultVersion |
Methods inherited from interface org.deegree.commons.tom.Object |
getId |
AxisRef
public AxisRef(ReferenceResolver resolver,
String uri,
String baseURL)
- Creates a reference to a
IAxis
- 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)
getOrientation
public int getOrientation()
- Specified by:
getOrientation
in interface IAxis
- Returns:
- the orientation.
getUnits
public IUnit getUnits()
- Specified by:
getUnits
in interface IAxis
- Returns:
- the units.
getOrientationAsString
public String getOrientationAsString()
- Specified by:
getOrientationAsString
in interface IAxis
- Returns:
- an 'English' representation for the Axis Orientation, or Unknown if the given direction is not known.
getName
public String getName()
- Specified by:
getName
in interface IAxis
- Specified by:
getName
in interface CRSResource
- Overrides:
getName
in class CRSResourceRef<IAxis>
- Returns:
- the first of all names or
null
if no names were given.
equals
public boolean equals(Object obj)
- Overrides:
equals
in class CRSResourceRef<IAxis>
Copyright © 2011. All Rights Reserved.