com.esri.sde.sdk.pe
Class PeArray

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

public final class PeArray
extends PeObject

This class defines an Array object.


Constructor Summary
PeArray(PeHTMethod htmethod)
          Construct array from htmethod object.
PeArray(java.lang.String str)
          Constructor.
PeArray(java.lang.String name, int numValues, double[] values)
          Constructor.
 
Method Summary
 java.lang.Object clone()
          Clone an array.
 void delete()
          Destructor.
static PeArray fromString(java.lang.String str)
          Construct method object from string.
 PeAuthority getAuth()
          Retrieve a array's authority.
 int getCode()
           
 java.lang.String getName()
          Retrieve an array's name.
 int getNumValues()
          Retrieves the number of values.
 int getStatus()
          Retrieve an array's status.
 int getType()
          Retrieve an array's type.
 double[] getValues()
          Retrieves the values.
 boolean isEqual(PeArray array)
          Test if two arrays are identical.
 boolean isEqual(PeObject peobj)
          Check if both pe objects are equal.
 void setAuth(PeAuthority authority)
          Store an authority in a array.
 void setName(java.lang.String name)
          Sets this name.
 void setValues(int numValues, double[] values)
          Sets the values.
 java.lang.String toString()
          Retrieve a array's external representation.
 java.lang.String toString(int mode)
          Retrieve a array'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

PeArray

public PeArray(java.lang.String name,
               int numValues,
               double[] values)
        throws PeProjectionException
Constructor.

Throws:
PeProjectionException

PeArray

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

Throws:
PeProjectionException

PeArray

public PeArray(PeHTMethod htmethod)
        throws PeProjectionException
Construct array from htmethod object.

Throws:
PeProjectionException
Method Detail

fromString

public static PeArray 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 an array.

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

Specified by:
getName in class PeObject

getType

public int getType()
Retrieve an array's type.

Specified by:
getType in class PeObject

getStatus

public int getStatus()
Retrieve an array'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(PeArray array)
Test if two arrays are identical.


toString

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

Specified by:
toString in class PeObject

toString

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

Specified by:
toString in class PeObject

getAuth

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

Specified by:
getAuth in class PeObject

setAuth

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

Specified by:
setAuth in class PeObject

setName

public void setName(java.lang.String name)
Sets this name.


getNumValues

public int getNumValues()
Retrieves the number of values.


getValues

public double[] getValues()
Retrieves the values.


setValues

public void setValues(int numValues,
                      double[] values)
Sets the values.


getCode

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