|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface INetworkAttribute2
Provides access to members that specify the properties of an attribute in a network dataset.
INetworkAttribute2 has been superseded by INetworkAttribute3.
Method Summary | |
---|---|
IArray |
getParameters()
Array of parameters for this network attribute. |
boolean |
isUseByDefault()
Indicates if this network attribute is to be used by default. |
void |
refresh()
Refresh the network evaluators assigned to this network attribute. |
void |
setParametersByRef(IArray parameters)
Array of parameters for this network attribute. |
void |
setUseByDefault(boolean useByDefault)
Indicates if this network attribute is to be used by default. |
Methods inherited from interface com.esri.arcgis.geodatabase.INetworkAttribute |
---|
getDataType, getID, getName, getUnits, getUsageType, setDataType, setName, setUnits, setUsageType |
Method Detail |
---|
IArray getParameters() throws IOException, AutomationException
This property provides access to the IArray interface that holds the collection of NetworkAttributeParameter objects that are available for this NetworkAttribute.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setParametersByRef(IArray parameters) throws IOException, AutomationException
This property provides access to the IArray interface that holds the collection of NetworkAttributeParameter objects that are available for this NetworkAttribute.
parameters
- A reference to a com.esri.arcgis.system.IArray (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void refresh() throws IOException, AutomationException
Calling Refresh propogates the call to INetworkEvaluator2::Refresh on the attribute's underlying network evaluators that implement INetworkEvaluator2. This gives the evaluator an opportunity to update its state based on current data or parameter values. This method is called by the network analyst solvers after setting INetworkAttribute2::Parameters prior to performing the solve operation.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isUseByDefault() throws IOException, AutomationException
If the UseByDefault property is set to True for a NetworkAttribute, the network attribute will automatically be set as an option (e.g., impedance, restriction, hierarchy) when a new network analysis layer is created in ArcMap.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setUseByDefault(boolean useByDefault) throws IOException, AutomationException
useByDefault
- The useByDefault (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 |