com.esri.arcgis.networkanalyst
Interface INAServerNetworkAttribute

All Superinterfaces:
Serializable
All Known Subinterfaces:
INAServerNetworkAttribute2
All Known Implementing Classes:
NAServerNetworkAttribute

public interface INAServerNetworkAttribute
extends Serializable

Deprecated as of 10.0. Provides access to properties that describe a network attribute.

Remarks

At version 10.1, ArcGIS for Server no longer supports performing network analysis via local connections using the GISServer and GISClient APIs. Use the SOAP or REST API instead.

The INAServerNetworkAttribute interface is used to access the properties of a network attribute within NAServer.

Product Availability

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


Method Summary
 int getDataType()
          Type of data used in this network attribute.
 String getName()
          Name of this network attribute.
 IStringArray getParameterNames()
          Collection of parameter names for this network attribute.
 int getUnits()
          Units of this network attribute.
 int getUsageType()
          Usage type of this network attribute.
 

Method Detail

getName

String getName()
               throws IOException,
                      AutomationException
Name of this network attribute.

Remarks

Name specifies the name of the network attribute.

Product Availability

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

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

getUnits

int getUnits()
             throws IOException,
                    AutomationException
Units of this network attribute.

Remarks

Units specifies the esriNetworkAttributeUnits of the network attribute. Valid values include most length and time units.

Product Availability

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

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

getDataType

int getDataType()
                throws IOException,
                       AutomationException
Type of data used in this network attribute.

Remarks

DataType specifies the esriNetworkAttributeDataType of the network attribute. Valid data types include integer, float, double, and boolean.

Product Availability

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

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

getUsageType

int getUsageType()
                 throws IOException,
                        AutomationException
Usage type of this network attribute.

Remarks

UsageType specfies the esriNetworkAttributeUsageType of the network attribute. Valid values include cost, descriptor, restriction, and hierarchy.

Product Availability

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

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

getParameterNames

IStringArray getParameterNames()
                               throws IOException,
                                      AutomationException
Collection of parameter names for this network attribute.

Product Availability

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

Returns:
A reference to a com.esri.arcgis.system.IStringArray
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.