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 a report file XML comparing an input replica geodatabase and an XML schema file or geodatabase The Compare Replica Schema tool is contained in the Data Management Tools tool box.

Software restrictions: ArcInfo and ArcEditor only

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(Object inGeodatabase, Object inSourceFile, Object outputReplicaSchemaChangesFile)
          Creates the Compare Replica Schema tool with the required parameters.
 
Method Summary
 Object getInGeodatabase()
          Returns the Compare to Replica Geodatabase parameter of this tool .
 Object getInSourceFile()
          Returns the Relative Replica Schema File parameter of this tool .
 Object getOutputReplicaSchemaChangesFile()
          Returns the Output Replica Schema Changes File 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 setInGeodatabase(Object inGeodatabase)
          Sets the Compare to Replica Geodatabase parameter of this tool .
 void setInSourceFile(Object inSourceFile)
          Sets the Relative Replica Schema File parameter of this tool .
 void setOutputReplicaSchemaChangesFile(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(Object inGeodatabase,
                            Object inSourceFile,
                            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 - null
inSourceFile - File, specifies the file which contains the replica schema to use for the comparison.
outputReplicaSchemaChangesFile - null
Method Detail

getInGeodatabase

public Object getInGeodatabase()
Returns the Compare to Replica Geodatabase parameter of this tool . This is a required parameter.

Returns:
the Compare to Replica Geodatabase

setInGeodatabase

public void setInGeodatabase(Object inGeodatabase)
Sets the Compare to Replica Geodatabase parameter of this tool . This is a required parameter.

Parameters:
inGeodatabase - null

getInSourceFile

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

Returns:
the Relative Replica Schema File

setInSourceFile

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

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

getOutputReplicaSchemaChangesFile

public Object getOutputReplicaSchemaChangesFile()
Returns the Output Replica Schema Changes File parameter of this tool . This is a required parameter.

Returns:
the Output Replica Schema Changes File

setOutputReplicaSchemaChangesFile

public void setOutputReplicaSchemaChangesFile(Object outputReplicaSchemaChangesFile)
Sets the Output Replica Schema Changes File parameter of this tool . This is a required parameter.

Parameters:
outputReplicaSchemaChangesFile - null

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