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

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

public class GetCount
extends AbstractGPTool

Returns the total number of rows for a feature class, table, layer, or raster. The Get Count 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
GetCount()
          Creates the Get Count tool with defaults.
GetCount(Object inRows)
          Creates the Get Count tool with the required parameters.
 
Method Summary
 Object getInRows()
          Returns the Input Rows parameter of this tool .
 int getRowCount()
          Returns the Row Count 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 setInRows(Object inRows)
          Sets the Input Rows 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

GetCount

public GetCount()
Creates the Get Count tool with defaults.

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


GetCount

public GetCount(Object inRows)
Creates the Get Count 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:
inRows - the input feature class, table, layer, or raster. If a selection is defined on the input, only its rows are returned.
Method Detail

getInRows

public Object getInRows()
Returns the Input Rows parameter of this tool . This parameter is the input feature class, table, layer, or raster. If a selection is defined on the input, only its rows are returned. This is a required parameter.

Returns:
the Input Rows

setInRows

public void setInRows(Object inRows)
Sets the Input Rows parameter of this tool . This parameter is the input feature class, table, layer, or raster. If a selection is defined on the input, only its rows are returned. This is a required parameter.

Parameters:
inRows - the input feature class, table, layer, or raster. If a selection is defined on the input, only its rows are returned.

getRowCount

public int getRowCount()
Returns the Row Count parameter of this tool (Read only). This is an derived parameter.

Returns:
the Row Count

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