|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Provides access to members that specify the properties of an evaluated attribute in a network dataset.
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.
| 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 |
public void setDefaultEvaluatorByRef(int elementType,
INetworkEvaluator evaluator)
throws java.io.IOException,
AutomationException
elementType - A com.esri.arcgis.geodatabase.esriNetworkElementType constant (in)evaluator - A reference to a com.esri.arcgis.geodatabase.INetworkEvaluator (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public INetworkEvaluator getDefaultEvaluator(int elementType)
throws java.io.IOException,
AutomationException
The NetworkFieldEvaluator cannot be used as a DefaultEvaluator for any element type.
elementType - A com.esri.arcgis.geodatabase.esriNetworkElementType constant (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setEvaluatorByRef(INetworkSource networkSource,
int direction,
INetworkEvaluator evaluator)
throws java.io.IOException,
AutomationException
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)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public INetworkEvaluator getEvaluator(INetworkSource networkSource,
int direction)
throws java.io.IOException,
AutomationException
If the NetworkSource parameter is an EdgeFeatureSource, then you must specify in the Direction parameter the traversal direction for which this evaluator applies (esriNEDAlongDigitized or esriNEDAgainstDigitized).
If the NetworkSource parameter is not an EdgeFeatureSource, then specify esriNEDNone for the Direction parameter.
networkSource - A reference to a com.esri.arcgis.geodatabase.INetworkSource (in)direction - A com.esri.arcgis.geodatabase.esriNetworkEdgeDirection constant (in)
java.io.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 | |||||||||