com.esri.arcgis.geoprocessing.tools.datamanagementtools
Class CreateTable

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

public class CreateTable
extends AbstractGPTool

Creates an ArcSDE, file, or personal geodatabase table, or an INFO or dBASE table. The Create Table tool is contained in the Data Management Tools tool box.

Usage tips:


Field Summary
 
Fields inherited from class com.esri.arcgis.geoprocessing.AbstractGPTool
vals
 
Constructor Summary
CreateTable()
          Creates the Create Table tool with defaults.
CreateTable(Object outPath, String outName)
          Creates the Create Table tool with the required parameters.
 
Method Summary
 String getConfigKeyword()
          Returns the Configuration Keyword parameter of this tool .
 String getOutName()
          Returns the Table Name parameter of this tool .
 Object getOutPath()
          Returns the Table Location parameter of this tool .
 Object getOutTable()
          Returns the Output Table parameter of this tool (Read only).
 Object getTemplate()
          Returns the Template Table Name 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 setConfigKeyword(String configKeyword)
          Sets the Configuration Keyword parameter of this tool .
 void setOutName(String outName)
          Sets the Table Name parameter of this tool .
 void setOutPath(Object outPath)
          Sets the Table Location parameter of this tool .
 void setTemplate(Object template)
          Sets the Template Table Name 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

CreateTable

public CreateTable()
Creates the Create Table tool with defaults.

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


CreateTable

public CreateTable(Object outPath,
                   String outName)
Creates the Create 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:
outPath - the ArcSDE, file, or personal geodatabase or workspace in which the output table will be created.
outName - the name of the table to be created.
Method Detail

getOutPath

public Object getOutPath()
Returns the Table Location parameter of this tool . This parameter is the ArcSDE, file, or personal geodatabase or workspace in which the output table will be created. This is a required parameter.

Returns:
the Table Location

setOutPath

public void setOutPath(Object outPath)
Sets the Table Location parameter of this tool . This parameter is the ArcSDE, file, or personal geodatabase or workspace in which the output table will be created. This is a required parameter.

Parameters:
outPath - the ArcSDE, file, or personal geodatabase or workspace in which the output table will be created.

getOutName

public String getOutName()
Returns the Table Name parameter of this tool . This parameter is the name of the table to be created. This is a required parameter.

Returns:
the Table Name

setOutName

public void setOutName(String outName)
Sets the Table Name parameter of this tool . This parameter is the name of the table to be created. This is a required parameter.

Parameters:
outName - the name of the table to be created.

getTemplate

public Object getTemplate()
Returns the Template Table Name parameter of this tool . This parameter is a table whose attribute schema is used to define the output table. Fields in the template table(s) will be added to the output table. This is an optional parameter.

Returns:
the Template Table Name

setTemplate

public void setTemplate(Object template)
Sets the Template Table Name parameter of this tool . This parameter is a table whose attribute schema is used to define the output table. Fields in the template table(s) will be added to the output table. This is an optional parameter.

Parameters:
template - a table whose attribute schema is used to define the output table. Fields in the template table(s) will be added to the output table.

getConfigKeyword

public String getConfigKeyword()
Returns the Configuration Keyword parameter of this tool . This parameter is the configuration keyword that determines the storage parameters of the table in an ArcSDE geodatabase. 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 the configuration keyword that determines the storage parameters of the table in an ArcSDE geodatabase. This is an optional parameter.

Parameters:
configKeyword - the configuration keyword that determines the storage parameters of the table in an ArcSDE geodatabase.

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