|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.datasourcesfile.SMNetBarriersCollection
public class SMNetBarriersCollection
The collection of network barriers.
Constructor Summary | |
---|---|
SMNetBarriersCollection(Object obj)
Construct a SMNetBarriersCollection using a reference to such an object returned from ArcGIS Engine or Server. |
Method Summary | |
---|---|
void |
add(ISMNetBarrier pItem)
Adds a barrier to the collection. |
void |
clear()
Removes all barriers from the collection. |
boolean |
equals(Object o)
Compare this object with another |
int |
hashCode()
the hashcode for this object |
void |
remove(int lID)
Removes a barrier with a specified ID from the collection. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef |
---|
getJintegraDispatch, release |
Constructor Detail |
---|
public SMNetBarriersCollection(Object obj) throws IOException
obj
to SMNetBarriersCollection
. *
SMNetBarriersCollection o = (SMNetBarriersCollection)obj; // will not work
SMNetBarriersCollection o = new SMNetBarriersCollection(obj); // Use this constructor instead
* @param obj an object returned from ArcGIS Engine or Server
IOException
- if there are interop problems
SMNetBarriersCollection theSMNetBarriersCollection = (SMNetBarriersCollection) obj;
Method Detail |
---|
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public void add(ISMNetBarrier pItem) throws IOException, AutomationException
Adds the network barrier to the collection.
add
in interface ISMNetBarriersCollection
pItem
- A reference to a com.esri.arcgis.datasourcesfile.ISMNetBarrier (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void remove(int lID) throws IOException, AutomationException
Removes the network barrier from the collection.
remove
in interface ISMNetBarriersCollection
lID
- The lID (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void clear() throws IOException, AutomationException
Removes all barriers from the collection.
clear
in interface ISMNetBarriersCollection
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 |