com.esri.arcgis.geoprocessing.tools.samples
Class PolygonFeatureClasstoCADLines

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

public class PolygonFeatureClasstoCADLines
extends AbstractGPTool

Converts polygon feature classes to a CAD file with bounding lines. The coincident lines where polygons touch will be simplified to a single line. The Polygon Feature Class to CAD Lines tool is contained in the Samples tool box.

Usage tips:


Field Summary
 
Fields inherited from class com.esri.arcgis.geoprocessing.AbstractGPTool
vals
 
Constructor Summary
PolygonFeatureClasstoCADLines()
          Creates the Polygon Feature Class to CAD Lines tool with defaults.
PolygonFeatureClasstoCADLines(Object inputFeatures, String outputType, Object outputFile)
          Creates the Polygon Feature Class to CAD Lines tool with the required parameters.
 
Method Summary
 Object getInputFeatures()
          Returns the input features parameter of this tool .
 Object getOutputFile()
          Returns the Output File parameter of this tool .
 String getOutputType()
          Returns the Output Type parameter of this tool .
 Object getSeedFile()
          Returns the Seed File 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 setInputFeatures(Object inputFeatures)
          Sets the input features parameter of this tool .
 void setOutputFile(Object outputFile)
          Sets the Output File parameter of this tool .
 void setOutputType(String outputType)
          Sets the Output Type parameter of this tool .
 void setSeedFile(Object seedFile)
          Sets the Seed File 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

PolygonFeatureClasstoCADLines

public PolygonFeatureClasstoCADLines()
Creates the Polygon Feature Class to CAD Lines tool with defaults.

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


PolygonFeatureClasstoCADLines

public PolygonFeatureClasstoCADLines(Object inputFeatures,
                                     String outputType,
                                     Object outputFile)
Creates the Polygon Feature Class to CAD Lines 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:
inputFeatures - the polygon feature class that will be used to create CAD lines.
outputType - null
outputFile - null
Method Detail

getInputFeatures

public Object getInputFeatures()
Returns the input features parameter of this tool . This parameter is the polygon feature class that will be used to create CAD lines. This is a required parameter.

Returns:
the input features

setInputFeatures

public void setInputFeatures(Object inputFeatures)
Sets the input features parameter of this tool . This parameter is the polygon feature class that will be used to create CAD lines. This is a required parameter.

Parameters:
inputFeatures - the polygon feature class that will be used to create CAD lines.

getOutputType

public String getOutputType()
Returns the Output Type parameter of this tool . This is a required parameter.

Returns:
the Output Type

setOutputType

public void setOutputType(String outputType)
Sets the Output Type parameter of this tool . This is a required parameter.

Parameters:
outputType - null

getSeedFile

public Object getSeedFile()
Returns the Seed File parameter of this tool . This is an optional parameter.

Returns:
the Seed File

setSeedFile

public void setSeedFile(Object seedFile)
Sets the Seed File parameter of this tool . This is an optional parameter.

Parameters:
seedFile - null

getOutputFile

public Object getOutputFile()
Returns the Output File parameter of this tool . This is a required parameter.

Returns:
the Output File

setOutputFile

public void setOutputFile(Object outputFile)
Sets the Output File parameter of this tool . This is a required parameter.

Parameters:
outputFile - null

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