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

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

public class Dissolve
extends AbstractGPTool

Aggregates features based on specified attributes. The Dissolve 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
Dissolve()
          Creates the Dissolve tool with defaults.
Dissolve(Object inFeatures, Object outFeatureClass)
          Creates the Dissolve tool with the required parameters.
 
Method Summary
 Object getDissolveField()
          Returns the Dissolve_Field(s) parameter of this tool .
 Object getInFeatures()
          Returns the Input Features parameter of this tool .
 String getMultiPart()
          Returns the Create multipart features parameter of this tool .
 Object getOutFeatureClass()
          Returns the Output Feature Class parameter of this tool .
 Object getStatisticsFields()
          Returns the Statistics 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.
 String getUnsplitLines()
          Returns the Unsplit lines parameter of this tool .
 void setDissolveField(Object dissolveField)
          Sets the Dissolve_Field(s) parameter of this tool .
 void setInFeatures(Object inFeatures)
          Sets the Input Features parameter of this tool .
 void setMultiPart(String multiPart)
          Sets the Create multipart features parameter of this tool .
 void setOutFeatureClass(Object outFeatureClass)
          Sets the Output Feature Class parameter of this tool .
 void setStatisticsFields(Object statisticsFields)
          Sets the Statistics Field(s) parameter of this tool .
 void setUnsplitLines(String unsplitLines)
          Sets the Unsplit lines 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

Dissolve

public Dissolve()
Creates the Dissolve tool with defaults.

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


Dissolve

public Dissolve(Object inFeatures,
                Object outFeatureClass)
Creates the Dissolve 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 features to be aggregated.
outFeatureClass - the feature class to be created that will contain the aggregated features.
Method Detail

getInFeatures

public Object getInFeatures()
Returns the Input Features parameter of this tool . This parameter is the features to be aggregated. 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 features to be aggregated. This is a required parameter.

Parameters:
inFeatures - the features to be aggregated.

getOutFeatureClass

public Object getOutFeatureClass()
Returns the Output Feature Class parameter of this tool . This parameter is the feature class to be created that will contain the aggregated features. This is a required parameter.

Returns:
the Output Feature Class

setOutFeatureClass

public void setOutFeatureClass(Object outFeatureClass)
Sets the Output Feature Class parameter of this tool . This parameter is the feature class to be created that will contain the aggregated features. This is a required parameter.

Parameters:
outFeatureClass - the feature class to be created that will contain the aggregated features.

getDissolveField

public Object getDissolveField()
Returns the Dissolve_Field(s) parameter of this tool . This parameter is the field or fields on which to aggregate features. the Add Field button, which is used only in ModelBuilder, allows you to add expected fields so you can complete the dialog and continue to build your model. This is an optional parameter.

Returns:
the Dissolve_Field(s)

setDissolveField

public void setDissolveField(Object dissolveField)
Sets the Dissolve_Field(s) parameter of this tool . This parameter is the field or fields on which to aggregate features. the Add Field button, which is used only in ModelBuilder, allows you to add expected fields so you can complete the dialog and continue to build your model. This is an optional parameter.

Parameters:
dissolveField - the field or fields on which to aggregate features. the Add Field button, which is used only in ModelBuilder, allows you to add expected fields so you can complete the dialog and continue to build your model.

getStatisticsFields

public Object getStatisticsFields()
Returns the Statistics Field(s) parameter of this tool . This parameter is the fields and statistics with which to summarize attributes. Text attribute fields may be summarized using the statistics FIRST or LAST. Numeric attribute fields may be summarized using any statistic. Nulls are excluded from all statistical calculations. This is an optional parameter.

Returns:
the Statistics Field(s)

setStatisticsFields

public void setStatisticsFields(Object statisticsFields)
Sets the Statistics Field(s) parameter of this tool . This parameter is the fields and statistics with which to summarize attributes. Text attribute fields may be summarized using the statistics FIRST or LAST. Numeric attribute fields may be summarized using any statistic. Nulls are excluded from all statistical calculations. This is an optional parameter.

Parameters:
statisticsFields - the fields and statistics with which to summarize attributes. Text attribute fields may be summarized using the statistics FIRST or LAST. Numeric attribute fields may be summarized using any statistic. Nulls are excluded from all statistical calculations.

getMultiPart

public String getMultiPart()
Returns the Create multipart features parameter of this tool . This parameter is specifies whether multipart features are allowed in the output feature class. This is an optional parameter.

Returns:
the Create multipart features

setMultiPart

public void setMultiPart(String multiPart)
Sets the Create multipart features parameter of this tool . This parameter is specifies whether multipart features are allowed in the output feature class. This is an optional parameter.

Parameters:
multiPart - specifies whether multipart features are allowed in the output feature class.

getUnsplitLines

public String getUnsplitLines()
Returns the Unsplit lines parameter of this tool . This parameter is controls how line features are dissolved. This is an optional parameter.

Returns:
the Unsplit lines

setUnsplitLines

public void setUnsplitLines(String unsplitLines)
Sets the Unsplit lines parameter of this tool . This parameter is controls how line features are dissolved. This is an optional parameter.

Parameters:
unsplitLines - controls how line features are dissolved.

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