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

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

public class DeleteFeatures
extends AbstractGPTool

Deletes features from the input feature class or layer. If the input is a layer with a selection, only the selected features will be deleted. If the input is a geodatabase feature class or shapefile, all features will be deleted. The Delete Features 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
DeleteFeatures()
          Creates the Delete Features tool with defaults.
DeleteFeatures(Object inFeatures)
          Creates the Delete Features tool with the required parameters.
 
Method Summary
 Object getInFeatures()
          Returns the Input Features parameter of this tool .
 Object getOutFeatureClass()
          Returns the Output Feature Class parameter of this tool (Read only).
 String getToolboxAlias()
          Returns the alias of the tool box containing this tool.
 String getToolboxName()
          Returns the name of the tool box containing this tool.
 String getToolName()
          Returns the name of this tool.
 void setInFeatures(Object inFeatures)
          Sets the Input Features 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

DeleteFeatures

public DeleteFeatures()
Creates the Delete Features tool with defaults.

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


DeleteFeatures

public DeleteFeatures(Object inFeatures)
Creates the Delete Features 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:
inFeatures - the feature class, shapefile, or layer containing features to be deleted.
Method Detail

getInFeatures

public Object getInFeatures()
Returns the Input Features parameter of this tool . This parameter is the feature class, shapefile, or layer containing features to be deleted. This is a required parameter.

Returns:
the Input Features

setInFeatures

public void setInFeatures(Object inFeatures)
Sets the Input Features parameter of this tool . This parameter is the feature class, shapefile, or layer containing features to be deleted. This is a required parameter.

Parameters:
inFeatures - the feature class, shapefile, or layer containing features to be deleted.

getOutFeatureClass

public Object getOutFeatureClass()
Returns the Output Feature Class parameter of this tool (Read only). This is an derived parameter.

Returns:
the Output Feature Class

getToolName

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

Returns:
the tool name

getToolboxName

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

Returns:
the tool box name

getToolboxAlias

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

Returns:
the tool box alias