org.deegree.cs.refs.components
Class AxisRef

java.lang.Object
  extended by org.deegree.commons.tom.Reference<T>
      extended by org.deegree.cs.refs.CRSResourceRef<IAxis>
          extended by 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

Constructor Summary
AxisRef(ReferenceResolver resolver, String uri, String baseURL)
          Creates a reference to a IAxis
 
Method Summary
 boolean equals(Object obj)
           
 String getName()
           
 int getOrientation()
           
 String getOrientationAsString()
           
 IUnit getUnits()
           
 
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 class org.deegree.commons.tom.Reference
getId, getReferencedObject, 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, getNames, getOrignalCodeStrings, getVersion, getVersions, hasCode, hasId, hasIdOrName, setDefaultAreaOfUse, setDefaultDescription, setDefaultId, setDefaultName, setDefaultVersion
 
Methods inherited from interface org.deegree.commons.tom.Object
getId
 

Constructor Detail

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)
Method Detail

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.