com.esri.arcgis.datasourcesfile
Class SMNetBarrier

java.lang.Object
  extended by com.esri.arcgis.datasourcesfile.SMNetBarrier
All Implemented Interfaces:
ISMNetBarrier, com.esri.arcgis.interop.RemoteObjRef, Serializable

public class SMNetBarrier
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, ISMNetBarrier

Deprecated as of 10.1. The network barrier object.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also:
Serialized Form

Constructor Summary
SMNetBarrier()
          Constructs a SMNetBarrier using ArcGIS Engine.
SMNetBarrier(Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
SMNetBarrier theSMNetBarrier = (SMNetBarrier) obj;
 
Method Summary
 boolean equals(Object o)
          Compare this object with another
 int getBarrierID()
          The network barrier ID.
static String getClsid()
          getClsid.
 ISMRouterPoint getPoint()
          Geographic location of the barrier.
 int hashCode()
          the hashcode for this object
 void setBarrierID(int pVal)
          The network barrier ID.
 void setPoint(ISMRouterPoint pVal)
          Geographic location of the barrier.
 
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

SMNetBarrier

public SMNetBarrier()
             throws IOException,
                    UnknownHostException
Constructs a SMNetBarrier using ArcGIS Engine.

Throws:
IOException - if there are interop problems
UnknownHostException - if there are interop problems

SMNetBarrier

public SMNetBarrier(Object obj)
             throws IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
SMNetBarrier theSMNetBarrier = (SMNetBarrier) obj;

Construct a SMNetBarrier using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to SMNetBarrier.

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
IOException - if there are interop problems
Method Detail

getClsid

public static String getClsid()
getClsid.


equals

public boolean equals(Object o)
Compare this object with another

Overrides:
equals in class Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class Object

getBarrierID

public int getBarrierID()
                 throws IOException,
                        AutomationException
The network barrier ID.

Description

Returns the network barrier ID.

Remarks

BarrierID contains user-defined number that may be used to identify barriers in the barriers collection.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getBarrierID in interface ISMNetBarrier
Returns:
The pVal
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setBarrierID

public void setBarrierID(int pVal)
                  throws IOException,
                         AutomationException
The network barrier ID.

Description

Writes the network barrier ID.

Remarks

BarrierID contains user-defined number that may be used to identify barriers in the barriers collection.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
setBarrierID in interface ISMNetBarrier
Parameters:
pVal - The pVal (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getPoint

public ISMRouterPoint getPoint()
                        throws IOException,
                               AutomationException
Geographic location of the barrier.

Description

Returns the geographic location of the barrier.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getPoint in interface ISMNetBarrier
Returns:
A reference to a com.esri.arcgis.datasourcesfile.ISMRouterPoint
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setPoint

public void setPoint(ISMRouterPoint pVal)
              throws IOException,
                     AutomationException
Geographic location of the barrier.

Description

Writes the geographic location of the barrier.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
setPoint in interface ISMNetBarrier
Parameters:
pVal - A reference to a com.esri.arcgis.datasourcesfile.ISMRouterPoint (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.