|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.datasourcesfile.SMNetAttributesAccess
public class SMNetAttributesAccess
Deprecated as of 10.1. The object to access the value of network attributes.
Constructor Summary | |
---|---|
SMNetAttributesAccess(Object obj)
Construct a SMNetAttributesAccess using a reference to such an object returned from ArcGIS Engine or Server. |
Method Summary | |
---|---|
boolean |
equals(Object o)
Compare this object with another |
Object |
getNetAttributeValue(String bstrAttrName,
int lObjectID)
Returns the network attribute value by object ID. |
int |
hashCode()
the hashcode for this object |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef |
---|
getJintegraDispatch, release |
Constructor Detail |
---|
public SMNetAttributesAccess(Object obj) throws IOException
obj
to SMNetAttributesAccess
. *
SMNetAttributesAccess o = (SMNetAttributesAccess)obj; // will not work
SMNetAttributesAccess o = new SMNetAttributesAccess(obj); // Use this constructor instead
* @param obj an object returned from ArcGIS Engine or Server
IOException
- if there are interop problems
SMNetAttributesAccess theSMNetAttributesAccess = (SMNetAttributesAccess) obj;
Method Detail |
---|
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public Object getNetAttributeValue(String bstrAttrName, int lObjectID) throws IOException, AutomationException
Returns the network attribute value for the segment ID specified.
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.
getNetAttributeValue
in interface ISMNetAttributesAccess
bstrAttrName
- The bstrAttrName (in)lObjectID
- The lObjectID (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |