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

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

public class CADtoFeatureClass
extends AbstractGPTool

Converts objects from a CAD file to a defined feature class type along with the point features that are near those CAD features. The CAD to Feature Class tool is contained in the Samples tool box.

Software restrictions: none

Usage tips:


Field Summary
 
Fields inherited from class com.esri.arcgis.geoprocessing.AbstractGPTool
vals
 
Constructor Summary
CADtoFeatureClass()
          Creates the CAD to Feature Class tool with defaults.
CADtoFeatureClass(Object inputCADFile, Object outputFeatureClass)
          Creates the CAD to Feature Class tool with the required parameters.
 
Method Summary
 Object getFilterExpression()
          Returns the filter expression parameter of this tool .
 Object getInputCADFile()
          Returns the input CAD file parameter of this tool .
 Object getModifyOutputFields()
          Returns the modify output fields parameter of this tool .
 Object getOutputFeatureClass()
          Returns the output feature class parameter of this tool .
 String getSelectFeatureClassType()
          Returns the select feature class type 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 setFilterExpression(Object filterExpression)
          Sets the filter expression parameter of this tool .
 void setInputCADFile(Object inputCADFile)
          Sets the input CAD file parameter of this tool .
 void setModifyOutputFields(Object modifyOutputFields)
          Sets the modify output fields parameter of this tool .
 void setOutputFeatureClass(Object outputFeatureClass)
          Sets the output feature class parameter of this tool .
 void setSelectFeatureClassType(String selectFeatureClassType)
          Sets the select feature class type 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

CADtoFeatureClass

public CADtoFeatureClass()
Creates the CAD to Feature Class tool with defaults.

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


CADtoFeatureClass

public CADtoFeatureClass(Object inputCADFile,
                         Object outputFeatureClass)
Creates the CAD to Feature Class 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:
inputCADFile - CAD Drawing Dataset, the CAD file that will be converted to an ArcGIS feature class.
outputFeatureClass - Feature Class, the feature class that will be created from the input CAD file.
Method Detail

getInputCADFile

public Object getInputCADFile()
Returns the input CAD file parameter of this tool . This parameter is CAD Drawing Dataset, the CAD file that will be converted to an ArcGIS feature class. This is a required parameter.

Returns:
the input CAD file

setInputCADFile

public void setInputCADFile(Object inputCADFile)
Sets the input CAD file parameter of this tool . This parameter is CAD Drawing Dataset, the CAD file that will be converted to an ArcGIS feature class. This is a required parameter.

Parameters:
inputCADFile - CAD Drawing Dataset, the CAD file that will be converted to an ArcGIS feature class.

getOutputFeatureClass

public Object getOutputFeatureClass()
Returns the output feature class parameter of this tool . This parameter is Feature Class, the feature class that will be created from the input CAD file. This is a required parameter.

Returns:
the output feature class

setOutputFeatureClass

public void setOutputFeatureClass(Object outputFeatureClass)
Sets the output feature class parameter of this tool . This parameter is Feature Class, the feature class that will be created from the input CAD file. This is a required parameter.

Parameters:
outputFeatureClass - Feature Class, the feature class that will be created from the input CAD file.

getSelectFeatureClassType

public String getSelectFeatureClassType()
Returns the select feature class type parameter of this tool . This parameter is String, the geometry type of the output feature class or shapefile. This is an optional parameter.

Returns:
the select feature class type

setSelectFeatureClassType

public void setSelectFeatureClassType(String selectFeatureClassType)
Sets the select feature class type parameter of this tool . This parameter is String, the geometry type of the output feature class or shapefile. This is an optional parameter.

Parameters:
selectFeatureClassType - String, the geometry type of the output feature class or shapefile.

getFilterExpression

public Object getFilterExpression()
Returns the filter expression parameter of this tool . This parameter is SQL Expression, the SQL query expression that will be used to select records. This is an optional parameter.

Returns:
the filter expression

setFilterExpression

public void setFilterExpression(Object filterExpression)
Sets the filter expression parameter of this tool . This parameter is SQL Expression, the SQL query expression that will be used to select records. This is an optional parameter.

Parameters:
filterExpression - SQL Expression, the SQL query expression that will be used to select records.

getModifyOutputFields

public Object getModifyOutputFields()
Returns the modify output fields parameter of this tool . This parameter is Field Info, the field info is used to review and alter the field names for the new layers fields. Fields can be hidden, and a split policy can be specified. This is an optional parameter.

Returns:
the modify output fields

setModifyOutputFields

public void setModifyOutputFields(Object modifyOutputFields)
Sets the modify output fields parameter of this tool . This parameter is Field Info, the field info is used to review and alter the field names for the new layers fields. Fields can be hidden, and a split policy can be specified. This is an optional parameter.

Parameters:
modifyOutputFields - Field Info, the field info is used to review and alter the field names for the new layers fields. Fields can be hidden, and a split policy can be specified.

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