com.esri.arcgis.networkanalyst
Interface INAServerNetworkSource

All Superinterfaces:
Serializable
All Known Implementing Classes:
NAServerNetworkSource

public interface INAServerNetworkSource
extends Serializable

Provides access to properties that describe a network source.

Remarks

The INAServerNetworkSource interface is used to access the properties of a network source within NAServer.

Product Availability

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


Method Summary
 int getElementType()
          Network element type of this network source.
 int getID()
          Unique identifier of this network source.
 String getName()
          Name of the class associated with this network source.
 int getSourceType()
          Type of network source.
 

Method Detail

getName

String getName()
               throws IOException,
                      AutomationException
Name of the class associated with this network source.

Remarks

Name specifies the name of the network source.

Product Availability

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

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

getID

int getID()
          throws IOException,
                 AutomationException
Unique identifier of this network source.

Remarks

ID specifies the ID of the network source within the network dataset.

Product Availability

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

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

getSourceType

int getSourceType()
                  throws IOException,
                         AutomationException
Type of network source.

Remarks

SourceType specifies the esriNetworkSourceType of the network source. Valid values include network source (default), system junction, junction feature, edge feature, and turn feature.

This property is useful if you need to find the source that corresponds to system junctions (esriNSTSystemJunction).

All SDC network sources have a source type of esriNSTNetworkSource.

Product Availability

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

Returns:
A com.esri.arcgis.geodatabase.esriNetworkSourceType constant
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getElementType

int getElementType()
                   throws IOException,
                          AutomationException
Network element type of this network source.

Remarks

ElementType specifies the esriNetworkElementType of the network source. Valid values include junction, edge, and turn.

Product Availability

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

Returns:
A com.esri.arcgis.geodatabase.esriNetworkElementType constant
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.