com.esri.arcgis.geoprocessing.tools.analysistools
Class Frequency

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

public class Frequency
extends AbstractGPTool

Creates a list of the unique code occurrences and their frequency for a specified set of items in an table. The Frequency tool is contained in the Analysis Tools tool box.

Software restrictions: ArcInfo only

Usage tips:


Field Summary
 
Fields inherited from class com.esri.arcgis.geoprocessing.AbstractGPTool
vals
 
Constructor Summary
Frequency()
          Creates the Frequency tool with defaults.
Frequency(Object inTable, Object outTable, Object frequencyFields)
          Creates the Frequency tool with the required parameters.
 
Method Summary
 Object getFrequencyFields()
          Returns the Frequency Field(s) parameter of this tool .
 Object getInTable()
          Returns the Input Table parameter of this tool .
 Object getOutTable()
          Returns the Output Table parameter of this tool .
 Object getSummaryFields()
          Returns the Summary Field(s) parameter of this tool .
 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 setFrequencyFields(Object frequencyFields)
          Sets the Frequency Field(s) parameter of this tool .
 void setInTable(Object inTable)
          Sets the Input Table parameter of this tool .
 void setOutTable(Object outTable)
          Sets the Output Table parameter of this tool .
 void setSummaryFields(Object summaryFields)
          Sets the Summary Field(s) 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

Frequency

public Frequency()
Creates the Frequency tool with defaults.

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


Frequency

public Frequency(Object inTable,
                 Object outTable,
                 Object frequencyFields)
Creates the Frequency 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 - Table View | Raster Layer, the table containing the field(s) that will be used to calculate frequency statistics. It can be an INFO or OLE DB table, a dBASE or a VPF table, or a feature class.
outTable - Table, the table that will store the calculated frequency statistics.
frequencyFields - Field, the attribute field or fields that will be used to calculate frequency statistics.
Method Detail

getInTable

public Object getInTable()
Returns the Input Table parameter of this tool . This parameter is Table View | Raster Layer, the table containing the field(s) that will be used to calculate frequency statistics. It can be an INFO or OLE DB table, a dBASE or a VPF table, or a feature class. This is a required parameter.

Returns:
the Input Table

setInTable

public void setInTable(Object inTable)
Sets the Input Table parameter of this tool . This parameter is Table View | Raster Layer, the table containing the field(s) that will be used to calculate frequency statistics. It can be an INFO or OLE DB table, a dBASE or a VPF table, or a feature class. This is a required parameter.

Parameters:
inTable - Table View | Raster Layer, the table containing the field(s) that will be used to calculate frequency statistics. It can be an INFO or OLE DB table, a dBASE or a VPF table, or a feature class.

getOutTable

public Object getOutTable()
Returns the Output Table parameter of this tool . This parameter is Table, the table that will store the calculated frequency statistics. This is a required parameter.

Returns:
the Output Table

setOutTable

public void setOutTable(Object outTable)
Sets the Output Table parameter of this tool . This parameter is Table, the table that will store the calculated frequency statistics. This is a required parameter.

Parameters:
outTable - Table, the table that will store the calculated frequency statistics.

getFrequencyFields

public Object getFrequencyFields()
Returns the Frequency Field(s) parameter of this tool . This parameter is Field, the attribute field or fields that will be used to calculate frequency statistics. This is a required parameter.

Returns:
the Frequency Field(s)

setFrequencyFields

public void setFrequencyFields(Object frequencyFields)
Sets the Frequency Field(s) parameter of this tool . This parameter is Field, the attribute field or fields that will be used to calculate frequency statistics. This is a required parameter.

Parameters:
frequencyFields - Field, the attribute field or fields that will be used to calculate frequency statistics.

getSummaryFields

public Object getSummaryFields()
Returns the Summary Field(s) parameter of this tool . This parameter is Field, the attribute field or fields to sum and add to the output table. Null values are excluded from this calculation. This is an optional parameter.

Returns:
the Summary Field(s)

setSummaryFields

public void setSummaryFields(Object summaryFields)
Sets the Summary Field(s) parameter of this tool . This parameter is Field, the attribute field or fields to sum and add to the output table. Null values are excluded from this calculation. This is an optional parameter.

Parameters:
summaryFields - Field, the attribute field or fields to sum and add to the output table. Null values are excluded from this calculation.

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