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(Object inGeodatabase, Object inSource)
          Creates the Import Replica Schema tool with the required parameters.
 
Method Summary
 Object getInGeodatabase()
          Returns the Import to Replica Geodatabase parameter of this tool .
 Object getInSource()
          Returns the Replica Schema Changes File parameter of this tool .
 Object getOutGeodatabase()
          Returns the Output Replica Workspace 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.
 void setInGeodatabase(Object inGeodatabase)
          Sets the Import to Replica Geodatabase parameter of this tool .
 void setInSource(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(Object inGeodatabase,
                           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 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(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 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(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 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 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