com.esri.arcgis.geoprocessing.tools.conversiontools
Class FeatureClassToFeatureClass

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

public class FeatureClassToFeatureClass
extends AbstractGPTool

Converts a shapefile, coverage feature class, or geodatabase feature class to a shapefile or geodatabase feature class. The Feature Class to Feature Class tool is contained in the Conversion Tools tool box.

Software restrictions: none

Usage tips:


Field Summary
 
Fields inherited from class com.esri.arcgis.geoprocessing.AbstractGPTool
vals
 
Constructor Summary
FeatureClassToFeatureClass()
          Creates the Feature Class to Feature Class tool with defaults.
FeatureClassToFeatureClass(Object inFeatures, Object outPath, String outName)
          Creates the Feature Class to Feature Class tool with the required parameters.
 
Method Summary
 String getConfigKeyword()
          Returns the Configuration Keyword parameter of this tool .
 Object getFieldMapping()
          Returns the Field Map parameter of this tool .
 Object getInFeatures()
          Returns the Input Features parameter of this tool .
 Object getOutFeatureClass()
          Returns the Output Feature Class parameter of this tool (Read only).
 String getOutName()
          Returns the Output Feature Class parameter of this tool .
 Object getOutPath()
          Returns the Output Location 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.
 Object getWhereClause()
          Returns the Expression parameter of this tool .
 void setConfigKeyword(String configKeyword)
          Sets the Configuration Keyword parameter of this tool .
 void setFieldMapping(Object fieldMapping)
          Sets the Field Map parameter of this tool .
 void setInFeatures(Object inFeatures)
          Sets the Input Features parameter of this tool .
 void setOutName(String outName)
          Sets the Output Feature Class parameter of this tool .
 void setOutPath(Object outPath)
          Sets the Output Location parameter of this tool .
 void setWhereClause(Object whereClause)
          Sets the Expression 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

FeatureClassToFeatureClass

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

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


FeatureClassToFeatureClass

public FeatureClassToFeatureClass(Object inFeatures,
                                  Object outPath,
                                  String outName)
Creates the Feature Class 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:
inFeatures - null
outPath - Workspace | Feature Dataset, the location in which the Output Feature Class will be created. This can be either a geodatabase or a folder. If the Output Location is a folder, the output will be a shapefile.
outName - String, the name of the output feature class.
Method Detail

getInFeatures

public Object getInFeatures()
Returns the Input Features parameter of this tool . This is a required parameter.

Returns:
the Input Features

setInFeatures

public void setInFeatures(Object inFeatures)
Sets the Input Features parameter of this tool . This is a required parameter.

Parameters:
inFeatures - null

getOutPath

public Object getOutPath()
Returns the Output Location parameter of this tool . This parameter is Workspace | Feature Dataset, the location in which the Output Feature Class will be created. This can be either a geodatabase or a folder. If the Output Location is a folder, the output will be a shapefile. This is a required parameter.

Returns:
the Output Location

setOutPath

public void setOutPath(Object outPath)
Sets the Output Location parameter of this tool . This parameter is Workspace | Feature Dataset, the location in which the Output Feature Class will be created. This can be either a geodatabase or a folder. If the Output Location is a folder, the output will be a shapefile. This is a required parameter.

Parameters:
outPath - Workspace | Feature Dataset, the location in which the Output Feature Class will be created. This can be either a geodatabase or a folder. If the Output Location is a folder, the output will be a shapefile.

getOutName

public String getOutName()
Returns the Output Feature Class parameter of this tool . This parameter is String, the name of the output feature class. This is a required parameter.

Returns:
the Output Feature Class

setOutName

public void setOutName(String outName)
Sets the Output Feature Class parameter of this tool . This parameter is String, the name of the output feature class. This is a required parameter.

Parameters:
outName - String, the name of the output feature class.

getWhereClause

public Object getWhereClause()
Returns the Expression parameter of this tool . This parameter is SQL Expression, for more information on SQL syntax and how it differs between data sources, see This is an optional parameter.

Returns:
the Expression

setWhereClause

public void setWhereClause(Object whereClause)
Sets the Expression parameter of this tool . This parameter is SQL Expression, for more information on SQL syntax and how it differs between data sources, see This is an optional parameter.

Parameters:
whereClause - SQL Expression, for more information on SQL syntax and how it differs between data sources, see

getFieldMapping

public Object getFieldMapping()
Returns the Field Map parameter of this tool . This parameter is Field Mappings, for each Field Map, you can add, rename, or delete output fields as well as set properties such as data type and merge rule. You can also delete an output field's sub fields, and you can format any output field's values if the data type is text. This is an optional parameter.

Returns:
the Field Map

setFieldMapping

public void setFieldMapping(Object fieldMapping)
Sets the Field Map parameter of this tool . This parameter is Field Mappings, for each Field Map, you can add, rename, or delete output fields as well as set properties such as data type and merge rule. You can also delete an output field's sub fields, and you can format any output field's values if the data type is text. This is an optional parameter.

Parameters:
fieldMapping - Field Mappings, for each Field Map, you can add, rename, or delete output fields as well as set properties such as data type and merge rule. You can also delete an output field's sub fields, and you can format any output field's values if the data type is text.

getConfigKeyword

public String getConfigKeyword()
Returns the Configuration Keyword parameter of this tool . This parameter is String, arcSDE configuration keywords for ArcSDE Enterprise Edition are set up by your database administrator. This is an optional parameter.

Returns:
the Configuration Keyword

setConfigKeyword

public void setConfigKeyword(String configKeyword)
Sets the Configuration Keyword parameter of this tool . This parameter is String, arcSDE configuration keywords for ArcSDE Enterprise Edition are set up by your database administrator. This is an optional parameter.

Parameters:
configKeyword - String, arcSDE configuration keywords for ArcSDE Enterprise Edition are set up by your database administrator.

getOutFeatureClass

public Object getOutFeatureClass()
Returns the Output Feature Class parameter of this tool (Read only). This is an derived parameter.

Returns:
the Output Feature Class

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