|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IEvaluatedNetworkAttribute
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 |
---|
void setDefaultEvaluatorByRef(int elementType, INetworkEvaluator evaluator) throws IOException, AutomationException
elementType
- A com.esri.arcgis.geodatabase.esriNetworkElementType constant (in)evaluator
- A reference to a com.esri.arcgis.geodatabase.INetworkEvaluator (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.INetworkEvaluator getDefaultEvaluator(int elementType) throws IOException, AutomationException
elementType
- A com.esri.arcgis.geodatabase.esriNetworkElementType constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setEvaluatorByRef(INetworkSource networkSource, int direction, INetworkEvaluator evaluator) throws 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)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.INetworkEvaluator getEvaluator(INetworkSource networkSource, int direction) throws IOException, AutomationException
networkSource
- A reference to a com.esri.arcgis.geodatabase.INetworkSource (in)direction
- A com.esri.arcgis.geodatabase.esriNetworkEdgeDirection constant (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 |