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.
Learn more about how Dissolve works

Software restrictions: none

Illustration:

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 - Feature Layer, the features to be aggregated.
outFeatureClass - Feature Class, the feature class to be created where the resulting features will be written.
Method Detail

getInFeatures

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

Parameters:
inFeatures - Feature Layer, the features to be aggregated.

getOutFeatureClass

public Object getOutFeatureClass()
Returns the Output Feature Class parameter of this tool . This parameter is Feature Class, the feature class to be created where the resulting features will be written. 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 Feature Class, the feature class to be created where the resulting features will be written. This is a required parameter.

Parameters:
outFeatureClass - Feature Class, the feature class to be created where the resulting features will be written.

getDissolveField

public Object getDissolveField()
Returns the Dissolve_Field(s) parameter of this tool . This parameter is Field, 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 Field, 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 - Field, 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 (Field String; Field String;...), numeric attribute fields may be summarized using any statistic: Sum, Mean, Max, Min, Range, Std, First, or Last. 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 (Field String; Field String;...), numeric attribute fields may be summarized using any statistic: Sum, Mean, Max, Min, Range, Std, First, or Last. This is an optional parameter.

Parameters:
statisticsFields - (Field String; Field String;...), numeric attribute fields may be summarized using any statistic: Sum, Mean, Max, Min, Range, Std, First, or Last.

getMultiPart

public String getMultiPart()
Returns the Create multipart features parameter of this tool . This parameter is String, 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 String, specifies whether multipart features are allowed in the output feature class. This is an optional parameter.

Parameters:
multiPart - String, 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 String, 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 String, controls how line features are dissolved. This is an optional parameter.

Parameters:
unsplitLines - String, 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