|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.geoprocessing.GpFieldInfoObject
public class GpFieldInfoObject
Geoprocessing Field Info object.
Constructor Summary | |
---|---|
GpFieldInfoObject()
Constructs a GpFieldInfoObject using ArcGIS Engine. |
|
GpFieldInfoObject(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. GpFieldInfoObject theGpFieldInfoObject = (GpFieldInfoObject) obj; |
Method Summary | |
---|---|
void |
addField(String fieldName,
String newFieldName,
String visible,
String splitRule)
Add a field. |
boolean |
equals(Object o)
Compare this object with another |
String |
exportToString()
Export the Value Table to a string. |
int |
findFieldByName(String fieldName)
Find a field index by name. |
int |
findFieldByNewName(String fieldName)
Find a field index by new name. |
static String |
getClsid()
getClsid. |
int |
getCount()
The number of fields. |
String |
getFieldName(int index)
Get the field name by index. |
String |
getNewName(int index)
Get the new field name by index. |
String |
getSplitRule(int index)
Get the split rule by index. |
String |
getVisible(int index)
Get the visible flag by index. |
int |
hashCode()
the hashcode for this object |
void |
loadFromString(String value)
Load the Value Table from a string. |
void |
removeField(int index)
Remove a field. |
void |
setFieldName(int index,
String name)
Set the field name by index. |
void |
setNewName(int index,
String name)
Set the new field name by index. |
void |
setSplitRule(int index,
String rule)
Set the split rule by index. |
void |
setVisible(int index,
String visible)
Set the visible flag by index. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef |
---|
getJintegraDispatch, release |
Constructor Detail |
---|
public GpFieldInfoObject() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic GpFieldInfoObject(Object obj) throws IOException
GpFieldInfoObject theGpFieldInfoObject = (GpFieldInfoObject) obj;
obj
to GpFieldInfoObject
.
obj
- an object returned from ArcGIS Engine or Server
IOException
- if there are interop problemsMethod Detail |
---|
public static String getClsid()
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public void addField(String fieldName, String newFieldName, String visible, String splitRule) throws IOException, AutomationException
addField
in interface IGpFieldInfoObject
fieldName
- The fieldName (in)newFieldName
- The newFieldName (in)visible
- The visible (in)splitRule
- The splitRule (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getCount() throws IOException, AutomationException
getCount
in interface IGpFieldInfoObject
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getFieldName(int index) throws IOException, AutomationException
getFieldName
in interface IGpFieldInfoObject
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getNewName(int index) throws IOException, AutomationException
getNewName
in interface IGpFieldInfoObject
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getSplitRule(int index) throws IOException, AutomationException
getSplitRule
in interface IGpFieldInfoObject
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getVisible(int index) throws IOException, AutomationException
getVisible
in interface IGpFieldInfoObject
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setFieldName(int index, String name) throws IOException, AutomationException
setFieldName
in interface IGpFieldInfoObject
index
- The index (in)name
- The name (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setNewName(int index, String name) throws IOException, AutomationException
setNewName
in interface IGpFieldInfoObject
index
- The index (in)name
- The name (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setSplitRule(int index, String rule) throws IOException, AutomationException
setSplitRule
in interface IGpFieldInfoObject
index
- The index (in)rule
- The rule (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setVisible(int index, String visible) throws IOException, AutomationException
setVisible
in interface IGpFieldInfoObject
index
- The index (in)visible
- The visible (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void removeField(int index) throws IOException, AutomationException
removeField
in interface IGpFieldInfoObject
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int findFieldByName(String fieldName) throws IOException, AutomationException
findFieldByName
in interface IGpFieldInfoObject
fieldName
- The fieldName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int findFieldByNewName(String fieldName) throws IOException, AutomationException
findFieldByNewName
in interface IGpFieldInfoObject
fieldName
- The fieldName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void loadFromString(String value) throws IOException, AutomationException
loadFromString
in interface IGpFieldInfoObject
value
- The value (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String exportToString() throws IOException, AutomationException
exportToString
in interface IGpFieldInfoObject
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |