com.esri.arcgis.geodatabase
Interface IEvaluatedNetworkAttribute

All Superinterfaces:
INetworkAttribute, Serializable
All Known Subinterfaces:
IEvaluatedNetworkAttribute2
All Known Implementing Classes:
EvaluatedNetworkAttribute

public interface IEvaluatedNetworkAttribute
extends INetworkAttribute, Serializable

Provides access to members that specify the properties of an evaluated attribute in a network dataset.

Superseded By

IEvaluatedNetworkAttribute2

Remarks

The IEvaluatedNetworkAttribute interface is used to access the default and source evaluators of the evaluated network attribute.

To access the EvaluatedNetworkAttribute object for an existing network dataset attribute, use the Attribute, AttributeByID, or AttributeByName methods on the INetworkDataset interface.

The IEvaluatedNetworkAttribute interface is also used to define a new network attribute. To create a new network attribute, cocreate an EvaluatedNetworkAttribute object, specify its properties using the INetworkAttribute and INetworkAttribute2 interfaces, specify its evaluators using the IEvaluatedNetworkAttribute interface, and pass the object to the INetworkBuild::AddAttribute method on the network dataset.

Product Availability

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


Method Summary
 INetworkEvaluator getDefaultEvaluator(int elementType)
          Evaluator used to derive attribute values for the given element type when an evaluator is not specified for a network element's source.
 INetworkEvaluator getEvaluator(INetworkSource networkSource, int direction)
          Evaluator used to derive values from the given network source for this network attribute.
 void setDefaultEvaluatorByRef(int elementType, INetworkEvaluator evaluator)
          Evaluator used to derive attribute values for the given element type when an evaluator is not specified for a network element's source.
 void setEvaluatorByRef(INetworkSource networkSource, int direction, INetworkEvaluator evaluator)
          Evaluator used to derive values from the given network source for this network attribute.
 
Methods inherited from interface com.esri.arcgis.geodatabase.INetworkAttribute
getDataType, getID, getName, getUnits, getUsageType, setDataType, setName, setUnits, setUsageType
 

Method Detail

setDefaultEvaluatorByRef

void setDefaultEvaluatorByRef(int elementType,
                              INetworkEvaluator evaluator)
                              throws IOException,
                                     AutomationException
Evaluator used to derive attribute values for the given element type when an evaluator is not specified for a network element's source.

Product Availability

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

Parameters:
elementType - A com.esri.arcgis.geodatabase.esriNetworkElementType constant (in)
evaluator - A reference to a com.esri.arcgis.geodatabase.INetworkEvaluator (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDefaultEvaluator

INetworkEvaluator getDefaultEvaluator(int elementType)
                                      throws IOException,
                                             AutomationException
Evaluator used to derive attribute values for the given element type when an evaluator is not specified for a network element's source.

Product Availability

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

Parameters:
elementType - A com.esri.arcgis.geodatabase.esriNetworkElementType constant (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.INetworkEvaluator
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setEvaluatorByRef

void setEvaluatorByRef(INetworkSource networkSource,
                       int direction,
                       INetworkEvaluator evaluator)
                       throws IOException,
                              AutomationException
Evaluator used to derive values from the given network source for this network attribute.

Product Availability

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

Parameters:
networkSource - A reference to a com.esri.arcgis.geodatabase.INetworkSource (in)
direction - A com.esri.arcgis.geodatabase.esriNetworkEdgeDirection constant (in)
evaluator - A reference to a com.esri.arcgis.geodatabase.INetworkEvaluator (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getEvaluator

INetworkEvaluator getEvaluator(INetworkSource networkSource,
                               int direction)
                               throws IOException,
                                      AutomationException
Evaluator used to derive values from the given network source for this network attribute.

Product Availability

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

Parameters:
networkSource - A reference to a com.esri.arcgis.geodatabase.INetworkSource (in)
direction - A com.esri.arcgis.geodatabase.esriNetworkEdgeDirection constant (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.INetworkEvaluator
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.