com.esri.arcgis.geoprocessing
Class GpValueTableObject

java.lang.Object
  extended by com.esri.arcgis.geoprocessing.GpValueTableObject
All Implemented Interfaces:
IGpValueTableObject, IGpValueTableObject2, com.esri.arcgis.interop.RemoteObjRef, java.io.Serializable

public class GpValueTableObject
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IGpValueTableObject, IGpValueTableObject2

COM Class 'GpValueTableObject'. Generated 3/19/2015 1:20:44 PM from 'C:\ArcGIS\COM\esriGeoprocessing.olb'

Description 'Geoprocessing Value Table object.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.esri.arcgis.geoprocessing.IGpValueTableObject
DISPID_1_NAME, DISPID_10_NAME, DISPID_11_NAME, DISPID_13_NAME, DISPID_2_GET_NAME, DISPID_3_GET_NAME, DISPID_4_NAME, DISPID_5_NAME, DISPID_6_NAME, DISPID_7_NAME, DISPID_8_NAME, DISPID_9_NAME, IID, IID527b0a11_811d_474c_b34e_919b560e72c0, xxDummy
 
Fields inherited from interface com.esri.arcgis.geoprocessing.IGpValueTableObject2
DISPID_1_NAME, IID, IID1f3f1579_8c0c_46dd_b408_09dea1166aa7, xxDummy
 
Constructor Summary
GpValueTableObject()
          Constructs a GpValueTableObject using ArcGIS Engine.
GpValueTableObject(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
GpValueTableObject theGpValueTableObject = (GpValueTableObject) obj;
 
Method Summary
 void addRow(java.lang.Object row)
          Add a row.
 boolean equals(java.lang.Object o)
          Compare this object with another
 java.lang.String exportToString()
          Export the Value Table to a string.
static java.lang.String getClsid()
          getClsid.
 int getColumnCount()
          The number of columns.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 java.lang.String getRow(int index)
          Get a row.
 int getRowCount()
          The number of rows.
 IGPValue getTrueValue(int rowIndex, int columnIndex)
          Get a value.
 java.lang.String getValue(int rowIndex, int columnIndex)
          Get a value.
 int hashCode()
          the hashcode for this object
 void loadFromString(java.lang.String value)
          Load the Value Table from a string.
 void populate(IGPValueTable pGpValueTable)
          Populate a given ValueTable with the values from this one.
 void release()
          Release a GpValueTableObject.
 void removeRow(int rowIndex)
          Remove a row.
 void setColumns(int nColumns)
          The number of columns.
 void setRow(int rowIndex, java.lang.Object value)
          Set a given row with a new value.
 void setValue(int rowIndex, int columnIndex, java.lang.Object value)
          Set a given column value.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GpValueTableObject

public GpValueTableObject()
                   throws java.io.IOException,
                          java.net.UnknownHostException
Constructs a GpValueTableObject using ArcGIS Engine.

Throws:
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems

GpValueTableObject

public GpValueTableObject(java.lang.Object obj)
                   throws java.io.IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
GpValueTableObject theGpValueTableObject = (GpValueTableObject) obj;

Construct a GpValueTableObject using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to GpValueTableObject.

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
java.io.IOException - if there are interop problems
Method Detail

getClsid

public static java.lang.String getClsid()
getClsid.


equals

public boolean equals(java.lang.Object o)
Compare this object with another

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class java.lang.Object

getJintegraDispatch

public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
Deprecated. Internal use only.

Specified by:
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRef

release

public void release()
Release a GpValueTableObject.

Specified by:
release in interface com.esri.arcgis.interop.RemoteObjRef

setColumns

public void setColumns(int nColumns)
                throws java.io.IOException,
                       AutomationException
The number of columns.

Specified by:
setColumns in interface IGpValueTableObject
Parameters:
nColumns - The nColumns (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getRowCount

public int getRowCount()
                throws java.io.IOException,
                       AutomationException
The number of rows.

Specified by:
getRowCount in interface IGpValueTableObject
Returns:
The count
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getColumnCount

public int getColumnCount()
                   throws java.io.IOException,
                          AutomationException
The number of columns.

Specified by:
getColumnCount in interface IGpValueTableObject
Returns:
The count
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

addRow

public void addRow(java.lang.Object row)
            throws java.io.IOException,
                   AutomationException
Add a row.

Specified by:
addRow in interface IGpValueTableObject
Parameters:
row - A Variant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getRow

public java.lang.String getRow(int index)
                        throws java.io.IOException,
                               AutomationException
Get a row.

Specified by:
getRow in interface IGpValueTableObject
Parameters:
index - The index (in)
Returns:
The row
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getValue

public java.lang.String getValue(int rowIndex,
                                 int columnIndex)
                          throws java.io.IOException,
                                 AutomationException
Get a value.

Specified by:
getValue in interface IGpValueTableObject
Parameters:
rowIndex - The rowIndex (in)
columnIndex - The columnIndex (in)
Returns:
The value
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

loadFromString

public void loadFromString(java.lang.String value)
                    throws java.io.IOException,
                           AutomationException
Load the Value Table from a string.

Specified by:
loadFromString in interface IGpValueTableObject
Parameters:
value - The value (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

exportToString

public java.lang.String exportToString()
                                throws java.io.IOException,
                                       AutomationException
Export the Value Table to a string.

Specified by:
exportToString in interface IGpValueTableObject
Returns:
The value
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

removeRow

public void removeRow(int rowIndex)
               throws java.io.IOException,
                      AutomationException
Remove a row.

Specified by:
removeRow in interface IGpValueTableObject
Parameters:
rowIndex - The rowIndex (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setRow

public void setRow(int rowIndex,
                   java.lang.Object value)
            throws java.io.IOException,
                   AutomationException
Set a given row with a new value.

Specified by:
setRow in interface IGpValueTableObject
Parameters:
rowIndex - The rowIndex (in)
value - A Variant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setValue

public void setValue(int rowIndex,
                     int columnIndex,
                     java.lang.Object value)
              throws java.io.IOException,
                     AutomationException
Set a given column value.

Specified by:
setValue in interface IGpValueTableObject
Parameters:
rowIndex - The rowIndex (in)
columnIndex - The columnIndex (in)
value - A Variant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

populate

public void populate(IGPValueTable pGpValueTable)
              throws java.io.IOException,
                     AutomationException
Populate a given ValueTable with the values from this one.

Specified by:
populate in interface IGpValueTableObject
Parameters:
pGpValueTable - A reference to a com.esri.arcgis.geoprocessing.IGPValueTable (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getTrueValue

public IGPValue getTrueValue(int rowIndex,
                             int columnIndex)
                      throws java.io.IOException,
                             AutomationException
Get a value.

Specified by:
getTrueValue in interface IGpValueTableObject2
Parameters:
rowIndex - The rowIndex (in)
columnIndex - The columnIndex (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IGPValue
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.