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

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

public class DeleteIdentical
extends AbstractGPTool

Deletes records in a feature class or table which have identical values in a list of fields. If the field 'Shape' is selected, feature geometries are compared. The Delete Identical 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
DeleteIdentical()
          Creates the Delete Identical tool with defaults.
DeleteIdentical(Object inDataset, Object fields)
          Creates the Delete Identical tool with the required parameters.
 
Method Summary
 Object getFields()
          Returns the Field(s) parameter of this tool .
 Object getInDataset()
          Returns the Input Dataset parameter of this tool .
 Object getOutDataset()
          Returns the Output Dataset 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.
 Object getXyTolerance()
          Returns the XY Tolerance parameter of this tool .
 double getZTolerance()
          Returns the Z Tolerance parameter of this tool .
 void setFields(Object fields)
          Sets the Field(s) parameter of this tool .
 void setInDataset(Object inDataset)
          Sets the Input Dataset parameter of this tool .
 void setXyTolerance(Object xyTolerance)
          Sets the XY Tolerance parameter of this tool .
 void setZTolerance(double zTolerance)
          Sets the Z Tolerance 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

DeleteIdentical

public DeleteIdentical()
Creates the Delete Identical tool with defaults.

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


DeleteIdentical

public DeleteIdentical(Object inDataset,
                       Object fields)
Creates the Delete Identical 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:
inDataset - the table or feature class which will have its identical records deleted.
fields - the field(s) whose values will be compared to find identical records.
Method Detail

getInDataset

public Object getInDataset()
Returns the Input Dataset parameter of this tool . This parameter is the table or feature class which will have its identical records deleted. This is a required parameter.

Returns:
the Input Dataset

setInDataset

public void setInDataset(Object inDataset)
Sets the Input Dataset parameter of this tool . This parameter is the table or feature class which will have its identical records deleted. This is a required parameter.

Parameters:
inDataset - the table or feature class which will have its identical records deleted.

getFields

public Object getFields()
Returns the Field(s) parameter of this tool . This parameter is the field(s) whose values will be compared to find identical records. This is a required parameter.

Returns:
the Field(s)

setFields

public void setFields(Object fields)
Sets the Field(s) parameter of this tool . This parameter is the field(s) whose values will be compared to find identical records. This is a required parameter.

Parameters:
fields - the field(s) whose values will be compared to find identical records.

getXyTolerance

public Object getXyTolerance()
Returns the XY Tolerance parameter of this tool . This parameter is the xy tolerance which will be applied to each vertex when evaluating if there is an identical vertex in another feature. This is an optional parameter.

Returns:
the XY Tolerance

setXyTolerance

public void setXyTolerance(Object xyTolerance)
Sets the XY Tolerance parameter of this tool . This parameter is the xy tolerance which will be applied to each vertex when evaluating if there is an identical vertex in another feature. This is an optional parameter.

Parameters:
xyTolerance - the xy tolerance which will be applied to each vertex when evaluating if there is an identical vertex in another feature.

getZTolerance

public double getZTolerance()
Returns the Z Tolerance parameter of this tool . This parameter is the z tolerance which will be applied to each vertex when evaluating if there is an identical vertex in another feature. This is an optional parameter.

Returns:
the Z Tolerance

setZTolerance

public void setZTolerance(double zTolerance)
Sets the Z Tolerance parameter of this tool . This parameter is the z tolerance which will be applied to each vertex when evaluating if there is an identical vertex in another feature. This is an optional parameter.

Parameters:
zTolerance - the z tolerance which will be applied to each vertex when evaluating if there is an identical vertex in another feature.

getOutDataset

public Object getOutDataset()
Returns the Output Dataset parameter of this tool (Read only). This is an derived parameter.

Returns:
the Output Dataset

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