com.esri.arcgis.geodatabase
Interface INetworkEvaluator2

All Superinterfaces:
INetworkEvaluator, Serializable
All Known Implementing Classes:
NetworkConstantEvaluator, NetworkFieldEvaluator, NetworkFunctionEvaluator, NetworkGlobalTurnDelayEvaluator, NetworkScriptEvaluator

public interface INetworkEvaluator2
extends INetworkEvaluator, Serializable

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

Product Availability

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


Method Summary
 IStringArray getRequiredFieldNames()
          Required fields of this network evaluator.
 void refresh()
          Refresh custom data for this network evaluator to synchronize with updated attribute parameter values or other external data.
 
Methods inherited from interface com.esri.arcgis.geodatabase.INetworkEvaluator
getDisplayName, getName, isCacheAttribute
 

Method Detail

getRequiredFieldNames

IStringArray getRequiredFieldNames()
                                   throws IOException,
                                          AutomationException
Required fields of this network evaluator.

Remarks

RequiredFieldNames returns the field names that the evaluator requires in order to correctly evaluate the row. This property is used to minimize the data that is returned by the query to the database by only returning the required fields. Return a NULL pointer if you want it to include all the field names in the query.

Product Availability

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

Returns:
A reference to a com.esri.arcgis.system.IStringArray
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

refresh

void refresh()
             throws IOException,
                    AutomationException
Refresh custom data for this network evaluator to synchronize with updated attribute parameter values or other external data.

Remarks

The Refresh method is an opportunity to update any internal state within the evaluator based on changes to parameters, dynamic data feeds, etc. The Refresh method is called on every evaluator assigned to a network attribute when INetworkAttribute2::Refresh() is called. For example, this is called internally during a solve operation after setting the network attribute parameters and prior to performing the actual solve.

Product Availability

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

Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.