com.esri.arcgis.datasourcesfile
Class ISMNetAttributesAccessProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.datasourcesfile.ISMNetAttributesAccessProxy
All Implemented Interfaces:
ISMNetAttributesAccess, Externalizable, Serializable

public class ISMNetAttributesAccessProxy
extends com.esri.arcgis.interop.Dispatch
implements ISMNetAttributesAccess, Serializable

Provides access to the network attribute value.

Description

Provides information about network attribute values for specified routing data source segment.

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
  ISMNetAttributesAccessProxy()
           
  ISMNetAttributesAccessProxy(Object obj)
           
protected ISMNetAttributesAccessProxy(Object obj, String iid)
           
 
Method Summary
 void addListener(String iidStr, Object theListener, Object theSource)
           
 Object getNetAttributeValue(String bstrAttrName, int lObjectID)
          Returns the network attribute value by object ID.
 void removeListener(String iidStr, Object theListener)
           
 
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
 

Field Detail

noncastable

public boolean noncastable
Constructor Detail

ISMNetAttributesAccessProxy

public ISMNetAttributesAccessProxy()

ISMNetAttributesAccessProxy

public ISMNetAttributesAccessProxy(Object obj)
                            throws IOException
Throws:
IOException

ISMNetAttributesAccessProxy

protected ISMNetAttributesAccessProxy(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 com.esri.arcgis.interop.Dispatch
Throws:
IOException

removeListener

public void removeListener(String iidStr,
                           Object theListener)
                    throws IOException
Overrides:
removeListener in class com.esri.arcgis.interop.Dispatch
Throws:
IOException

getNetAttributeValue

public Object getNetAttributeValue(String bstrAttrName,
                                   int lObjectID)
                            throws IOException,
                                   AutomationException
Returns the network attribute value by object ID.

Description

Returns the network attribute value for the segment ID specified.

Remarks

GetNetAttributeValue returns the values of the predefined network attribute with the name AttrName for the network segment which ID equals ObjectID.


List of supported network attributes may differ from one data set to another. Most used network attributes are "Length" and "Time". Network segments are the records of the map layer that the current routing service is based on. Very often it is a streets layer, and its records are streets segments.

Product Availability

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

Specified by:
getNetAttributeValue in interface ISMNetAttributesAccess
Parameters:
bstrAttrName - The bstrAttrName (in)
lObjectID - The lObjectID (in)
Returns:
A Variant
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.