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

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

public class UpgradeGDB
extends AbstractGPTool

Upgrades a geodatabase to the latest release to take advantage of new functionality available in the latest release of ArcGIS. Valid input is a personal or file geodatabase or an sde connection file to an ArcSDE geodatabase. The Upgrade Geodatabase tool is contained in the Data Management Tools tool box.


Field Summary
 
Fields inherited from class com.esri.arcgis.geoprocessing.AbstractGPTool
vals
 
Constructor Summary
UpgradeGDB()
          Creates the Upgrade Geodatabase tool with defaults.
UpgradeGDB(java.lang.Object inputWorkspace, java.lang.String inputPrerequisiteCheck, java.lang.String inputUpgradegdbCheck)
          Creates the Upgrade Geodatabase tool with the required parameters.
 
Method Summary
 java.lang.String getInputPrerequisiteCheck()
          Returns the Perform Pre-requisite check parameter of this tool .
 java.lang.String getInputUpgradegdbCheck()
          Returns the Upgrade geodatabase parameter of this tool .
 java.lang.Object getInputWorkspace()
          Returns the Input geodatabase parameter of this tool .
 java.lang.Object getOutWorkspace()
          Returns the Output Workspace parameter of this tool (Read only).
 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 setInputPrerequisiteCheck(java.lang.String inputPrerequisiteCheck)
          Sets the Perform Pre-requisite check parameter of this tool .
 void setInputUpgradegdbCheck(java.lang.String inputUpgradegdbCheck)
          Sets the Upgrade geodatabase parameter of this tool .
 void setInputWorkspace(java.lang.Object inputWorkspace)
          Sets the Input geodatabase 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

UpgradeGDB

public UpgradeGDB()
Creates the Upgrade Geodatabase tool with defaults.

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


UpgradeGDB

public UpgradeGDB(java.lang.Object inputWorkspace,
                  java.lang.String inputPrerequisiteCheck,
                  java.lang.String inputUpgradegdbCheck)
Creates the Upgrade Geodatabase 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:
inputWorkspace - the personal, file, or ArcSDE geodatabase to be upgraded.
inputPrerequisiteCheck - specifies whether the prerequisite check is run prior to upgrading the geodatabase.
inputUpgradegdbCheck - null
Method Detail

getInputWorkspace

public java.lang.Object getInputWorkspace()
Returns the Input geodatabase parameter of this tool . This parameter is the personal, file, or ArcSDE geodatabase to be upgraded. This is a required parameter.

Returns:
the Input geodatabase

setInputWorkspace

public void setInputWorkspace(java.lang.Object inputWorkspace)
Sets the Input geodatabase parameter of this tool . This parameter is the personal, file, or ArcSDE geodatabase to be upgraded. This is a required parameter.

Parameters:
inputWorkspace - the personal, file, or ArcSDE geodatabase to be upgraded.

getInputPrerequisiteCheck

public java.lang.String getInputPrerequisiteCheck()
Returns the Perform Pre-requisite check parameter of this tool . This parameter is specifies whether the prerequisite check is run prior to upgrading the geodatabase. This is a required parameter.

Returns:
the Perform Pre-requisite check

setInputPrerequisiteCheck

public void setInputPrerequisiteCheck(java.lang.String inputPrerequisiteCheck)
Sets the Perform Pre-requisite check parameter of this tool . This parameter is specifies whether the prerequisite check is run prior to upgrading the geodatabase. This is a required parameter.

Parameters:
inputPrerequisiteCheck - specifies whether the prerequisite check is run prior to upgrading the geodatabase.

getInputUpgradegdbCheck

public java.lang.String getInputUpgradegdbCheck()
Returns the Upgrade geodatabase parameter of this tool . This is a required parameter.

Returns:
the Upgrade geodatabase

setInputUpgradegdbCheck

public void setInputUpgradegdbCheck(java.lang.String inputUpgradegdbCheck)
Sets the Upgrade geodatabase parameter of this tool . This is a required parameter.

Parameters:
inputUpgradegdbCheck - null

getOutWorkspace

public java.lang.Object getOutWorkspace()
Returns the Output Workspace parameter of this tool (Read only). This is an derived parameter.

Returns:
the Output Workspace

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