|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IGPFieldInfo
Provides access to the properties/methods of a geoprocessing field info object.
Method Summary | |
---|---|
void |
addField(int fieldIndex,
String fieldName,
String newFieldName,
boolean visible,
int split)
Add a field to the field info object. |
int |
findFieldByIndex(int fieldIndex)
Returns the index of the field in the field info object matching given the field index. |
int |
findFieldByName(String fieldName)
Returns the index of the field in the field info object matching given the field name. |
int |
findFieldByNewName(String fieldName)
Returns the index of the field in the field info object matching given the field new name. |
int |
getCount()
The number of fields in the field info object. |
int |
getFieldIndex(int index)
Returns the field index of the specified field in the field info object. |
String |
getFieldName(int index)
Returns the name of the specified field in the field info object. |
boolean |
getNamingError(int index)
Returns whether there is an error with the specified field in the field info object. |
String |
getNewName(int index)
Returns the new name of the specified field in the field info object. |
int |
getSplitRule(int index)
Returns the split rule of the specified field in the field info object. |
boolean |
getVisible(int index)
Returns the visibility of the specified field in the field info object. |
void |
initialize(IDETable table,
IDEWorkspace workspace)
Initializes the field info object using the field information from the given table/workspace. |
void |
merge(IDETable table)
Merges the field information from the given table data element into the field info object. |
void |
removeAll()
Removes all the fields from the field info object. |
void |
removeField(int index)
Removes the given field from the field info object. |
void |
setFieldIndex(int index,
int fieldIndex)
Sets the name of the specified field in the field info object. |
void |
setFieldName(int index,
String name)
Sets the name of the specified field in the field info object. |
void |
setNamingError(int index,
boolean error)
Sets whether there is an error with the specified field in the field info object. |
void |
setNewName(int index,
String name)
Sets the new name of the specified field in the field info object. |
void |
setSplitRule(int index,
int split)
Sets the split rule of the specified field in the field info object. |
void |
setVisible(int index,
boolean visible)
Sets the visibility of the specified field in the field info object. |
Method Detail |
---|
void initialize(IDETable table, IDEWorkspace workspace) throws IOException, AutomationException
table
- A reference to a com.esri.arcgis.geodatabase.IDETable (in)workspace
- A reference to a com.esri.arcgis.geodatabase.IDEWorkspace (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void merge(IDETable table) throws IOException, AutomationException
table
- A reference to a com.esri.arcgis.geodatabase.IDETable (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void removeAll() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void addField(int fieldIndex, String fieldName, String newFieldName, boolean visible, int split) throws IOException, AutomationException
fieldIndex
- The fieldIndex (in)fieldName
- The fieldName (in)newFieldName
- The newFieldName (in)visible
- The visible (in)split
- A com.esri.arcgis.geoprocessing.esriGPFieldInfoSplitRule constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getCount() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.String getFieldName(int index) throws IOException, AutomationException
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getFieldIndex(int index) throws IOException, AutomationException
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean getNamingError(int index) throws IOException, AutomationException
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.String getNewName(int index) throws IOException, AutomationException
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getSplitRule(int index) throws IOException, AutomationException
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean getVisible(int index) throws IOException, AutomationException
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setFieldName(int index, String name) throws IOException, AutomationException
index
- The index (in)name
- The name (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setFieldIndex(int index, int fieldIndex) throws IOException, AutomationException
index
- The index (in)fieldIndex
- The fieldIndex (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setNamingError(int index, boolean error) throws IOException, AutomationException
index
- The index (in)error
- The error (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setNewName(int index, String name) throws IOException, AutomationException
index
- The index (in)name
- The name (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setSplitRule(int index, int split) throws IOException, AutomationException
index
- The index (in)split
- A com.esri.arcgis.geoprocessing.esriGPFieldInfoSplitRule constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setVisible(int index, boolean visible) throws IOException, AutomationException
index
- The index (in)visible
- The visible (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void removeField(int index) throws IOException, AutomationException
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int findFieldByName(String fieldName) throws IOException, AutomationException
fieldName
- The fieldName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int findFieldByNewName(String fieldName) throws IOException, AutomationException
fieldName
- The fieldName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int findFieldByIndex(int fieldIndex) throws IOException, AutomationException
fieldIndex
- The fieldIndex (in)
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 |