com.esri.arcgis.geodatabase
Class INetworkQuery2Proxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.geodatabase.INetworkQueryProxy
          extended by com.esri.arcgis.geodatabase.INetworkQuery2Proxy
All Implemented Interfaces:
INetworkQuery, INetworkQuery2, Externalizable, Serializable

public class INetworkQuery2Proxy
extends INetworkQueryProxy
implements INetworkQuery2, Serializable

Provides access to members that query the elements of the network dataset.

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
  INetworkQuery2Proxy()
           
  INetworkQuery2Proxy(Object obj)
           
protected INetworkQuery2Proxy(Object obj, String iid)
           
 
Method Summary
 void addListener(String iidStr, Object theListener, Object theSource)
           
 Date convertLocalTimeToUTCTime(int localTimeZoneID, Date localTime)
          Converts local time for the given time zone to UTC time.
 Date convertUTCTimeToLocalTime(int localTimeZoneID, Date utcTime)
          Converts UTC time to local time for the given time zone.
 int getTimeZoneID(INetworkElement networkElement)
          The time zone ID for the given network element.
 void removeListener(String iidStr, Object theListener)
           
 
Methods inherited from class com.esri.arcgis.geodatabase.INetworkQueryProxy
clearIDCache, createForwardStar, createForwardStarAdjacencies, createNetworkElement, getComplexTurnCount, getEdgesByPosition, getEdgesBySegment, getElementCount, getElements, getElementsByOID, getElementsByOIDs, getElementsForSource, getMaxEID, getMaxValence, populateIDCache, queryEdge, queryJunction, queryTurn
 
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.INetworkQuery
clearIDCache, createForwardStar, createForwardStarAdjacencies, createNetworkElement, getComplexTurnCount, getEdgesByPosition, getEdgesBySegment, getElementCount, getElements, getElementsByOID, getElementsByOIDs, getElementsForSource, getMaxEID, getMaxValence, populateIDCache, queryEdge, queryJunction, queryTurn
 

Field Detail

noncastable

public boolean noncastable
Constructor Detail

INetworkQuery2Proxy

public INetworkQuery2Proxy()

INetworkQuery2Proxy

public INetworkQuery2Proxy(Object obj)
                    throws IOException
Throws:
IOException

INetworkQuery2Proxy

protected INetworkQuery2Proxy(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 INetworkQueryProxy
Throws:
IOException

removeListener

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

getTimeZoneID

public int getTimeZoneID(INetworkElement networkElement)
                  throws IOException,
                         AutomationException
The time zone ID for the given network element.

Product Availability

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

Specified by:
getTimeZoneID in interface INetworkQuery2
Parameters:
networkElement - A reference to a com.esri.arcgis.geodatabase.INetworkElement (in)
Returns:
The timeZoneID
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

convertLocalTimeToUTCTime

public Date convertLocalTimeToUTCTime(int localTimeZoneID,
                                      Date localTime)
                               throws IOException,
                                      AutomationException
Converts local time for the given time zone to UTC time.

Product Availability

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

Specified by:
convertLocalTimeToUTCTime in interface INetworkQuery2
Parameters:
localTimeZoneID - The localTimeZoneID (in)
localTime - The localTime (in)
Returns:
The utcTime
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

convertUTCTimeToLocalTime

public Date convertUTCTimeToLocalTime(int localTimeZoneID,
                                      Date utcTime)
                               throws IOException,
                                      AutomationException
Converts UTC time to local time for the given time zone.

Product Availability

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

Specified by:
convertUTCTimeToLocalTime in interface INetworkQuery2
Parameters:
localTimeZoneID - The localTimeZoneID (in)
utcTime - The utcTime (in)
Returns:
The localTime
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.