public class INetworkQueryProxy extends com.esri.arcgis.interop.Dispatch implements INetworkQuery, java.io.Serializable
Description: 'Provides access to members that query the elements of the network dataset.' 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 =
Modifier and Type | Field and Description |
---|---|
boolean |
noncastable |
static java.lang.Class |
targetClass |
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef
IID, IID73bed6fc_fda9_45b0_a82d_1b42d52a26d0
Modifier | Constructor and Description |
---|---|
|
INetworkQueryProxy()
For internal use only
|
|
INetworkQueryProxy(java.lang.Object obj) |
protected |
INetworkQueryProxy(java.lang.Object obj,
java.lang.String iid) |
|
INetworkQueryProxy(java.lang.String CLSID,
java.lang.String host,
com.esri.arcgis.interop.AuthInfo authInfo) |
protected |
INetworkQueryProxy(java.lang.String CLSID,
java.lang.String iid,
java.lang.String host,
com.esri.arcgis.interop.AuthInfo authInfo) |
Modifier and Type | Method and Description |
---|---|
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.
|
void |
clearIDCache()
Empties the contents of the index used for finding network elements by source.
|
java.util.Date |
convertLocalTimeToUTCTime(int localTimeZoneID,
java.util.Date localTime)
Converts local time for the given time zone to UTC time.
|
java.util.Date |
convertUTCTimeToLocalTime(int localTimeZoneID,
java.util.Date utcTime)
Converts UTC time to local time for the given time zone.
|
INetworkForwardStar |
createForwardStar()
Creates a NetworkForwardStar object for traversing the network dataset.
|
INetworkForwardStarAdjacencies |
createForwardStarAdjacencies()
Creates a NetworkForwardStarAdjacencies container object for forward star queries.
|
INetworkElement |
createNetworkElement(int elementType)
Creates an uninitialized network element of the specified type for use in network dataset queries.
|
int |
getComplexTurnCount()
Number of turn elements in the network dataset having more than two edge elements participating.
|
IEnumNetworkElement |
getEdgesByPosition(int sourceID,
long oID,
double position)
Edge elements in the network dataset with a from and to position that includes the given position for the given source object.
|
IEnumNetworkElement |
getEdgesBySegment(int sourceID,
long oID,
double fromPosition,
double toPosition)
Edge elements in the network dataset with a from and to position included in the given range for the given source object.
|
int |
getElementCount(int elementType)
Number of network elements of the given type in the network dataset.
|
IEnumNetworkElement |
getElements(int elementType)
Enumeration of all elements in the network dataset of the given type.
|
IEnumNetworkElement |
getElementsByOID(int sourceID,
long oID)
Elements in the network dataset corresponding to the given source object.
|
IEnumNetworkElement |
getElementsByOIDs(int sourceID,
ILongLongArray oids)
Elements in the network dataset corresponding to the given source objects.
|
IEnumNetworkElement |
getElementsForSource(int sourceID)
Enumeration of all elements in the network dataset corresponding to the given source.
|
long |
getMaxEID(int elementType)
Highest element ID in the network dataset for the given element type.
|
int |
getMaxValence()
Maximum number of edge elements connected to any single junction element.
|
int |
getTimeZoneID(INetworkElement networkElement)
The time zone ID for the given network element.
|
void |
populateIDCache(int sourceID)
Initializes the index used for quickly finding network elements for the given source ID.
|
void |
queryEdge(long eID,
int direction,
INetworkEdge edge)
Performs a network edge element query by element ID and edge direction and populates the given edge element object.
|
void |
queryJunction(long eID,
INetworkJunction junction)
Performs a network junction element query by element ID and populates the given junction element object.
|
void |
queryTurn(long eID,
INetworkTurn turn)
Performs a network turn element query by element ID and populates the given turn element object.
|
void |
refreshDynamicTrafficData(java.util.Date utcTime,
int utcTimeUsage,
java.util.Date[] pDynamicTrafficUTCStartTime,
java.util.Date[] pDynamicTrafficUTCEndTime)
Refreshes the current dynamic traffic data referenced by the network dataset based on the specified time and usage.
|
void |
removeListener(java.lang.String iidStr,
java.lang.Object theListener)
Removes a Java object as a listener to events generated by a COM object.
|
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
public static final java.lang.Class targetClass
public boolean noncastable
public INetworkQueryProxy(java.lang.String CLSID, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo) throws java.net.UnknownHostException, java.io.IOException
java.net.UnknownHostException
java.io.IOException
public INetworkQueryProxy()
public INetworkQueryProxy(java.lang.Object obj) throws java.io.IOException
java.io.IOException
protected INetworkQueryProxy(java.lang.Object obj, java.lang.String iid) throws java.io.IOException
java.io.IOException
protected INetworkQueryProxy(java.lang.String CLSID, java.lang.String iid, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo) throws java.io.IOException
java.io.IOException
public void addListener(java.lang.String iidStr, java.lang.Object theListener, java.lang.Object theSource) throws java.io.IOException
com.esri.arcgis.interop.Dispatch
addListener
in class com.esri.arcgis.interop.Dispatch
iidStr
- the ID of the outgoing interface, implemented by the listenertheListener
- the object to be informed of the eventstheSource
- the proxy class that represents the COM class that is the source of the eventsjava.io.IOException
public void removeListener(java.lang.String iidStr, java.lang.Object theListener) throws java.io.IOException
com.esri.arcgis.interop.Dispatch
removeListener
in class com.esri.arcgis.interop.Dispatch
iidStr
- the ID of the outgoing interface, implemented by the listenertheListener
- the object that no longer wishes to be informed of the eventsjava.io.IOException
public long getMaxEID(int elementType) throws java.io.IOException, AutomationException
getMaxEID
in interface INetworkQuery
elementType
- A com.esri.arcgis.geodatabase.esriNetworkElementType constant (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public int getMaxValence() throws java.io.IOException, AutomationException
getMaxValence
in interface INetworkQuery
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public int getElementCount(int elementType) throws java.io.IOException, AutomationException
getElementCount
in interface INetworkQuery
elementType
- A com.esri.arcgis.geodatabase.esriNetworkElementType constant (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public int getComplexTurnCount() throws java.io.IOException, AutomationException
getComplexTurnCount
in interface INetworkQuery
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public INetworkForwardStar createForwardStar() throws java.io.IOException, AutomationException
createForwardStar
in interface INetworkQuery
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public INetworkForwardStarAdjacencies createForwardStarAdjacencies() throws java.io.IOException, AutomationException
createForwardStarAdjacencies
in interface INetworkQuery
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public INetworkElement createNetworkElement(int elementType) throws java.io.IOException, AutomationException
createNetworkElement
in interface INetworkQuery
elementType
- A com.esri.arcgis.geodatabase.esriNetworkElementType constant (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void queryEdge(long eID, int direction, INetworkEdge edge) throws java.io.IOException, AutomationException
queryEdge
in interface INetworkQuery
eID
- Signed 64-bit int (in)direction
- A com.esri.arcgis.geodatabase.esriNetworkEdgeDirection constant (in)edge
- A reference to a com.esri.arcgis.geodatabase.INetworkEdge (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void queryJunction(long eID, INetworkJunction junction) throws java.io.IOException, AutomationException
queryJunction
in interface INetworkQuery
eID
- Signed 64-bit int (in)junction
- A reference to a com.esri.arcgis.geodatabase.INetworkJunction (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void queryTurn(long eID, INetworkTurn turn) throws java.io.IOException, AutomationException
queryTurn
in interface INetworkQuery
eID
- Signed 64-bit int (in)turn
- A reference to a com.esri.arcgis.geodatabase.INetworkTurn (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public IEnumNetworkElement getElementsByOID(int sourceID, long oID) throws java.io.IOException, AutomationException
getElementsByOID
in interface INetworkQuery
sourceID
- The sourceID (in)oID
- Signed 64-bit int (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public IEnumNetworkElement getEdgesByPosition(int sourceID, long oID, double position) throws java.io.IOException, AutomationException
getEdgesByPosition
in interface INetworkQuery
sourceID
- The sourceID (in)oID
- Signed 64-bit int (in)position
- The position (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public IEnumNetworkElement getEdgesBySegment(int sourceID, long oID, double fromPosition, double toPosition) throws java.io.IOException, AutomationException
getEdgesBySegment
in interface INetworkQuery
sourceID
- The sourceID (in)oID
- Signed 64-bit int (in)fromPosition
- The fromPosition (in)toPosition
- The toPosition (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public IEnumNetworkElement getElements(int elementType) throws java.io.IOException, AutomationException
getElements
in interface INetworkQuery
elementType
- A com.esri.arcgis.geodatabase.esriNetworkElementType constant (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public IEnumNetworkElement getElementsByOIDs(int sourceID, ILongLongArray oids) throws java.io.IOException, AutomationException
getElementsByOIDs
in interface INetworkQuery
sourceID
- The sourceID (in)oids
- A reference to a com.esri.arcgis.system.ILongLongArray (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public IEnumNetworkElement getElementsForSource(int sourceID) throws java.io.IOException, AutomationException
getElementsForSource
in interface INetworkQuery
sourceID
- The sourceID (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void clearIDCache() throws java.io.IOException, AutomationException
clearIDCache
in interface INetworkQuery
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void populateIDCache(int sourceID) throws java.io.IOException, AutomationException
populateIDCache
in interface INetworkQuery
sourceID
- The sourceID (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public int getTimeZoneID(INetworkElement networkElement) throws java.io.IOException, AutomationException
getTimeZoneID
in interface INetworkQuery
networkElement
- A reference to a com.esri.arcgis.geodatabase.INetworkElement (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.util.Date convertLocalTimeToUTCTime(int localTimeZoneID, java.util.Date localTime) throws java.io.IOException, AutomationException
convertLocalTimeToUTCTime
in interface INetworkQuery
localTimeZoneID
- The localTimeZoneID (in)localTime
- The localTime (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.util.Date convertUTCTimeToLocalTime(int localTimeZoneID, java.util.Date utcTime) throws java.io.IOException, AutomationException
convertUTCTimeToLocalTime
in interface INetworkQuery
localTimeZoneID
- The localTimeZoneID (in)utcTime
- The utcTime (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void refreshDynamicTrafficData(java.util.Date utcTime, int utcTimeUsage, java.util.Date[] pDynamicTrafficUTCStartTime, java.util.Date[] pDynamicTrafficUTCEndTime) throws java.io.IOException, AutomationException
refreshDynamicTrafficData
in interface INetworkQuery
utcTime
- The utcTime (in)utcTimeUsage
- A com.esri.arcgis.geodatabase.esriNetworkTimeUsage constant (in)pDynamicTrafficUTCStartTime
- The pDynamicTrafficUTCStartTime (out: use single element array)pDynamicTrafficUTCEndTime
- The pDynamicTrafficUTCEndTime (out: use single element array)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.