com.esri.arcgis.geodatabase
Interface IReplicaDataset

All Superinterfaces:
Serializable
All Known Subinterfaces:
IReplicaDataset2
All Known Implementing Classes:
ReplicaDataset

public interface IReplicaDataset
extends Serializable

Provides access to members that return the properties of a replica dataset.

Description

See the IReplica::ReplicaDatasets method or the IWorkSpaceReplicaDatasets to find how to return ReplicaDatasets from a check-out.

The ParentDatabase , ParentOwner and Name properties uniquely identify the dataset in the master geodatabase.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.


Method Summary
 int getDatasetID()
          The ID of the dataset.
 String getName()
          The name of the dataset.
 String getParentDatabase()
          The name of the master geodatabase the dataset was checked out from.
 String getParentOwner()
          The owner of the dataset in the master geodatabase.
 int getReplicaID()
          The ID of the replica associated with this dataset.
 int getType()
          The type of the dataset.
 

Method Detail

getName

String getName()
               throws IOException,
                      AutomationException
The name of the dataset.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Returns:
The rName
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getType

int getType()
            throws IOException,
                   AutomationException
The type of the dataset.

Remarks

The Type property will return one of the following:

EsriDTFeatureClass
EsriDTTable
EsriDTRelationshipClass

From these objects, you can determine the associated feature datasets, geometric networks or topologies.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Returns:
A com.esri.arcgis.geodatabase.esriDatasetType constant
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDatasetID

int getDatasetID()
                 throws IOException,
                        AutomationException
The ID of the dataset.

Description

The DatasetID uniquely identifies the dataset (i.e. feature class, table or attributed relationship class) within the context of the workspace. This ID differs for corresponding datasets on the master and the check-out workspace.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Returns:
The datasetID
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getParentOwner

String getParentOwner()
                      throws IOException,
                             AutomationException
The owner of the dataset in the master geodatabase.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Returns:
The dsParentOwner
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getParentDatabase

String getParentDatabase()
                         throws IOException,
                                AutomationException
The name of the master geodatabase the dataset was checked out from.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Returns:
The dsParentDatabase
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getReplicaID

int getReplicaID()
                 throws IOException,
                        AutomationException
The ID of the replica associated with this dataset.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Returns:
The rID
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.