com.esri.arcgis.geoprocessing
Class GpFieldInfoObject

java.lang.Object
  extended by com.esri.arcgis.geoprocessing.GpFieldInfoObject
All Implemented Interfaces:
IGpFieldInfoObject, com.esri.arcgis.interop.RemoteObjRef, java.io.Serializable

public class GpFieldInfoObject
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IGpFieldInfoObject

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

Description 'Geoprocessing Field Info 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.IGpFieldInfoObject
DISPID_1_NAME, DISPID_10_NAME, DISPID_11_NAME, DISPID_12_NAME, DISPID_13_NAME, DISPID_14_NAME, DISPID_15_NAME, DISPID_2_GET_NAME, DISPID_3_NAME, DISPID_4_NAME, DISPID_5_NAME, DISPID_6_NAME, DISPID_7_NAME, DISPID_8_NAME, DISPID_9_NAME, IID, IIDb8aa3d79_0605_49a9_b351_647fea86bc94, xxDummy
 
Constructor Summary
GpFieldInfoObject()
          Constructs a GpFieldInfoObject using ArcGIS Engine.
GpFieldInfoObject(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
GpFieldInfoObject theGpFieldInfoObject = (GpFieldInfoObject) obj;
 
Method Summary
 void addField(java.lang.String fieldName, java.lang.String newFieldName, java.lang.String visible, java.lang.String splitRule)
          Add a field.
 boolean equals(java.lang.Object o)
          Compare this object with another
 java.lang.String exportToString()
          Export the Value Table to a string.
 int findFieldByName(java.lang.String fieldName)
          Find a field index by name.
 int findFieldByNewName(java.lang.String fieldName)
          Find a field index by new name.
static java.lang.String getClsid()
          getClsid.
 int getCount()
          The number of fields.
 java.lang.String getFieldName(int index)
          Get the field name by index.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 java.lang.String getNewName(int index)
          Get the new field name by index.
 java.lang.String getSplitRule(int index)
          Get the split rule by index.
 java.lang.String getVisible(int index)
          Get the visible flag by index.
 int hashCode()
          the hashcode for this object
 void loadFromString(java.lang.String value)
          Load the Value Table from a string.
 void release()
          Release a GpFieldInfoObject.
 void removeField(int index)
          Remove a field.
 void setFieldName(int index, java.lang.String name)
          Set the field name by index.
 void setNewName(int index, java.lang.String name)
          Set the new field name by index.
 void setSplitRule(int index, java.lang.String rule)
          Set the split rule by index.
 void setVisible(int index, java.lang.String visible)
          Set the visible flag by index.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GpFieldInfoObject

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

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

GpFieldInfoObject

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

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

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 GpFieldInfoObject.

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

addField

public void addField(java.lang.String fieldName,
                     java.lang.String newFieldName,
                     java.lang.String visible,
                     java.lang.String splitRule)
              throws java.io.IOException,
                     AutomationException
Add a field.

Specified by:
addField in interface IGpFieldInfoObject
Parameters:
fieldName - The fieldName (in)
newFieldName - The newFieldName (in)
visible - The visible (in)
splitRule - The splitRule (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCount

public int getCount()
             throws java.io.IOException,
                    AutomationException
The number of fields.

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

getFieldName

public java.lang.String getFieldName(int index)
                              throws java.io.IOException,
                                     AutomationException
Get the field name by index.

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

getNewName

public java.lang.String getNewName(int index)
                            throws java.io.IOException,
                                   AutomationException
Get the new field name by index.

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

getSplitRule

public java.lang.String getSplitRule(int index)
                              throws java.io.IOException,
                                     AutomationException
Get the split rule by index.

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

getVisible

public java.lang.String getVisible(int index)
                            throws java.io.IOException,
                                   AutomationException
Get the visible flag by index.

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

setFieldName

public void setFieldName(int index,
                         java.lang.String name)
                  throws java.io.IOException,
                         AutomationException
Set the field name by index.

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

setNewName

public void setNewName(int index,
                       java.lang.String name)
                throws java.io.IOException,
                       AutomationException
Set the new field name by index.

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

setSplitRule

public void setSplitRule(int index,
                         java.lang.String rule)
                  throws java.io.IOException,
                         AutomationException
Set the split rule by index.

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

setVisible

public void setVisible(int index,
                       java.lang.String visible)
                throws java.io.IOException,
                       AutomationException
Set the visible flag by index.

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

removeField

public void removeField(int index)
                 throws java.io.IOException,
                        AutomationException
Remove a field.

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

findFieldByName

public int findFieldByName(java.lang.String fieldName)
                    throws java.io.IOException,
                           AutomationException
Find a field index by name.

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

findFieldByNewName

public int findFieldByNewName(java.lang.String fieldName)
                       throws java.io.IOException,
                              AutomationException
Find a field index by new name.

Specified by:
findFieldByNewName in interface IGpFieldInfoObject
Parameters:
fieldName - The fieldName (in)
Returns:
The index
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 IGpFieldInfoObject
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 IGpFieldInfoObject
Returns:
The value
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.