com.esri.arcgis.geodatabase
Class INetworkEdge2Proxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.geodatabase.INetworkElementProxy
          extended by com.esri.arcgis.geodatabase.INetworkEdgeProxy
              extended by com.esri.arcgis.geodatabase.INetworkEdge2Proxy
All Implemented Interfaces:
INetworkEdge, INetworkEdge2, INetworkElement, Externalizable, Serializable

public class INetworkEdge2Proxy
extends INetworkEdgeProxy
implements INetworkEdge2, Serializable

Provides access to members that specify the properties of this network edge element.

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
  INetworkEdge2Proxy()
           
  INetworkEdge2Proxy(Object obj)
           
protected INetworkEdge2Proxy(Object obj, String iid)
           
 
Method Summary
 void addListener(String iidStr, Object theListener, Object theSource)
           
 Object getAttributeValueAtTime(int attributeID, Date localTime, int timeUsage)
          Value of this network element for the given network attribute ID and local time.
 int getCoveredEdgeCount()
          Indicates if the network edge element has a covering hyperedge.
 Object getPartialEdgeAttributeValue(double fromPosition, double toPosition, int attributeID)
          Value of this edge element along the given range for the given network attribute ID.
 Object getPartialEdgeAttributeValueAtTime(double fromPosition, double toPosition, int attributeID, Date localTime, int timeUsage)
          Value of this partial edge element for the given network attribute ID and local.
 boolean isHasCoveringHyperedge()
          Indicates if the network edge element has a covering hyperedge.
 boolean isHyperedge()
          Indicates if the network edge element is a hyperedge.
 void queryCoveredEdge(int index, INetworkEdge edge)
          Indicates if the network edge element has a covering hyperedge.
 void queryCoveringHyperedge(INetworkEdge edge, double[] fromPosition, double[] toPosition)
          Queries the covering hyperedge of the network edge element and returns its related positions along the covering hyperedge.
 void removeListener(String iidStr, Object theListener)
           
 
Methods inherited from class com.esri.arcgis.geodatabase.INetworkEdgeProxy
getDirection, getFromAzimuth, getPositionAlongObject, getToAzimuth, getTurnCount, getTurnParticipationType, queryEdgeInOtherDirection, queryJunctions, queryPositions, queryTurn
 
Methods inherited from class com.esri.arcgis.geodatabase.INetworkElementProxy
getAttributeValue, getAttributeValueByName, getEID, getElementType, getOID, getSourceID
 
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
 
Methods inherited from interface com.esri.arcgis.geodatabase.INetworkEdge
getDirection, getFromAzimuth, getPositionAlongObject, getToAzimuth, getTurnCount, getTurnParticipationType, queryEdgeInOtherDirection, queryJunctions, queryPositions, queryTurn
 
Methods inherited from interface com.esri.arcgis.geodatabase.INetworkElement
getAttributeValue, getAttributeValueByName, getEID, getElementType, getOID, getSourceID
 

Field Detail

noncastable

public boolean noncastable
Constructor Detail

INetworkEdge2Proxy

public INetworkEdge2Proxy()

INetworkEdge2Proxy

public INetworkEdge2Proxy(Object obj)
                   throws IOException
Throws:
IOException

INetworkEdge2Proxy

protected INetworkEdge2Proxy(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 INetworkEdgeProxy
Throws:
IOException

removeListener

public void removeListener(String iidStr,
                           Object theListener)
                    throws IOException
Overrides:
removeListener in class INetworkEdgeProxy
Throws:
IOException

getPartialEdgeAttributeValue

public Object getPartialEdgeAttributeValue(double fromPosition,
                                           double toPosition,
                                           int attributeID)
                                    throws IOException,
                                           AutomationException
Value of this edge element along the given range for the given network attribute ID.

Product Availability

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

Specified by:
getPartialEdgeAttributeValue in interface INetworkEdge2
Parameters:
fromPosition - The fromPosition (in)
toPosition - The toPosition (in)
attributeID - The attributeID (in)
Returns:
A Variant
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getAttributeValueAtTime

public Object getAttributeValueAtTime(int attributeID,
                                      Date localTime,
                                      int timeUsage)
                               throws IOException,
                                      AutomationException
Value of this network element for the given network attribute ID and local time.

Product Availability

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

Specified by:
getAttributeValueAtTime in interface INetworkEdge2
Parameters:
attributeID - The attributeID (in)
localTime - The localTime (in)
timeUsage - A com.esri.arcgis.geodatabase.esriNetworkTimeUsage constant (in)
Returns:
A Variant
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getPartialEdgeAttributeValueAtTime

public Object getPartialEdgeAttributeValueAtTime(double fromPosition,
                                                 double toPosition,
                                                 int attributeID,
                                                 Date localTime,
                                                 int timeUsage)
                                          throws IOException,
                                                 AutomationException
Value of this partial edge element for the given network attribute ID and local.

Product Availability

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

Specified by:
getPartialEdgeAttributeValueAtTime in interface INetworkEdge2
Parameters:
fromPosition - The fromPosition (in)
toPosition - The toPosition (in)
attributeID - The attributeID (in)
localTime - The localTime (in)
timeUsage - A com.esri.arcgis.geodatabase.esriNetworkTimeUsage constant (in)
Returns:
A Variant
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isHyperedge

public boolean isHyperedge()
                    throws IOException,
                           AutomationException
Indicates if the network edge element is a hyperedge.

Product Availability

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

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

isHasCoveringHyperedge

public boolean isHasCoveringHyperedge()
                               throws IOException,
                                      AutomationException
Indicates if the network edge element has a covering hyperedge.

Product Availability

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

Specified by:
isHasCoveringHyperedge in interface INetworkEdge2
Returns:
The hasCoveringHyperedge
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

queryCoveringHyperedge

public void queryCoveringHyperedge(INetworkEdge edge,
                                   double[] fromPosition,
                                   double[] toPosition)
                            throws IOException,
                                   AutomationException
Queries the covering hyperedge of the network edge element and returns its related positions along the covering hyperedge.

Product Availability

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

Specified by:
queryCoveringHyperedge in interface INetworkEdge2
Parameters:
edge - A reference to a com.esri.arcgis.geodatabase.INetworkEdge (in)
fromPosition - The fromPosition (out: use single element array)
toPosition - The toPosition (out: use single element array)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCoveredEdgeCount

public int getCoveredEdgeCount()
                        throws IOException,
                               AutomationException
Indicates if the network edge element has a covering hyperedge.

Product Availability

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

Specified by:
getCoveredEdgeCount in interface INetworkEdge2
Returns:
The coveredEdgeCount
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

queryCoveredEdge

public void queryCoveredEdge(int index,
                             INetworkEdge edge)
                      throws IOException,
                             AutomationException
Indicates if the network edge element has a covering hyperedge.

Remarks

Using the CoveredEdgeCount property to find the range of values to use as an index, QueryCoveredEdge is called to iterate over the edges that are covered by this hyperedge.

Product Availability

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

Specified by:
queryCoveredEdge in interface INetworkEdge2
Parameters:
index - The index (in)
edge - A reference to a com.esri.arcgis.geodatabase.INetworkEdge (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.