org.deegree_impl.model.cs
Class Info.AngularUnit

java.lang.Object
  extended byorg.deegree_impl.model.cs.Info.Export
      extended byorg.deegree_impl.model.cs.Info.AngularUnit
All Implemented Interfaces:
CS_AngularUnit, CS_Info, CS_Unit, java.rmi.Remote, java.io.Serializable
Enclosing class:
Info

final class Info.AngularUnit
extends Info.Export
implements CS_AngularUnit

OpenGIS angular unit.


Field Summary
protected  Adapters adapters
          The originating adapter.
private  double scale
          Number of radians per linear unit.
 
Constructor Summary
Info.AngularUnit(Adapters adapters, double radiansPerUnit)
          Construct an angular unit.
 
Method Summary
 java.lang.String getAbbreviation()
          Gets the abbreviation.
 java.lang.String getAlias()
          Gets the alias.
 java.lang.String getAuthority()
          Gets the authority name.
 java.lang.String getAuthorityCode()
          Gets the authority-specific identification code.
 java.lang.String getName()
          Gets the name.
 double getRadiansPerUnit()
          Returns the number of radians per angular unit.
 java.lang.String getRemarks()
          Gets the provider-supplied remarks.
 java.lang.String getWKT()
          Gets a Well-Known text representation of this object.
 java.lang.String getXML()
          Gets an XML representation of this object.
 java.lang.String toString()
          Returns a Well Know Text for this unit
 Info unwrap()
          Returns the underlying implementation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.opengis.cs.CS_Info
getAbbreviation, getAlias, getAuthority, getAuthorityCode, getName, getRemarks, getWKT, getXML
 

Field Detail

scale

private final double scale
Number of radians per linear unit.


adapters

protected final transient Adapters adapters
The originating adapter.

Constructor Detail

Info.AngularUnit

public Info.AngularUnit(Adapters adapters,
                        double radiansPerUnit)
Construct an angular unit.

Method Detail

getRadiansPerUnit

public double getRadiansPerUnit()
                         throws java.rmi.RemoteException
Returns the number of radians per angular unit.

Specified by:
getRadiansPerUnit in interface CS_AngularUnit
Throws:
java.rmi.RemoteException - if a remote method call failed.

toString

public java.lang.String toString()
Returns a Well Know Text for this unit

Overrides:
toString in class Info.Export

unwrap

public final Info unwrap()
Returns the underlying implementation.


getName

public java.lang.String getName()
                         throws java.rmi.RemoteException
Gets the name.

Specified by:
getName in interface CS_Info
Throws:
java.rmi.RemoteException - if a remote method call failed.

getAuthority

public java.lang.String getAuthority()
                              throws java.rmi.RemoteException
Gets the authority name.

Specified by:
getAuthority in interface CS_Info
Throws:
java.rmi.RemoteException - if a remote method call failed.

getAuthorityCode

public java.lang.String getAuthorityCode()
                                  throws java.rmi.RemoteException
Gets the authority-specific identification code.

Specified by:
getAuthorityCode in interface CS_Info
Throws:
java.rmi.RemoteException - if a remote method call failed.

getAlias

public java.lang.String getAlias()
                          throws java.rmi.RemoteException
Gets the alias.

Specified by:
getAlias in interface CS_Info
Throws:
java.rmi.RemoteException - if a remote method call failed.

getAbbreviation

public java.lang.String getAbbreviation()
                                 throws java.rmi.RemoteException
Gets the abbreviation.

Specified by:
getAbbreviation in interface CS_Info
Throws:
java.rmi.RemoteException - if a remote method call failed.

getRemarks

public java.lang.String getRemarks()
                            throws java.rmi.RemoteException
Gets the provider-supplied remarks.

Specified by:
getRemarks in interface CS_Info
Throws:
java.rmi.RemoteException - if a remote method call failed.

getWKT

public java.lang.String getWKT()
                        throws java.rmi.RemoteException
Gets a Well-Known text representation of this object.

Specified by:
getWKT in interface CS_Info
Throws:
java.rmi.RemoteException - if a remote method call failed.

getXML

public java.lang.String getXML()
                        throws java.rmi.RemoteException
Gets an XML representation of this object.

Specified by:
getXML in interface CS_Info
Throws:
java.rmi.RemoteException - if a remote method call failed.