com.esri.arcgis.geodatabasedistributed
Class IModifiedClassInfoProxy

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

public class IModifiedClassInfoProxy
extends com.esri.arcgis.interop.Dispatch
implements IModifiedClassInfo, Serializable

Provides access to members that return information about feature classes and tables with edits.

Remarks

This interface has properties to return the modified tables, feature classes and attributed relationship classes. The ChildClassName, ClassID and DatasetType properties refer to the source geodatabase (e.g. check-out geodatabase) or delta file while the ParentClassName, ParentDatabase and ParentOwner properties refer to the destination for the changes (e.g. parent replica geodatabase).

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
  IModifiedClassInfoProxy()
           
  IModifiedClassInfoProxy(Object obj)
           
protected IModifiedClassInfoProxy(Object obj, String iid)
           
 
Method Summary
 void addListener(String iidStr, Object theListener, Object theSource)
           
 String getChildClassName()
          The name of the feature class or table.
 int getClassID()
          The ID assigned to the feature class or table in the geodatabase.
 int getDatasetType()
          The type of data.
 String getParentClassName()
          Name of the checked out feature class or table in the master database.
 String getParentDatabase()
          Name of the database where the checked out feature class or table is stored in the master database.
 String getParentOwner()
          Name of the database user that owns the checked out feature class or table in the master database.
 void removeListener(String iidStr, Object theListener)
           
 
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

IModifiedClassInfoProxy

public IModifiedClassInfoProxy()

IModifiedClassInfoProxy

public IModifiedClassInfoProxy(Object obj)
                        throws IOException
Throws:
IOException

IModifiedClassInfoProxy

protected IModifiedClassInfoProxy(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

getChildClassName

public String getChildClassName()
                         throws IOException,
                                AutomationException
The name of the feature class or table.

Remarks

The name of a table, feature class or attributed relationship class to which the edits have been applied on the source geodatabse.

For sources other than check-out replicas, two-way replicas, or one way replicas (i.e. DeltaDataChanges or VersionDataChanges) the ParentClassName is the same as the ChildClassName. For CheckoutDataChanges colclass, the ParentClassName refers to the parent replica geodatabase (previously referred to as the master geodatabase) while the ChildClassName refers to the check-out geodatabase. For the ReplicationDataChanges coclass, the ParentClassName is the parent replica geodatabase and the ChildClassName refers to the child replica geodatabase.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
getChildClassName in interface IModifiedClassInfo
Returns:
The cClassName
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getClassID

public int getClassID()
               throws IOException,
                      AutomationException
The ID assigned to the feature class or table in the geodatabase.

Remarks

The id that identifies the data (e.g. table or feature class) in the source geodatabase.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
getClassID in interface IModifiedClassInfo
Returns:
The childClassID
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getParentClassName

public String getParentClassName()
                          throws IOException,
                                 AutomationException
Name of the checked out feature class or table in the master database.

Remarks

The name of a table, feature class or attributed relationship class to which the edits have been applied on the source geodatabse.

For sources other than check-outs, two way or one way replicas (i.e. DeltaDataChanges or VersionDataChanges) the ParentClassName is the same as the ChildClassName. For CheckoutDataChanges colclass, the ParentClassName refers to the parent replica geodatabase (previously referred to as the master geodatabase) while the ChildClassName refers to the check-out geodatabase. For the ReplicationDataChanges coclass, the ParentClassName is the parent replica geodatabase and the ChildClassName refers to the child replica geodatabase.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
getParentClassName in interface IModifiedClassInfo
Returns:
The rName
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDatasetType

public int getDatasetType()
                   throws IOException,
                          AutomationException
The type of data.

Remarks

Indicates the type of data to which the edits have been applied. Possible types include tables, feature classes and attributed relationships. This method returns value of the esriDataType enumeration. See the esriDatasetType enumeration for more information.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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

getParentDatabase

public String getParentDatabase()
                         throws IOException,
                                AutomationException
Name of the database where the checked out feature class or table is stored in the master database.

Remarks

Returns the string name of the database of the parent database.

This property returns an empty string if the parent replica geodatabase is an Oracle database.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
getParentDatabase in interface IModifiedClassInfo
Returns:
The parentDatabase
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getParentOwner

public String getParentOwner()
                      throws IOException,
                             AutomationException
Name of the database user that owns the checked out feature class or table in the master database.

Remarks

The method returns the string name of the database user that owns replicated data in the parent replica.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
getParentOwner in interface IModifiedClassInfo
Returns:
The parentOwner
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.