com.esri.arcgis.geodatabase
Interface INetWeightAssociationEdit

All Superinterfaces:
INetWeightAssociation, Serializable
All Known Implementing Classes:
NetWeightAssociation

public interface INetWeightAssociationEdit
extends INetWeightAssociation, Serializable

Provides access to members that set information for this NetWeightAssociation object.

Remarks

To add a weight association to your logical network you need to use INetSchemaEdit::AddWeightAssociation .

The INetWeightAssociationEdit interface is only for adding weight associations to a stand-alone empty logical network. For creating weight associations when building a geometric network, use the Build Geometric Network Wizard, or the AddWeightAssocation method on the NetworkLoader object.

When To Use

Use the INetWeightAssociationEdit interface to associate newly created weights with attributes in a network.

Product Availability

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

See Also:
INetWeightEdit, INetWeightAssociation, INetWeightAssociationEdit, INetWeight

Method Summary
 void setFieldName(String rhs1)
          Name of the field that contains the values for this associated weight.
 void setTableName(String rhs1)
          Name of the table to be associated in this weight association.
 void setWeightID(int rhs1)
          Weight internal ID of the weight to be associated in this weight assocation.
 
Methods inherited from interface com.esri.arcgis.geodatabase.INetWeightAssociation
getFieldName, getTableName, getWeightID
 

Method Detail

setTableName

void setTableName(String rhs1)
                  throws IOException,
                         AutomationException
Name of the table to be associated in this weight association.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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

setFieldName

void setFieldName(String rhs1)
                  throws IOException,
                         AutomationException
Name of the field that contains the values for this associated weight.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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

setWeightID

void setWeightID(int rhs1)
                 throws IOException,
                        AutomationException
Weight internal ID of the weight to be associated in this weight assocation.

Remarks

The internal ID of the weight you are creating an association for can be retrieved from the INetSchema interface.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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