com.esri.arcgis.geoprocessing.tools.datamanagementtools
Class DeleteField

java.lang.Object
  extended by com.esri.arcgis.geoprocessing.AbstractGPTool
      extended by com.esri.arcgis.geoprocessing.tools.datamanagementtools.DeleteField
All Implemented Interfaces:
GPTool

public class DeleteField
extends AbstractGPTool

This tool deletes one or more fields from a table, feature class, feature layer, or raster dataset. The Delete Field tool is contained in the Data Management Tools tool box.

Usage tips:


Field Summary
 
Fields inherited from class com.esri.arcgis.geoprocessing.AbstractGPTool
vals
 
Constructor Summary
DeleteField()
          Creates the Delete Field tool with defaults.
DeleteField(java.lang.Object inTable, java.lang.Object dropField)
          Creates the Delete Field tool with the required parameters.
 
Method Summary
 java.lang.Object getDropField()
          Returns the Drop Field parameter of this tool .
 java.lang.Object getInTable()
          Returns the Input Table parameter of this tool .
 java.lang.Object getOutTable()
          Returns the Output Table parameter of this tool (Read only).
 java.lang.String getToolboxAlias()
          Returns the alias of the tool box containing this tool.
 java.lang.String getToolboxName()
          Returns the name of the tool box containing this tool.
 java.lang.String getToolName()
          Returns the name of this tool.
 void setDropField(java.lang.Object dropField)
          Sets the Drop Field parameter of this tool .
 void setInTable(java.lang.Object inTable)
          Sets the Input Table parameter of this tool .
 
Methods inherited from class com.esri.arcgis.geoprocessing.AbstractGPTool
getParameterValues, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DeleteField

public DeleteField()
Creates the Delete Field tool with defaults.

Initializes the array of tool parameters with the default values specified when the tool was created.


DeleteField

public DeleteField(java.lang.Object inTable,
                   java.lang.Object dropField)
Creates the Delete Field tool with the required parameters.

Initializes the array of tool parameters with the values as specified for the required parameters and with the default values for the other parameters.

Parameters:
inTable - the table containing the fields to be deleted. The existing input table will be modified.
dropField - the fields to be dropped from the input table. Only nonrequired fields may be deleted.
Method Detail

getInTable

public java.lang.Object getInTable()
Returns the Input Table parameter of this tool . This parameter is the table containing the fields to be deleted. The existing input table will be modified. This is a required parameter.

Returns:
the Input Table

setInTable

public void setInTable(java.lang.Object inTable)
Sets the Input Table parameter of this tool . This parameter is the table containing the fields to be deleted. The existing input table will be modified. This is a required parameter.

Parameters:
inTable - the table containing the fields to be deleted. The existing input table will be modified.

getDropField

public java.lang.Object getDropField()
Returns the Drop Field parameter of this tool . This parameter is the fields to be dropped from the input table. Only nonrequired fields may be deleted. This is a required parameter.

Returns:
the Drop Field

setDropField

public void setDropField(java.lang.Object dropField)
Sets the Drop Field parameter of this tool . This parameter is the fields to be dropped from the input table. Only nonrequired fields may be deleted. This is a required parameter.

Parameters:
dropField - the fields to be dropped from the input table. Only nonrequired fields may be deleted.

getOutTable

public java.lang.Object getOutTable()
Returns the Output Table parameter of this tool (Read only). This is an derived parameter.

Returns:
the Output Table

getToolName

public java.lang.String getToolName()
Returns the name of this tool.

Returns:
the tool name

getToolboxName

public java.lang.String getToolboxName()
Returns the name of the tool box containing this tool.

Returns:
the tool box name

getToolboxAlias

public java.lang.String getToolboxAlias()
Returns the alias of the tool box containing this tool.

Returns:
the tool box alias