|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.interop.Dispatch
com.esri.arcgis.datasourcesfile.ISMRestrictionProxy
public class ISMRestrictionProxy
Provides access to the routing restriction properties.
| Field Summary | |
|---|---|
boolean |
noncastable
|
| Fields inherited from class com.esri.arcgis.interop.Dispatch |
|---|
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef |
| Constructor Summary | |
|---|---|
|
ISMRestrictionProxy()
|
|
ISMRestrictionProxy(Object obj)
|
protected |
ISMRestrictionProxy(Object obj,
String iid)
|
| Method Summary | |
|---|---|
void |
addListener(String iidStr,
Object theListener,
Object theSource)
|
ISMNetAttribute |
getAttribute()
The network attribute used as a restriction. |
Object |
getParam()
The restriction parameter value. |
int |
getType()
Restriction type. |
void |
removeListener(String iidStr,
Object theListener)
|
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. |
| Methods inherited from class com.esri.arcgis.interop.Dispatch |
|---|
bindUsingMoniker, constructVtblPosTable, convertToNative, cookieForListener, createDispatch, createObjrefMonikerDisplayName, equals, getActiveObject, getActiveObject, getDefaultProperty, getDispatchIdOfName, getLastErrorCode, getMtsObjectContext, getObjRef, getPropertyByName, getPropertyByName, getVtblPos, hashCode, initDispatch, invoke, invokeMethodByName, invokeMethodByName, invokeMethodByName, invokePropertyGetByName, invokePropertyPutByName, invokePropertyPutByRefByName, isNativeMode, isObjRef, optimizedVtblInvoke, queryInterface, readExternal, release, setNativeMode, setPropertyByName, toString, vtblInvoke, writeExternal |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public boolean noncastable
| Constructor Detail |
|---|
public ISMRestrictionProxy()
public ISMRestrictionProxy(Object obj)
throws IOException
IOException
protected ISMRestrictionProxy(Object obj,
String iid)
throws IOException
IOException| Method Detail |
|---|
public void addListener(String iidStr,
Object theListener,
Object theSource)
throws IOException
addListener in class com.esri.arcgis.interop.DispatchIOException
public void removeListener(String iidStr,
Object theListener)
throws IOException
removeListener in class com.esri.arcgis.interop.DispatchIOException
public ISMNetAttribute getAttribute()
throws IOException,
AutomationException
getAttribute in interface ISMRestrictionIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setAttributeByRef(ISMNetAttribute pAttr)
throws IOException,
AutomationException
setAttributeByRef in interface ISMRestrictionpAttr - A reference to a com.esri.arcgis.datasourcesfile.ISMNetAttribute (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public 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.
getType in interface ISMRestrictionIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setType(int pVal)
throws IOException,
AutomationException
setType in interface ISMRestrictionpVal - A com.esri.arcgis.datasourcesfile.esriSMRestrictionType constant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public Object getParam()
throws IOException,
AutomationException
getParam in interface ISMRestrictionIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setParam(Object pvParam)
throws IOException,
AutomationException
setParam in interface ISMRestrictionpvParam - 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 | ||||||||