com.esri.arcgis.geodatabase
Interface INetWeightAssociation

All Superinterfaces:
Serializable
All Known Subinterfaces:
INetWeightAssociationEdit
All Known Implementing Classes:
NetWeightAssociation

public interface INetWeightAssociation
extends Serializable

Provides access to members that get information about the network weight association described by this NetWeightAssociation object.

Remarks

Creating a weight only adds the weight to your network. Without associating a weight with a particular field in an element class the weight would have no value and could not be used by the NetSolver object for tracing.

When To Use

The INetWeightAssociation interface is implemented by the NetWeightAssociation coclass and provides read-only access to the properties of the object.

Use the INetWeightAssociation interface to obtain the field name, table name, and ID of individual network weights.

Product Availability

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

See Also:
INetWeightEdit, INetWeightAssociation, INetWeightAssociationEdit, INetWeight

Method Summary
 String getFieldName()
          Name of the field that contains the values for this weight.
 String getTableName()
          Name of the table to which this weight is associated.
 int getWeightID()
          Weight internal ID of the weight to which this table is associated.
 

Method Detail

getTableName

String getTableName()
                    throws IOException,
                           AutomationException
Name of the table to which this weight is associated.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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

getFieldName

String getFieldName()
                    throws IOException,
                           AutomationException
Name of the field that contains the values for this weight.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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

getWeightID

int getWeightID()
                throws IOException,
                       AutomationException
Weight internal ID of the weight to which this table is associated.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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