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

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

public class ImportReplicaSchema
extends AbstractGPTool

Applies replica schema differences using an input replica geodatabase and XML schema file. The Import Replica Schema 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
ImportReplicaSchema()
          Creates the Import Replica Schema tool with defaults.
ImportReplicaSchema(java.lang.Object inGeodatabase, java.lang.Object inSource)
          Creates the Import Replica Schema tool with the required parameters.
 
Method Summary
 java.lang.Object getInGeodatabase()
          Returns the Import to Replica Geodatabase parameter of this tool .
 java.lang.Object getInSource()
          Returns the Replica Schema Changes File parameter of this tool .
 java.lang.Object getOutGeodatabase()
          Returns the Output Replica 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 setInGeodatabase(java.lang.Object inGeodatabase)
          Sets the Import to Replica Geodatabase parameter of this tool .
 void setInSource(java.lang.Object inSource)
          Sets the Replica Schema Changes File 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

ImportReplicaSchema

public ImportReplicaSchema()
Creates the Import Replica Schema tool with defaults.

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


ImportReplicaSchema

public ImportReplicaSchema(java.lang.Object inGeodatabase,
                           java.lang.Object inSource)
Creates the Import Replica Schema 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:
inGeodatabase - specifies the replica geodatabase to which the replica schema will be imported. The geodatabase may be a local geodatabase or a geodata service.
inSource - specifies the file which contains the replica schema to import.
Method Detail

getInGeodatabase

public java.lang.Object getInGeodatabase()
Returns the Import to Replica Geodatabase parameter of this tool . This parameter is specifies the replica geodatabase to which the replica schema will be imported. The geodatabase may be a local geodatabase or a geodata service. This is a required parameter.

Returns:
the Import to Replica Geodatabase

setInGeodatabase

public void setInGeodatabase(java.lang.Object inGeodatabase)
Sets the Import to Replica Geodatabase parameter of this tool . This parameter is specifies the replica geodatabase to which the replica schema will be imported. The geodatabase may be a local geodatabase or a geodata service. This is a required parameter.

Parameters:
inGeodatabase - specifies the replica geodatabase to which the replica schema will be imported. The geodatabase may be a local geodatabase or a geodata service.

getInSource

public java.lang.Object getInSource()
Returns the Replica Schema Changes File parameter of this tool . This parameter is specifies the file which contains the replica schema to import. This is a required parameter.

Returns:
the Replica Schema Changes File

setInSource

public void setInSource(java.lang.Object inSource)
Sets the Replica Schema Changes File parameter of this tool . This parameter is specifies the file which contains the replica schema to import. This is a required parameter.

Parameters:
inSource - specifies the file which contains the replica schema to import.

getOutGeodatabase

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

Returns:
the Output Replica 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