|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.sde.sdk.pe.PeObject com.esri.sde.sdk.pe.PeUnit
public final class PeUnit
This class defines a unit object.
Constructor Summary | |
---|---|
PeUnit(java.lang.String str)
Constructor. |
|
PeUnit(java.lang.String name,
double factor)
Constructor. |
Method Summary | |
---|---|
java.lang.Object |
clone()
Clone a unit. |
void |
delete()
Deconstructor. |
static PeUnit |
fromString(java.lang.String str)
Create a unit from a string. |
PeAuthority |
getAuth()
Retrieve a units's authority. |
int |
getCode()
|
java.lang.String |
getName()
Retrieve a unit's name. |
int |
getStatus()
Retrieve a unit's status. |
int |
getType()
Retrieve a unit's type. |
double |
getUnitFactor()
Retrieve's a unit's conversion factor. |
boolean |
isEqual(PeObject peobj)
Check if both objects are equal. |
boolean |
isEqual(PeUnit unit)
Test if two units are identical. |
void |
setAuth(PeAuthority authority)
Store a authority in a unit. |
java.lang.String |
toString()
Retrieve the external representation of a unit. |
java.lang.String |
toString(int mode)
Retrieve the extended external representation of a unit. |
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 |
---|
public PeUnit(java.lang.String name, double factor) throws PeProjectionException
PeProjectionException
public PeUnit(java.lang.String str) throws PeProjectionException
PeProjectionException
Method Detail |
---|
public static PeUnit fromString(java.lang.String str) throws PeProjectionException
PeProjectionException
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in class java.lang.Object
java.lang.CloneNotSupportedException
public void delete()
delete
in class PeObject
public java.lang.String getName()
getName
in class PeObject
public int getType()
getType
in class PeObject
public int getStatus()
getStatus
in class PeObject
public boolean isEqual(PeObject peobj)
isEqual
in class PeObject
public boolean isEqual(PeUnit unit)
public java.lang.String toString()
toString
in class PeObject
public java.lang.String toString(int mode)
toString
in class PeObject
public PeAuthority getAuth()
getAuth
in class PeObject
public void setAuth(PeAuthority authority)
setAuth
in class PeObject
public double getUnitFactor()
public int getCode()
getCode
in class PeObject
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |