com.esri.arcgis.geodatabase
Interface IGPReplica

All Superinterfaces:
java.io.Serializable
All Known Subinterfaces:
IGPReplica2
All Known Implementing Classes:
GPReplica, IGPReplica2Proxy, IGPReplicaProxy

public interface IGPReplica
extends java.io.Serializable

COM Interface 'IGPReplica'. Generated 3/19/2015 1:20:54 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 IIDa64e67f0_91d2_4b3f_8553_bc9f641cbc37
           
static int xxDummy
          Deprecated. Internal use only
 
Method Summary
 int getAccessType()
          Replica access type.
 java.lang.Object getCreationDate()
          The date the replica was created.
 java.lang.String getGUID()
          The guid of the replica.
 int getID()
          The ID of the replica.
 int getMyGenerationNumber()
          The generation number for the replica.
 java.lang.String getName()
          Name of the replica.
 int getReconcilePolicy()
          The replica reconcile policy.
 IGPReplicaDescription getReplicaDescription()
          The replica description for the replica.
 int getReplicaState()
          The replica state.
 java.lang.String getReplicaVersion()
          The name of the replica version.
 int getRole()
          The replica role.
 java.lang.String getSibConnectionString()
          The connection string of the relative replica.
 int getSibGenerationNumber()
          The generation number of the relative replica.
 int getSibMyGenerationNumber()
          The last generation number that has been acknowledged by the relative replica.
 void init(IReplica replica)
          Initializes the class using an IReplica object.
 boolean isHasConflicts()
          Indicates if the replica is in conflict.
 void setAccessType(int accessType)
          Replica access type.
 void setCreationDate(java.lang.Object replicaRole)
          The date the replica was created.
 void setGUID(java.lang.String gUID)
          The guid of the replica.
 void setHasConflicts(boolean hasConflicts)
          Indicates if the replica is in conflict.
 void setID(int replicaID)
          The ID of the replica.
 void setMyGenerationNumber(int pMyGenerationNumber)
          The generation number for the replica.
 void setName(java.lang.String replicaName)
          Name of the replica.
 void setReconcilePolicy(int policy)
          The replica reconcile policy.
 void setReplicaDescriptionByRef(IGPReplicaDescription replicaDescription)
          The replica description for the replica.
 void setReplicaState(int replicaState)
          The replica state.
 void setReplicaVersion(java.lang.String replicaVersion)
          The name of the replica version.
 void setRole(int replicaRole)
          The replica role.
 void setSibConnectionString(java.lang.String sibConnectionString)
          The connection string of the relative replica.
 void setSibGenerationNumber(int pSibGenerationNumber)
          The generation number of the relative replica.
 void setSibMyGenerationNumber(int pSibMyGenerationNumber)
          The last generation number that has been acknowledged by the relative replica.
 

Field Detail

IIDa64e67f0_91d2_4b3f_8553_bc9f641cbc37

static final int IIDa64e67f0_91d2_4b3f_8553_bc9f641cbc37
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

init

void init(IReplica replica)
          throws java.io.IOException,
                 AutomationException
Initializes the class using an IReplica object.

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

setName

void setName(java.lang.String replicaName)
             throws java.io.IOException,
                    AutomationException
Name of the replica.

Parameters:
replicaName - The replicaName (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getName

java.lang.String getName()
                         throws java.io.IOException,
                                AutomationException
Name of the replica.

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

setID

void setID(int replicaID)
           throws java.io.IOException,
                  AutomationException
The ID of the replica.

Parameters:
replicaID - The replicaID (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getID

int getID()
          throws java.io.IOException,
                 AutomationException
The ID of the replica.

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

setGUID

void setGUID(java.lang.String gUID)
             throws java.io.IOException,
                    AutomationException
The guid of the replica.

Parameters:
gUID - The gUID (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getGUID

java.lang.String getGUID()
                         throws java.io.IOException,
                                AutomationException
The guid of the replica.

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

setRole

void setRole(int replicaRole)
             throws java.io.IOException,
                    AutomationException
The replica role.

Parameters:
replicaRole - A com.esri.arcgis.geodatabase.esriReplicaRole constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getRole

int getRole()
            throws java.io.IOException,
                   AutomationException
The replica role.

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

setAccessType

void setAccessType(int accessType)
                   throws java.io.IOException,
                          AutomationException
Replica access type.

Parameters:
accessType - A com.esri.arcgis.geodatabase.esriReplicaAccessType constant (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.

setCreationDate

void setCreationDate(java.lang.Object replicaRole)
                     throws java.io.IOException,
                            AutomationException
The date the replica was created.

Parameters:
replicaRole - A Variant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCreationDate

java.lang.Object getCreationDate()
                                 throws java.io.IOException,
                                        AutomationException
The date the replica was created.

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

setReplicaVersion

void setReplicaVersion(java.lang.String replicaVersion)
                       throws java.io.IOException,
                              AutomationException
The name of the replica version.

Parameters:
replicaVersion - The replicaVersion (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getReplicaVersion

java.lang.String getReplicaVersion()
                                   throws java.io.IOException,
                                          AutomationException
The name of the replica version.

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

setMyGenerationNumber

void setMyGenerationNumber(int pMyGenerationNumber)
                           throws java.io.IOException,
                                  AutomationException
The generation number for the replica.

Parameters:
pMyGenerationNumber - The pMyGenerationNumber (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getMyGenerationNumber

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

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

setSibGenerationNumber

void setSibGenerationNumber(int pSibGenerationNumber)
                            throws java.io.IOException,
                                   AutomationException
The generation number of the relative replica.

Parameters:
pSibGenerationNumber - The pSibGenerationNumber (in)
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 of the relative replica.

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

setSibMyGenerationNumber

void setSibMyGenerationNumber(int pSibMyGenerationNumber)
                              throws java.io.IOException,
                                     AutomationException
The last generation number that has been acknowledged by the relative replica.

Parameters:
pSibMyGenerationNumber - The pSibMyGenerationNumber (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSibMyGenerationNumber

int getSibMyGenerationNumber()
                             throws java.io.IOException,
                                    AutomationException
The last generation number that has been acknowledged by the relative replica.

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

setReplicaState

void setReplicaState(int replicaState)
                     throws java.io.IOException,
                            AutomationException
The replica state.

Parameters:
replicaState - A com.esri.arcgis.geodatabase.esriReplicaState constant (in)
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.

setSibConnectionString

void setSibConnectionString(java.lang.String sibConnectionString)
                            throws java.io.IOException,
                                   AutomationException
The connection string of the relative replica.

Parameters:
sibConnectionString - The sibConnectionString (in)
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 connection string of the relative replica.

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

setReplicaDescriptionByRef

void setReplicaDescriptionByRef(IGPReplicaDescription replicaDescription)
                                throws java.io.IOException,
                                       AutomationException
The replica description for the replica.

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

getReplicaDescription

IGPReplicaDescription getReplicaDescription()
                                            throws java.io.IOException,
                                                   AutomationException
The replica description for the replica.

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

setReconcilePolicy

void setReconcilePolicy(int policy)
                        throws java.io.IOException,
                               AutomationException
The replica reconcile policy.

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

getReconcilePolicy

int getReconcilePolicy()
                       throws java.io.IOException,
                              AutomationException
The 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.

setHasConflicts

void setHasConflicts(boolean hasConflicts)
                     throws java.io.IOException,
                            AutomationException
Indicates if the replica is in conflict.

Parameters:
hasConflicts - The hasConflicts (in)
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 is in conflict.

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