|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.geoprocessing.AbstractGPTool com.esri.arcgis.geoprocessing.tools.datamanagementtools.CreateReplica
public class CreateReplica
Creates a replica to a personal, file, or SDE geodatabase from a specified list of feature classes, layers, datasets, and/or tables in an ArcSDE geodatabase. The Create Replica tool is contained in the Data Management Tools tool box.
Field Summary |
---|
Fields inherited from class com.esri.arcgis.geoprocessing.AbstractGPTool |
---|
vals |
Constructor Summary | |
---|---|
CreateReplica()
Creates the Create Replica tool with defaults. |
|
CreateReplica(Object inData,
String inType,
Object outGeodatabase,
String outName,
String archiving)
Creates the Create Replica tool with the required parameters. |
Method Summary | |
---|---|
String |
getAccessType()
Returns the Replica Access Type parameter of this tool . |
String |
getArchiving()
Returns the Use archiving to track changes for 1 way replication parameter of this tool . |
String |
getExpandFeatureClassesAndTables()
Returns the Expand Feature Classes and Tables parameter of this tool . |
Object |
getGeometryFeatures()
Returns the Replica Geometry Features parameter of this tool . |
String |
getGetRelatedData()
Returns the Replicate Related Data parameter of this tool . |
Object |
getInData()
Returns the Replica Datasets parameter of this tool . |
String |
getInitialDataSender()
Returns the Initial Data Sender parameter of this tool . |
String |
getInType()
Returns the Replica Type parameter of this tool . |
Object |
getOutChildGeodatabase()
Returns the Output Child Workspace parameter of this tool (Read only). |
Object |
getOutGeodatabase()
Returns the Geodatabase to replicate data to parameter of this tool . |
String |
getOutName()
Returns the Replica Name parameter of this tool . |
String |
getOutputReplicaName()
Returns the Output Replica Name parameter of this tool (Read only). |
String |
getReuseSchema()
Returns the Re-use Schema 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 |
setAccessType(String accessType)
Sets the Replica Access Type parameter of this tool . |
void |
setArchiving(String archiving)
Sets the Use archiving to track changes for 1 way replication parameter of this tool . |
void |
setExpandFeatureClassesAndTables(String expandFeatureClassesAndTables)
Sets the Expand Feature Classes and Tables parameter of this tool . |
void |
setGeometryFeatures(Object geometryFeatures)
Sets the Replica Geometry Features parameter of this tool . |
void |
setGetRelatedData(String getRelatedData)
Sets the Replicate Related Data parameter of this tool . |
void |
setInData(Object inData)
Sets the Replica Datasets parameter of this tool . |
void |
setInitialDataSender(String initialDataSender)
Sets the Initial Data Sender parameter of this tool . |
void |
setInType(String inType)
Sets the Replica Type parameter of this tool . |
void |
setOutGeodatabase(Object outGeodatabase)
Sets the Geodatabase to replicate data to parameter of this tool . |
void |
setOutName(String outName)
Sets the Replica Name parameter of this tool . |
void |
setReuseSchema(String reuseSchema)
Sets the Re-use Schema 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 |
---|
public CreateReplica()
Initializes the array of tool parameters with the default values specified when the tool was created.
public CreateReplica(Object inData, String inType, Object outGeodatabase, String outName, String archiving)
Initializes the array of tool parameters with the values as specified for the required parameters and with the default values for the other parameters.
inData
- the data to be replicated. This list consists of layers and tables referencing versioned, editable data from an ArcSDE geodatabase.inType
- the kind of replica to create.outGeodatabase
- the local geodatabase or geodata service that will host the child replica. Geodata services are used to represent remote geodatabases. The geodatabase can be an ArcSDE, file, or personal geodatabase. For two-way replicas the child geodatabase must be ArcSDE. For one-way and check-out replicas the geodatabase can be personal, file, or ArcSDE. Personal or file geodatabases must already exist before running this tool.outName
- the name that identifies the replica.archiving
- specifies whether to use the archive class to track changes instead of using the versioning delta tables. This is only available for one-way replicas.Method Detail |
---|
public Object getInData()
public void setInData(Object inData)
inData
- the data to be replicated. This list consists of layers and tables referencing versioned, editable data from an ArcSDE geodatabase.public String getInType()
public void setInType(String inType)
inType
- the kind of replica to create.public Object getOutGeodatabase()
public void setOutGeodatabase(Object outGeodatabase)
outGeodatabase
- the local geodatabase or geodata service that will host the child replica. Geodata services are used to represent remote geodatabases. The geodatabase can be an ArcSDE, file, or personal geodatabase. For two-way replicas the child geodatabase must be ArcSDE. For one-way and check-out replicas the geodatabase can be personal, file, or ArcSDE. Personal or file geodatabases must already exist before running this tool.public String getOutName()
public void setOutName(String outName)
outName
- the name that identifies the replica.public String getAccessType()
public void setAccessType(String accessType)
accessType
- the type of access you want:public String getInitialDataSender()
public void setInitialDataSender(String initialDataSender)
initialDataSender
- used by replication to determine which replica can send changes when in disconnected mode. If you are working in a connected mode, this parameter is inconsequential. This ensures that the relative replica doesn't send updates until the changes are first received from the initial data sender.public String getExpandFeatureClassesAndTables()
public void setExpandFeatureClassesAndTables(String expandFeatureClassesAndTables)
expandFeatureClassesAndTables
- specifies whether you will include expanded feature classes and tables, such as those found in geometric networks, topologies, or relationship classes.public String getReuseSchema()
public void setReuseSchema(String reuseSchema)
reuseSchema
- indicates whether to reuse a geodatabase that contains the schema of the data you want to replicate. This reduces the amount of time required to replicate the data. This option is only available for check-out replicas.public String getGetRelatedData()
public void setGetRelatedData(String getRelatedData)
getRelatedData
- specifies whether to replicate rows related to rows already in the replica. For example, consider a feature (f1) inside the replication filter and a related feature (f2) from another class outside the filter. Feature f2 is included in the replica if you choose to get related data.public Object getGeometryFeatures()
public void setGeometryFeatures(Object geometryFeatures)
geometryFeatures
- the features used to define the area to replicate.public String getArchiving()
public void setArchiving(String archiving)
archiving
- specifies whether to use the archive class to track changes instead of using the versioning delta tables. This is only available for one-way replicas.public Object getOutChildGeodatabase()
public String getOutputReplicaName()
public String getToolName()
public String getToolboxName()
public String getToolboxAlias()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |