|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ISMRestriction
Deprecated as of 10.1. Provides access to the routing restriction properties.
Method Summary | |
---|---|
ISMNetAttribute |
getAttribute()
The network attribute used as a restriction. |
Object |
getParam()
The restriction parameter value. |
int |
getType()
Restriction type. |
void |
setAttributeByRef(ISMNetAttribute pAttr)
The network attribute used as a restriction. |
void |
setParam(Object pvParam)
The restriction parameter value. |
void |
setType(int pVal)
Restriction type. |
Method Detail |
---|
ISMNetAttribute getAttribute() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setAttributeByRef(ISMNetAttribute pAttr) throws IOException, AutomationException
pAttr
- A reference to a com.esri.arcgis.datasourcesfile.ISMNetAttribute (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getType() throws IOException, AutomationException
The restriction type can be Strict or Relaxed. Strict restrictions can never be violated by the solver, while Relaxed restrictions can be violated if there is no other way to calculate a route.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setType(int pVal) throws IOException, AutomationException
pVal
- A com.esri.arcgis.datasourcesfile.esriSMRestrictionType constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.Object getParam() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setParam(Object pvParam) throws IOException, AutomationException
pvParam
- A Variant (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 |