com.esri.arcgis.geodatabase
Class IComplexNetworkFeatureProxy

java.lang.Object
  extended bycom.esri.arcgis.interop.Dispatch
      extended bycom.esri.arcgis.geodatabase.IComplexNetworkFeatureProxy
All Implemented Interfaces:
java.io.Externalizable, IComplexNetworkFeature, java.io.Serializable

public class IComplexNetworkFeatureProxy
extends Dispatch
implements IComplexNetworkFeature, java.io.Serializable

Provides access to members that return and modify complex network features.

Product Availability

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

See Also:
Serialized Form

Field Summary
static java.lang.Class targetClass
           
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF
 
Constructor Summary
  IComplexNetworkFeatureProxy()
          For internal use only
  IComplexNetworkFeatureProxy(java.lang.Object obj)
           
protected IComplexNetworkFeatureProxy(java.lang.Object obj, java.lang.String iid)
           
  IComplexNetworkFeatureProxy(java.lang.String CLSID, java.lang.String host, AuthInfo authInfo)
           
protected IComplexNetworkFeatureProxy(java.lang.String CLSID, java.lang.String iid, java.lang.String host, AuthInfo authInfo)
           
 
Method Summary
 void addListener(java.lang.String iidStr, java.lang.Object theListener, java.lang.Object theSource)
          Adds a Java object to be a listener for a specific kind of event generated by the COM object.
 int findEdgeEID(IPoint point)
          The EID associated with the EdgeElement at the specified point.
 int getEdgeElementCount()
          The number of edge elements associated with this Feature.
 boolean isEnabledByIndex(int edgeIndex)
          Indicates whether the NetworkFeature is open or not (i.e., closed).
 void removeListener(java.lang.String iidStr, java.lang.Object theListener)
          Removes a Java object as a listener to events generated by a COM object.
 void setEnabledByIndex(int edgeIndex, boolean isEnabled)
          Indicates whether the NetworkFeature is open or not (i.e., closed).
 
Methods inherited from class com.esri.arcgis.interop.Dispatch
bindUsingMoniker, convertToNative, cookieForListener, createDispatch, createObjrefMonikerDisplayName, equals, getActiveObject, getActiveObject, getDefaultProperty, getDispatchIdOfName, getLastErrorCode, getMtsObjectContext, getObjRef, getPropertyByName, getPropertyByName, hashCode, invoke, invokeMethodByName, invokeMethodByName, invokeMethodByName, invokePropertyGetByName, invokePropertyPutByName, invokePropertyPutByRefByName, isNativeMode, isObjRef, queryInterface, readExternal, setNativeMode, setPropertyByName, toString, vtblInvoke, writeExternal
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

targetClass

public static final java.lang.Class targetClass
Constructor Detail

IComplexNetworkFeatureProxy

public IComplexNetworkFeatureProxy(java.lang.String CLSID,
                                   java.lang.String host,
                                   AuthInfo authInfo)
                            throws java.net.UnknownHostException,
                                   java.io.IOException

IComplexNetworkFeatureProxy

public IComplexNetworkFeatureProxy()
For internal use only


IComplexNetworkFeatureProxy

public IComplexNetworkFeatureProxy(java.lang.Object obj)
                            throws java.io.IOException

IComplexNetworkFeatureProxy

protected IComplexNetworkFeatureProxy(java.lang.Object obj,
                                      java.lang.String iid)
                               throws java.io.IOException

IComplexNetworkFeatureProxy

protected IComplexNetworkFeatureProxy(java.lang.String CLSID,
                                      java.lang.String iid,
                                      java.lang.String host,
                                      AuthInfo authInfo)
                               throws java.io.IOException
Method Detail

addListener

public void addListener(java.lang.String iidStr,
                        java.lang.Object theListener,
                        java.lang.Object theSource)
                 throws java.io.IOException
Description copied from class: Dispatch
Adds a Java object to be a listener for a specific kind of event generated by the COM object. when you wish to invoke method on the COM object using IDispatch (not using custom marshalling).

Overrides:
addListener in class Dispatch
Parameters:
iidStr - the ID of the outgoing interface, implemented by the listener
theListener - the object to be informed of the events
theSource - the proxy class that represents the COM class that is the source of the events
Throws:
java.io.IOException

removeListener

public void removeListener(java.lang.String iidStr,
                           java.lang.Object theListener)
                    throws java.io.IOException
Description copied from class: Dispatch
Removes a Java object as a listener to events generated by a COM object. when you wish to invoke method on the COM object using IDispatch (not using custom marshalling).

Overrides:
removeListener in class Dispatch
Parameters:
iidStr - the ID of the outgoing interface, implemented by the listener
theListener - the object that no longer wishes to be informed of the events
Throws:
java.io.IOException

getEdgeElementCount

public int getEdgeElementCount()
                        throws java.io.IOException,
                               AutomationException
Description copied from interface: IComplexNetworkFeature
The number of edge elements associated with this Feature.

Supported Platforms

Windows, Solaris, Linux

Remarks

It is recommended that developers do not use Complex Junctions in their data modeling solutions.  Developers can leverage existing Geodatabase components in order to implement partial functionality, such as IFeatureClassExtension.

Specified by:
getEdgeElementCount in interface IComplexNetworkFeature
Returns:
The numEdges
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

findEdgeEID

public int findEdgeEID(IPoint point)
                throws java.io.IOException,
                       AutomationException
Description copied from interface: IComplexNetworkFeature
The EID associated with the EdgeElement at the specified point.

Supported Platforms

Windows, Solaris, Linux

Remarks

It is recommended that developers do not use Complex Junctions in their data modeling solutions.  Developers can leverage existing Geodatabase components in order to implement partial functionality, such as IFeatureClassExtension.

Specified by:
findEdgeEID in interface IComplexNetworkFeature
Parameters:
point - A reference to a com.esri.arcgis.geometry.IPoint (in)
Returns:
The edgeEID
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

isEnabledByIndex

public boolean isEnabledByIndex(int edgeIndex)
                         throws java.io.IOException,
                                AutomationException
Description copied from interface: IComplexNetworkFeature
Indicates whether the NetworkFeature is open or not (i.e., closed).

Supported Platforms

Windows, Solaris, Linux

Remarks

It is recommended that developers do not use Complex Junctions in their data modeling solutions.  Developers can leverage existing Geodatabase components in order to implement partial functionality, such as IFeatureClassExtension.

When used with complex edge features, developers should set the Enabled value through the use of the IFeature::Value property, as the Enabled value must apply to the entire feature, not individual elements.

Specified by:
isEnabledByIndex in interface IComplexNetworkFeature
Parameters:
edgeIndex - The edgeIndex (in)
Returns:
The isEnabled
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

setEnabledByIndex

public void setEnabledByIndex(int edgeIndex,
                              boolean isEnabled)
                       throws java.io.IOException,
                              AutomationException
Description copied from interface: IComplexNetworkFeature
Indicates whether the NetworkFeature is open or not (i.e., closed).

Supported Platforms

Windows, Solaris, Linux

Specified by:
setEnabledByIndex in interface IComplexNetworkFeature
Parameters:
edgeIndex - The edgeIndex (in)
isEnabled - The isEnabled (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.