com.esri.arcgis.geodatabasedistributed
Class IEnumSchemaChangeProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.geodatabasedistributed.IEnumSchemaChangeProxy
All Implemented Interfaces:
IEnumSchemaChange, Externalizable, Serializable

public class IEnumSchemaChangeProxy
extends com.esri.arcgis.interop.Dispatch
implements IEnumSchemaChange, Serializable

Provides access to the replica schema changes.

Remarks

Provides access to members that enumerate through replica schema changes.

Product Availability

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

See Also:
Serialized Form

Field Summary
 boolean noncastable
           
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef
 
Constructor Summary
  IEnumSchemaChangeProxy()
           
  IEnumSchemaChangeProxy(Object obj)
           
protected IEnumSchemaChangeProxy(Object obj, String iid)
           
 
Method Summary
 void addListener(String iidStr, Object theListener, Object theSource)
           
 ISchemaChangeInfo getDatasetChanges(String name, int dsType)
          The schema changes for a specific dataset.
 ISchemaChangeInfo getDomainChanges(String domainName)
          The schema changes for a specific domain.
 IReplica getToReplica()
          The replica the schema changes will be applied to.
 boolean hasChanges()
          Indicates if there are schema changes.
 ISchemaChangeInfo next()
          The next schema change in the enumeration sequence.
 void removeListener(String iidStr, Object theListener)
           
 void reset()
          Resets the enumeration sequence to the beginning.
 
Methods inherited from class com.esri.arcgis.interop.Dispatch
bindUsingMoniker, constructVtblPosTable, convertToNative, cookieForListener, createDispatch, createObjrefMonikerDisplayName, equals, getActiveObject, getActiveObject, getDefaultProperty, getDispatchIdOfName, getLastErrorCode, getMtsObjectContext, getObjRef, getPropertyByName, getPropertyByName, getVtblPos, hashCode, initDispatch, invoke, invokeMethodByName, invokeMethodByName, invokeMethodByName, invokePropertyGetByName, invokePropertyPutByName, invokePropertyPutByRefByName, isNativeMode, isObjRef, optimizedVtblInvoke, queryInterface, readExternal, release, setNativeMode, setPropertyByName, toString, vtblInvoke, writeExternal
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

noncastable

public boolean noncastable
Constructor Detail

IEnumSchemaChangeProxy

public IEnumSchemaChangeProxy()

IEnumSchemaChangeProxy

public IEnumSchemaChangeProxy(Object obj)
                       throws IOException
Throws:
IOException

IEnumSchemaChangeProxy

protected IEnumSchemaChangeProxy(Object obj,
                                 String iid)
                          throws IOException
Throws:
IOException
Method Detail

addListener

public void addListener(String iidStr,
                        Object theListener,
                        Object theSource)
                 throws IOException
Overrides:
addListener in class com.esri.arcgis.interop.Dispatch
Throws:
IOException

removeListener

public void removeListener(String iidStr,
                           Object theListener)
                    throws IOException
Overrides:
removeListener in class com.esri.arcgis.interop.Dispatch
Throws:
IOException

reset

public void reset()
           throws IOException,
                  AutomationException
Resets the enumeration sequence to the beginning.

Description

Resets the enumerator such that a subsequent next call returns the first schema change in the enumeration.

Product Availability

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

Specified by:
reset in interface IEnumSchemaChange
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

next

public ISchemaChangeInfo next()
                       throws IOException,
                              AutomationException
The next schema change in the enumeration sequence.

Remarks

This method returns the next schema changes as an object that implements ISchemaChangeInfo.

Product Availability

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

Specified by:
next in interface IEnumSchemaChange
Returns:
A reference to a com.esri.arcgis.geodatabasedistributed.ISchemaChangeInfo
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDomainChanges

public ISchemaChangeInfo getDomainChanges(String domainName)
                                   throws IOException,
                                          AutomationException
The schema changes for a specific domain.

Remarks

This method returns only the schema changes for a specific domain. This method returns a reference to ISchemaChangesInfo.

The domainName is a string name of the domain.

Product Availability

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

Specified by:
getDomainChanges in interface IEnumSchemaChange
Parameters:
domainName - The domainName (in)
Returns:
A reference to a com.esri.arcgis.geodatabasedistributed.ISchemaChangeInfo
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDatasetChanges

public ISchemaChangeInfo getDatasetChanges(String name,
                                           int dsType)
                                    throws IOException,
                                           AutomationException
The schema changes for a specific dataset.

Remarks

This method returns only the schema changes for a specific dataset. This method returns a reference to ISchemaChangesInfo.

The dsName is a string name of the dataset. The dsType uses the esriDatasetType enumeration to specify the type of dataset specified.

Product Availability

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

Specified by:
getDatasetChanges in interface IEnumSchemaChange
Parameters:
name - The name (in)
dsType - A com.esri.arcgis.geodatabase.esriDatasetType constant (in)
Returns:
A reference to a com.esri.arcgis.geodatabasedistributed.ISchemaChangeInfo
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

hasChanges

public boolean hasChanges()
                   throws IOException,
                          AutomationException
Indicates if there are schema changes.

Description

The HasChanges property returns TRUE if there are schema changes, it returns FALSE if there are no schema differences.

Product Availability

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

Specified by:
hasChanges in interface IEnumSchemaChange
Returns:
The pHasSchemaChanges
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getToReplica

public IReplica getToReplica()
                      throws IOException,
                             AutomationException
The replica the schema changes will be applied to.

Product Availability

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

Specified by:
getToReplica in interface IEnumSchemaChange
Returns:
A reference to a com.esri.arcgis.geodatabase.IReplica
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.