com.esri.arcgis.datasourcesfile
Interface ISMNetBarrier

All Superinterfaces:
Serializable
All Known Implementing Classes:
SMNetBarrier

public interface ISMNetBarrier
extends Serializable

Provides access to the network barrier properties.

Description

Represents the network barrier properties interface.

Remarks

Network barrier is a point on the routing data network. When you put a barrier on some street segment, it indicates the Router that it has to find the path around that point.

Product Availability

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


Method Summary
 int getBarrierID()
          The network barrier ID.
 ISMRouterPoint getPoint()
          Geographic location of the barrier.
 void setBarrierID(int pVal)
          The network barrier ID.
 void setPoint(ISMRouterPoint pVal)
          Geographic location of the barrier.
 

Method Detail

getBarrierID

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.

Returns:
The pVal
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setBarrierID

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.

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

getPoint

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.

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

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.

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.