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

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

public class TableToTable
extends AbstractGPTool

Converts an input table to a dBASE or a personal, file, or ArcSDE geodatabase table. The Table to Table 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
TableToTable()
          Creates the Table to Table tool with defaults.
TableToTable(Object inRows, Object outPath, String outName)
          Creates the Table to Table 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 getInRows()
          Returns the Input Rows parameter of this tool .
 String getOutName()
          Returns the Output Table parameter of this tool .
 Object getOutPath()
          Returns the Output Location parameter of this tool .
 Object getOutTable()
          Returns the Output Table parameter of this tool (Read only).
 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 setInRows(Object inRows)
          Sets the Input Rows parameter of this tool .
 void setOutName(String outName)
          Sets the Output Table 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

TableToTable

public TableToTable()
Creates the Table to Table tool with defaults.

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


TableToTable

public TableToTable(Object inRows,
                    Object outPath,
                    String outName)
Creates the Table to Table 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:
inRows - Table View | Raster Layer, the input dBASE, INFO, OLE DB, or geodatabase table.
outPath - Workspace | Feature Dataset, this can be a geodatabase or a folder. If the output location is a folder, the output table will be a dBASE table.
outName - String, the name of the output table.
Method Detail

getInRows

public Object getInRows()
Returns the Input Rows parameter of this tool . This parameter is Table View | Raster Layer, the input dBASE, INFO, OLE DB, or geodatabase table. This is a required parameter.

Returns:
the Input Rows

setInRows

public void setInRows(Object inRows)
Sets the Input Rows parameter of this tool . This parameter is Table View | Raster Layer, the input dBASE, INFO, OLE DB, or geodatabase table. This is a required parameter.

Parameters:
inRows - Table View | Raster Layer, the input dBASE, INFO, OLE DB, or geodatabase table.

getOutPath

public Object getOutPath()
Returns the Output Location parameter of this tool . This parameter is Workspace | Feature Dataset, this can be a geodatabase or a folder. If the output location is a folder, the output table will be a dBASE table. 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, this can be a geodatabase or a folder. If the output location is a folder, the output table will be a dBASE table. This is a required parameter.

Parameters:
outPath - Workspace | Feature Dataset, this can be a geodatabase or a folder. If the output location is a folder, the output table will be a dBASE table.

getOutName

public String getOutName()
Returns the Output Table parameter of this tool . This parameter is String, the name of the output table. This is a required parameter.

Returns:
the Output Table

setOutName

public void setOutName(String outName)
Sets the Output Table parameter of this tool . This parameter is String, the name of the output table. This is a required parameter.

Parameters:
outName - String, the name of the output table.

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 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 are set up by your database administrator. This is an optional parameter.

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

getOutTable

public Object getOutTable()
Returns the Output Table parameter of this tool (Read only). This is an derived parameter.

Returns:
the Output Table

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