com.esri.arcgis.geodatabase
Interface IReplica2

All Superinterfaces:
IReplica, java.io.Serializable
All Known Subinterfaces:
IReplica3
All Known Implementing Classes:
IReplica2Proxy, IReplica3Proxy, Replica

public interface IReplica2
extends IReplica, java.io.Serializable

COM Interface 'IReplica2'. Generated 3/19/2015 1:20:56 PM from 'C:\ArcGIS\COM\esriGeoDatabase.olb'

Description: 'Provides access to members that get information about a replica.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =


Field Summary
static java.lang.String IID
          Deprecated. Internal use only
static int IID3b29c4b9_4989_4871_8006_57dcc67f59d9
           
static int xxDummy
          Deprecated. Internal use only
 
Fields inherited from interface com.esri.arcgis.geodatabase.IReplica
IIDc475452c_72f3_4277_9fb7_fd8099665cec
 
Method Summary
 int getAccessType()
          Replica access type.
 IEnumReplicaDataset getAllReplicaDatasets()
          The replica datasets for the replica.
 IEnumReplicaLog getLog()
          Replica log associated with this replica.
 int getMyGenerationNumber()
          The generation number for a replica.
 int getReconcilePolicyType()
          Replica reconcile policy.
 java.lang.String getReplicaReceivingVersion()
          The replica version that recieves the changes.
 int getReplicaState()
          The replica state.
 java.lang.String getSibConnectionString()
          The sib connection string for a replica.
 int getSibGenerationNumber()
          The generation number for a replica's sibling.
 int getSibMyGenNumber()
          The generation number that the sibling thinks is my generation number.
 void init2(IGPReplica gPReplica, IWorkspace targetWorkspace)
          Initializes a replica from a gpreplica.
 boolean isHasConflicts()
          Indicates if the replica sync has conflicts.
 
Methods inherited from interface com.esri.arcgis.geodatabase.IReplica
getConnectionInfo, getDescription, getName, getOwner, getParentID, getReplicaDatasets, getReplicaDate, getReplicaGuid, getReplicaID, getReplicaRole, getVersion
 

Field Detail

IID3b29c4b9_4989_4871_8006_57dcc67f59d9

static final int IID3b29c4b9_4989_4871_8006_57dcc67f59d9
See Also:
Constant Field Values

xxDummy

static final int xxDummy
Deprecated. Internal use only
See Also:
Constant Field Values

IID

static final java.lang.String IID
Deprecated. Internal use only
See Also:
Constant Field Values
Method Detail

getMyGenerationNumber

int getMyGenerationNumber()
                          throws java.io.IOException,
                                 AutomationException
The generation number for a replica.

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

getSibGenerationNumber

int getSibGenerationNumber()
                           throws java.io.IOException,
                                  AutomationException
The generation number for a replica's sibling.

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

getSibMyGenNumber

int getSibMyGenNumber()
                      throws java.io.IOException,
                             AutomationException
The generation number that the sibling thinks is my generation number.

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

getLog

IEnumReplicaLog getLog()
                       throws java.io.IOException,
                              AutomationException
Replica log associated with this replica.

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

getAllReplicaDatasets

IEnumReplicaDataset getAllReplicaDatasets()
                                          throws java.io.IOException,
                                                 AutomationException
The replica datasets for the replica.

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

init2

void init2(IGPReplica gPReplica,
           IWorkspace targetWorkspace)
           throws java.io.IOException,
                  AutomationException
Initializes a replica from a gpreplica.

Parameters:
gPReplica - A reference to a com.esri.arcgis.geodatabase.IGPReplica (in)
targetWorkspace - A reference to a com.esri.arcgis.geodatabase.IWorkspace (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getAccessType

int getAccessType()
                  throws java.io.IOException,
                         AutomationException
Replica access type.

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

getReconcilePolicyType

int getReconcilePolicyType()
                           throws java.io.IOException,
                                  AutomationException
Replica reconcile policy.

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

isHasConflicts

boolean isHasConflicts()
                       throws java.io.IOException,
                              AutomationException
Indicates if the replica sync has conflicts.

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

getReplicaReceivingVersion

java.lang.String getReplicaReceivingVersion()
                                            throws java.io.IOException,
                                                   AutomationException
The replica version that recieves the changes.

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

getReplicaState

int getReplicaState()
                    throws java.io.IOException,
                           AutomationException
The replica state.

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

getSibConnectionString

java.lang.String getSibConnectionString()
                                        throws java.io.IOException,
                                               AutomationException
The sib connection string for a replica.

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