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

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

public class CompareReplicaSchema
extends AbstractGPTool

Generates an XML that describes schema differences between a replica geodatabase and the relative replica geodatabase. The Compare 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
CompareReplicaSchema()
          Creates the Compare Replica Schema tool with defaults.
CompareReplicaSchema(java.lang.Object inGeodatabase, java.lang.Object inSourceFile, java.lang.Object outputReplicaSchemaChangesFile)
          Creates the Compare Replica Schema tool with the required parameters.
 
Method Summary
 java.lang.Object getInGeodatabase()
          Returns the Compare to Replica Geodatabase parameter of this tool .
 java.lang.Object getInSourceFile()
          Returns the Relative Replica Schema File parameter of this tool .
 java.lang.Object getOutputReplicaSchemaChangesFile()
          Returns the Output Replica Schema Changes File parameter of this tool .
 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 Compare to Replica Geodatabase parameter of this tool .
 void setInSourceFile(java.lang.Object inSourceFile)
          Sets the Relative Replica Schema File parameter of this tool .
 void setOutputReplicaSchemaChangesFile(java.lang.Object outputReplicaSchemaChangesFile)
          Sets the Output 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

CompareReplicaSchema

public CompareReplicaSchema()
Creates the Compare Replica Schema tool with defaults.

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


CompareReplicaSchema

public CompareReplicaSchema(java.lang.Object inGeodatabase,
                            java.lang.Object inSourceFile,
                            java.lang.Object outputReplicaSchemaChangesFile)
Creates the Compare 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 compared. The geodatabase may be a local geodatabase or a geodata service.
inSourceFile - specifies the file which contains the relative replica schema to use for the comparison.
outputReplicaSchemaChangesFile - specifies the file to contain a description of the schema differences.
Method Detail

getInGeodatabase

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

Returns:
the Compare to Replica Geodatabase

setInGeodatabase

public void setInGeodatabase(java.lang.Object inGeodatabase)
Sets the Compare to Replica Geodatabase parameter of this tool . This parameter is specifies the replica geodatabase to which the replica schema will be compared. 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 compared. The geodatabase may be a local geodatabase or a geodata service.

getInSourceFile

public java.lang.Object getInSourceFile()
Returns the Relative Replica Schema File parameter of this tool . This parameter is specifies the file which contains the relative replica schema to use for the comparison. This is a required parameter.

Returns:
the Relative Replica Schema File

setInSourceFile

public void setInSourceFile(java.lang.Object inSourceFile)
Sets the Relative Replica Schema File parameter of this tool . This parameter is specifies the file which contains the relative replica schema to use for the comparison. This is a required parameter.

Parameters:
inSourceFile - specifies the file which contains the relative replica schema to use for the comparison.

getOutputReplicaSchemaChangesFile

public java.lang.Object getOutputReplicaSchemaChangesFile()
Returns the Output Replica Schema Changes File parameter of this tool . This parameter is specifies the file to contain a description of the schema differences. This is a required parameter.

Returns:
the Output Replica Schema Changes File

setOutputReplicaSchemaChangesFile

public void setOutputReplicaSchemaChangesFile(java.lang.Object outputReplicaSchemaChangesFile)
Sets the Output Replica Schema Changes File parameter of this tool . This parameter is specifies the file to contain a description of the schema differences. This is a required parameter.

Parameters:
outputReplicaSchemaChangesFile - specifies the file to contain a description of the schema differences.

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