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.

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(java.lang.Object inputCADFile, java.lang.Object outputFeatureClass)
          Creates the CAD to Feature Class tool with the required parameters.
 
Method Summary
 java.lang.Object getFilterExpression()
          Returns the filter expression parameter of this tool .
 java.lang.Object getInputCADFile()
          Returns the input CAD file parameter of this tool .
 java.lang.Object getModifyOutputFields()
          Returns the modify output fields parameter of this tool .
 java.lang.Object getOutputFeatureClass()
          Returns the output feature class parameter of this tool .
 java.lang.String getSelectFeatureClassType()
          Returns the select feature class type parameter of this tool .
 java.lang.String getToolboxAlias()
          Returns the alias of the tool box containing this tool.
 java.lang.String getToolboxName()
          Returns the name of the tool box containing this tool.
 java.lang.String getToolName()
          Returns the name of this tool.
 void setFilterExpression(java.lang.Object filterExpression)
          Sets the filter expression parameter of this tool .
 void setInputCADFile(java.lang.Object inputCADFile)
          Sets the input CAD file parameter of this tool .
 void setModifyOutputFields(java.lang.Object modifyOutputFields)
          Sets the modify output fields parameter of this tool .
 void setOutputFeatureClass(java.lang.Object outputFeatureClass)
          Sets the output feature class parameter of this tool .
 void setSelectFeatureClassType(java.lang.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(java.lang.Object inputCADFile,
                         java.lang.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 - the CAD file that will be converted to an ArcGIS feature class.
outputFeatureClass - the feature class that will be created from the input CAD file.
Method Detail

getInputCADFile

public java.lang.Object getInputCADFile()
Returns the input CAD file parameter of this tool . This parameter is 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(java.lang.Object inputCADFile)
Sets the input CAD file parameter of this tool . This parameter is the CAD file that will be converted to an ArcGIS feature class. This is a required parameter.

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

getOutputFeatureClass

public java.lang.Object getOutputFeatureClass()
Returns the output feature class parameter of this tool . This parameter is 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(java.lang.Object outputFeatureClass)
Sets the output feature class parameter of this tool . This parameter is the feature class that will be created from the input CAD file. This is a required parameter.

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

getSelectFeatureClassType

public java.lang.String getSelectFeatureClassType()
Returns the select feature class type parameter of this tool . This parameter is 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(java.lang.String selectFeatureClassType)
Sets the select feature class type parameter of this tool . This parameter is the geometry type of the output feature class or shapefile. This is an optional parameter.

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

getFilterExpression

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

Returns:
the filter expression

setFilterExpression

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

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

getModifyOutputFields

public java.lang.Object getModifyOutputFields()
Returns the modify output fields parameter of this tool . This parameter is 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(java.lang.Object modifyOutputFields)
Sets the modify output fields parameter of this tool . This parameter is 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 - 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 java.lang.String getToolName()
Returns the name of this tool.

Returns:
the tool name

getToolboxName

public java.lang.String getToolboxName()
Returns the name of the tool box containing this tool.

Returns:
the tool box name

getToolboxAlias

public java.lang.String getToolboxAlias()
Returns the alias of the tool box containing this tool.

Returns:
the tool box alias