com.esri.sde.sdk.pe
Class PeMethod

java.lang.Object
  extended by com.esri.sde.sdk.pe.PeObject
      extended by com.esri.sde.sdk.pe.PeMethod
All Implemented Interfaces:
java.lang.Cloneable

public final class PeMethod
extends PeObject

This class defines a datum transformation method.

Changing coordinate systems usually includes transforming between datums. Because datums are based on spheroids, a datum transformation always converts geographic (longitude-latitude) coordinates. Some methods convert the geographic coordinates to geocentric (XYZ) coordinates, transform the XYZ coordinates, and convert the new values to geographic coordinates.


Constructor Summary
PeMethod(java.lang.String str)
          Constructor.
PeMethod(java.lang.String name, com.esri.sde.sdk.pe.PeMethodFunction forward, com.esri.sde.sdk.pe.PeMethodFunction inverse)
          Constructor.
PeMethod(java.lang.String name, com.esri.sde.sdk.pe.PeMethodFunction forward, com.esri.sde.sdk.pe.PeMethodFunction inverse, com.esri.sde.sdk.pe.PeGTConstFunction gtConstfunc)
          Constructor.
 
Method Summary
 java.lang.Object clone()
          Clone a method.
 void delete()
          Destructor.
static PeMethod fromString(java.lang.String str)
          Construct method object from string.
 PeAuthority getAuth()
          Retrieve a method's authority.
 int getCode()
           
 com.esri.sde.sdk.pe.PeMethodFunction getForward()
          Retrieve a method's forward function.
 com.esri.sde.sdk.pe.PeGTConstFunction getGTConstFunc()
          Retrieve a method's gtconst function.
 com.esri.sde.sdk.pe.PeMethodFunction getInverse()
          Retrieve a method's inverse function.
 java.lang.String getName()
          Retrieve a method's name.
 int getStatus()
          retrieve a method's status.
 int getType()
          Retrieve a method's type.
 boolean isEqual(PeMethod method)
          Test if two methods are identical.
 boolean isEqual(PeObject peobj)
          Check if both pe objects are equal.
 void setAuth(PeAuthority authority)
          Store an authority in a method.
 java.lang.String toString()
          Retrieve a method's external representation.
 java.lang.String toString(int mode)
          Retrieve a method's extended external representation.
 
Methods inherited from class com.esri.sde.sdk.pe.PeObject
fromAnyString, fromStringByType
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PeMethod

public PeMethod(java.lang.String name,
                com.esri.sde.sdk.pe.PeMethodFunction forward,
                com.esri.sde.sdk.pe.PeMethodFunction inverse)
         throws PeProjectionException
Constructor.

Throws:
PeProjectionException

PeMethod

public PeMethod(java.lang.String name,
                com.esri.sde.sdk.pe.PeMethodFunction forward,
                com.esri.sde.sdk.pe.PeMethodFunction inverse,
                com.esri.sde.sdk.pe.PeGTConstFunction gtConstfunc)
         throws PeProjectionException
Constructor.

Throws:
PeProjectionException

PeMethod

public PeMethod(java.lang.String str)
         throws PeProjectionException
Constructor.

Throws:
PeProjectionException
Method Detail

fromString

public static PeMethod fromString(java.lang.String str)
                           throws PeProjectionException
Construct method object from string.

Throws:
PeProjectionException

clone

public java.lang.Object clone()
                       throws java.lang.CloneNotSupportedException
Clone a method.

Overrides:
clone in class java.lang.Object
Throws:
java.lang.CloneNotSupportedException

delete

public void delete()
Destructor.

Specified by:
delete in class PeObject

getName

public java.lang.String getName()
Retrieve a method's name.

Specified by:
getName in class PeObject

getType

public int getType()
Retrieve a method's type.

Specified by:
getType in class PeObject

getStatus

public int getStatus()
retrieve a method's status.

Specified by:
getStatus in class PeObject

isEqual

public boolean isEqual(PeObject peobj)
Check if both pe objects are equal.

Specified by:
isEqual in class PeObject

isEqual

public boolean isEqual(PeMethod method)
Test if two methods are identical.


toString

public java.lang.String toString()
Retrieve a method's external representation.

Specified by:
toString in class PeObject

toString

public java.lang.String toString(int mode)
Retrieve a method's extended external representation.

Specified by:
toString in class PeObject

getAuth

public PeAuthority getAuth()
Retrieve a method's authority.

Specified by:
getAuth in class PeObject

setAuth

public void setAuth(PeAuthority authority)
Store an authority in a method.

Specified by:
setAuth in class PeObject

getForward

public com.esri.sde.sdk.pe.PeMethodFunction getForward()
Retrieve a method's forward function.


getInverse

public com.esri.sde.sdk.pe.PeMethodFunction getInverse()
Retrieve a method's inverse function.


getGTConstFunc

public com.esri.sde.sdk.pe.PeGTConstFunction getGTConstFunc()
Retrieve a method's gtconst function.


getCode

public int getCode()
Specified by:
getCode in class PeObject