|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.datasourcesfile.SMRestriction
public class SMRestriction
COM Class 'SMRestriction'. Generated 3/19/2015 1:20:42 PM from 'C:\ArcGIS\COM\esriDataSourcesFile.olb'
Description 'Deprecated as of 10.1. The object for defining route restrictions.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =
Field Summary |
---|
Fields inherited from interface com.esri.arcgis.datasourcesfile.ISMRestriction |
---|
DISPID_1_GET_NAME, DISPID_1_PUTREF_NAME, DISPID_2_GET_NAME, DISPID_2_PUT_NAME, DISPID_3_GET_NAME, DISPID_3_PUT_NAME, IID, IID3df8d708_18e9_4d3c_bc69_54190a3577d8, xxDummy |
Constructor Summary | |
---|---|
SMRestriction()
Constructs a SMRestriction using ArcGIS Engine. |
|
SMRestriction(java.lang.Object obj)
Construct a SMRestriction using a reference to such an object returned from ArcGIS Engine or Server. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object o)
Compare this object with another |
ISMNetAttribute |
getAttribute()
The network attribute used as a restriction. |
static java.lang.String |
getClsid()
getClsid. |
com.esri.arcgis.interop.Dispatch |
getJintegraDispatch()
Deprecated. Internal use only. |
java.lang.Object |
getParam()
The restriction parameter value. |
int |
getType()
Restriction type. |
int |
hashCode()
the hashcode for this object |
void |
release()
Release a SMRestriction. |
void |
setAttributeByRef(ISMNetAttribute pAttr)
The network attribute used as a restriction. |
void |
setParam(java.lang.Object pvParam)
The restriction parameter value. |
void |
setType(int pVal)
Restriction type. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SMRestriction() throws java.io.IOException, java.net.UnknownHostException
java.io.IOException
- if there are interop problems
java.net.UnknownHostException
- if there are interop problemspublic SMRestriction(java.lang.Object obj) throws java.io.IOException
obj
to SMRestriction
.
obj
- an object returned from ArcGIS Engine or Server
java.io.IOException
- if there are interop problems
SMRestriction theSMRestriction = (SMRestriction) obj;
Method Detail |
---|
public static java.lang.String getClsid()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch
in interface com.esri.arcgis.interop.RemoteObjRef
public void release()
release
in interface com.esri.arcgis.interop.RemoteObjRef
public ISMNetAttribute getAttribute() throws java.io.IOException, AutomationException
getAttribute
in interface ISMRestriction
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setAttributeByRef(ISMNetAttribute pAttr) throws java.io.IOException, AutomationException
setAttributeByRef
in interface ISMRestriction
pAttr
- A reference to a com.esri.arcgis.datasourcesfile.ISMNetAttribute (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getType() throws java.io.IOException, AutomationException
getType
in interface ISMRestriction
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setType(int pVal) throws java.io.IOException, AutomationException
setType
in interface ISMRestriction
pVal
- A com.esri.arcgis.datasourcesfile.esriSMRestrictionType constant (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.Object getParam() throws java.io.IOException, AutomationException
getParam
in interface ISMRestriction
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setParam(java.lang.Object pvParam) throws java.io.IOException, AutomationException
setParam
in interface ISMRestriction
pvParam
- A Variant (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 |