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, java.io.Externalizable, java.io.Serializable

public class INetworkEdge2Proxy
extends INetworkEdgeProxy
implements INetworkEdge2, java.io.Serializable

Internal use class Proxy for COM Interface 'INetworkEdge2'. Generated 3/19/2015 1:20:57 PM from 'C:\ArcGIS\COM\esriGeoDatabase.olb'

Description: 'Provides access to members that specify the properties of this network edge element.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =

See Also:
Serialized Form

Field Summary
 boolean noncastable
           
static java.lang.Class targetClass
           
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef
 
Fields inherited from interface com.esri.arcgis.geodatabase.INetworkEdge2
DISPID_1610874881_GET_NAME, DISPID_1610874882_GET_NAME, DISPID_1610874883_GET_NAME, DISPID_1610874884_GET_NAME, DISPID_1610874885_NAME, DISPID_1610874886_GET_NAME, DISPID_1610874887_NAME, DISPID_210_GET_NAME, IID, IID97669d60_6fea_450d_aad4_a917f19fd420
 
Fields inherited from interface com.esri.arcgis.geodatabase.INetworkEdge
DISPID_100_GET_NAME, DISPID_110_NAME, DISPID_130_GET_NAME, DISPID_140_GET_NAME, DISPID_150_GET_NAME, DISPID_160_GET_NAME, DISPID_170_GET_NAME, DISPID_180_NAME, DISPID_190_NAME, DISPID_200_NAME, IIDeadcd556_0857_41d9_9714_03b0dbb16dfb
 
Fields inherited from interface com.esri.arcgis.geodatabase.INetworkElement
DISPID_10_GET_NAME, DISPID_20_GET_NAME, DISPID_30_GET_NAME, DISPID_40_GET_NAME, DISPID_50_GET_NAME, DISPID_60_GET_NAME, IIDed843586_99b4_4e36_9684_5bec34938906
 
Constructor Summary
  INetworkEdge2Proxy()
          For internal use only
  INetworkEdge2Proxy(java.lang.Object obj)
           
protected INetworkEdge2Proxy(java.lang.Object obj, java.lang.String iid)
           
  INetworkEdge2Proxy(java.lang.String CLSID, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
           
protected INetworkEdge2Proxy(java.lang.String CLSID, java.lang.String iid, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
           
 
Method Summary
 void addListener(java.lang.String iidStr, java.lang.Object theListener, java.lang.Object theSource)
           
 java.lang.Object getAttributeValueAtTime(int attributeID, java.util.Date localTime, int timeUsage)
          Value of this network element for the given network attribute ID and local time.
 int getCoveredEdgeCount()
          Returns the number of edges covered by this edge.
 java.lang.Object getPartialEdgeAttributeValue(double fromPosition, double toPosition, int attributeID)
          Value of this edge element along the given range for the given network attribute ID.
 java.lang.Object getPartialEdgeAttributeValueAtTime(double fromPosition, double toPosition, int attributeID, java.util.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)
          Used to iterate over the edges covered by this edge.
 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(java.lang.String iidStr, java.lang.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

targetClass

public static final java.lang.Class targetClass

noncastable

public boolean noncastable
Constructor Detail

INetworkEdge2Proxy

public INetworkEdge2Proxy(java.lang.String CLSID,
                          java.lang.String host,
                          com.esri.arcgis.interop.AuthInfo authInfo)
                   throws java.net.UnknownHostException,
                          java.io.IOException
Throws:
java.net.UnknownHostException
java.io.IOException

INetworkEdge2Proxy

public INetworkEdge2Proxy()
For internal use only


INetworkEdge2Proxy

public INetworkEdge2Proxy(java.lang.Object obj)
                   throws java.io.IOException
Throws:
java.io.IOException

INetworkEdge2Proxy

protected INetworkEdge2Proxy(java.lang.Object obj,
                             java.lang.String iid)
                      throws java.io.IOException
Throws:
java.io.IOException

INetworkEdge2Proxy

protected INetworkEdge2Proxy(java.lang.String CLSID,
                             java.lang.String iid,
                             java.lang.String host,
                             com.esri.arcgis.interop.AuthInfo authInfo)
                      throws java.io.IOException
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
Overrides:
addListener in class INetworkEdgeProxy
Throws:
java.io.IOException

removeListener

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

getPartialEdgeAttributeValue

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

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

getAttributeValueAtTime

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

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:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getPartialEdgeAttributeValueAtTime

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

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:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isHyperedge

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

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

isHasCoveringHyperedge

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

Specified by:
isHasCoveringHyperedge in interface INetworkEdge2
Returns:
The hasCoveringHyperedge
Throws:
java.io.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 java.io.IOException,
                                   AutomationException
Queries the covering hyperedge of the network edge element and returns its related positions along the covering hyperedge.

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:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCoveredEdgeCount

public int getCoveredEdgeCount()
                        throws java.io.IOException,
                               AutomationException
Returns the number of edges covered by this edge.

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

queryCoveredEdge

public void queryCoveredEdge(int index,
                             INetworkEdge edge)
                      throws java.io.IOException,
                             AutomationException
Used to iterate over the edges covered by this edge.

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