com.esri.sde.sdk.pe
Class PeHTMethod

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

public final class PeHTMethod
extends PeObject

This class defines a datum transformation htmethod.

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
PeHTMethod(java.lang.String str)
          Constructor.
PeHTMethod(java.lang.String name, com.esri.sde.sdk.pe.PeHTMethodFunction forward, com.esri.sde.sdk.pe.PeHTMethodFunction inverse)
          Constructor.
 
Method Summary
 java.lang.Object clone()
          Clone a htmethod.
 void delete()
          Destructor.
static PeHTMethod fromString(java.lang.String str)
          Construct htmethod object from string.
 PeAuthority getAuth()
          Retrieve a htmethod's authority.
 int getCode()
           
 com.esri.sde.sdk.pe.PeHTMethodFunction getForward()
          Retrieve a htmethod's forward function.
 com.esri.sde.sdk.pe.PeHTMethodFunction getInverse()
          Retrieve a htmethod's inverse function.
 java.lang.String getName()
          Retrieve a htmethod's name.
 int getStatus()
          Retrieve a htmethod's status.
 int getType()
          Retrieve a htmethods's type.
 boolean isEqual(PeHTMethod htmethod)
          Test if two htmethods are identical.
 boolean isEqual(PeObject peobj)
          Check if both pe objects are equal.
 void setAuth(PeAuthority authority)
          Store a authority in a htmethod.
 java.lang.String toString()
          Retrieve a htmethod's external representation.
 java.lang.String toString(int mode)
          Retrieve a htmethod'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

PeHTMethod

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

Throws:
PeProjectionException

PeHTMethod

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

Throws:
PeProjectionException
Method Detail

fromString

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

Throws:
PeProjectionException

clone

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

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 htmethod's name.

Specified by:
getName in class PeObject

getType

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

Specified by:
getType in class PeObject

getStatus

public int getStatus()
Retrieve a htmethod'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(PeHTMethod htmethod)
Test if two htmethods are identical.


toString

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

Specified by:
toString in class PeObject

toString

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

Specified by:
toString in class PeObject

getAuth

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

Specified by:
getAuth in class PeObject

setAuth

public void setAuth(PeAuthority authority)
Store a authority in a htmethod.

Specified by:
setAuth in class PeObject

getForward

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


getInverse

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


getCode

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