com.esri.arcgis.geodatabase
Interface IReplicaDescription2

All Superinterfaces:
IReplicaDescription, Serializable
All Known Subinterfaces:
IReplicaDescription3, IReplicaDescription4
All Known Implementing Classes:
ReplicaDescription

public interface IReplicaDescription2
extends IReplicaDescription, Serializable

Provides access to members which set and return the properties of a ReplicaDescription object.

Product Availability

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


Method Summary
 IRelationshipClassInfo findRelationshipClassInfo(IRelationshipClassName rCName)
          Gets the relationship class description.
 IRelationshipClassInfo findRelationshipClassInfoByName(String name, String database, String owner)
          Gets the relationship class description.
 int findTable2(String name, String database, String owner, int type)
          Gets the index number of a dataset.
 IEnumRelationshipClassInfo getRelationshipClassesInfo()
          An enumeration that describes settings for each relationship class in the replica.
 boolean isFetchRelatedObjects()
          Indicates if related objects have been replicated or not.
 
Methods inherited from interface com.esri.arcgis.geodatabase.IReplicaDescription
addDatasetNames, findTable, getDatasetNames, getReplicaModelType, getTableName, getTableNameCount, init, isPrivateTable, isTableExcluded, setIsPrivateTable, setReplicaModelType, setTableExcluded
 

Method Detail

isFetchRelatedObjects

boolean isFetchRelatedObjects()
                              throws IOException,
                                     AutomationException
Indicates if related objects have been replicated or not.

Product Availability

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

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

findTable2

int findTable2(String name,
               String database,
               String owner,
               int type)
               throws IOException,
                      AutomationException
Gets the index number of a dataset.

Product Availability

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

Parameters:
name - The name (in)
database - The database (in)
owner - The owner (in)
type - A com.esri.arcgis.geodatabase.esriDatasetType constant (in)
Returns:
The index
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

findRelationshipClassInfoByName

IRelationshipClassInfo findRelationshipClassInfoByName(String name,
                                                       String database,
                                                       String owner)
                                                       throws IOException,
                                                              AutomationException
Gets the relationship class description.

Product Availability

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

Parameters:
name - The name (in)
database - The database (in)
owner - The owner (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IRelationshipClassInfo
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

findRelationshipClassInfo

IRelationshipClassInfo findRelationshipClassInfo(IRelationshipClassName rCName)
                                                 throws IOException,
                                                        AutomationException
Gets the relationship class description.

Product Availability

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

Parameters:
rCName - A reference to a com.esri.arcgis.geodatabase.IRelationshipClassName (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IRelationshipClassInfo
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getRelationshipClassesInfo

IEnumRelationshipClassInfo getRelationshipClassesInfo()
                                                      throws IOException,
                                                             AutomationException
An enumeration that describes settings for each relationship class in the replica.

Product Availability

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

Returns:
A reference to a com.esri.arcgis.geodatabase.IEnumRelationshipClassInfo
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.