com.esri.arcgis.geodatabase
Class IEnumTopologyParentProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.geodatabase.IEnumTopologyParentProxy
All Implemented Interfaces:
IEnumTopologyParent, Externalizable, Serializable

public class IEnumTopologyParentProxy
extends com.esri.arcgis.interop.Dispatch
implements IEnumTopologyParent, Serializable

Provides access to the set of parents of a topology element.

Remarks

Unlike most enumerators in the Geodatabase API, the Next method of this interface does not return objects, but esriTopologyParent structs. Since structs are a value types, checking whether a return value is null should not be used as a conditional statement to iterate through the enumerator's values (it will never be null). However, this interface provides a Count property, which can be used to iterate through the values a specific number of times, instead of checking for a terminating condition such as a null value.

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
  IEnumTopologyParentProxy()
           
  IEnumTopologyParentProxy(Object obj)
           
protected IEnumTopologyParentProxy(Object obj, String iid)
           
 
Method Summary
 void addListener(String iidStr, Object theListener, Object theSource)
           
 int getCount()
          The count of parents of this topology element.
 tagesriTopologyParent next()
          Returns the next parent of this topology element.
 void removeListener(String iidStr, Object theListener)
           
 void reset()
          Resets this eumerator.
 
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

IEnumTopologyParentProxy

public IEnumTopologyParentProxy()

IEnumTopologyParentProxy

public IEnumTopologyParentProxy(Object obj)
                         throws IOException
Throws:
IOException

IEnumTopologyParentProxy

protected IEnumTopologyParentProxy(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 this eumerator.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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

next

public tagesriTopologyParent next()
                           throws IOException,
                                  AutomationException
Returns the next parent of this topology element.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
next in interface IEnumTopologyParent
Returns:
A Structure: com.esri.arcgis.geodatabase.tagesriTopologyParent (A com.esri.arcgis.geodatabase.tagesriTopologyParent COM typedef)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCount

public int getCount()
             throws IOException,
                    AutomationException
The count of parents of this topology element.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
getCount in interface IEnumTopologyParent
Returns:
The parentCount
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.