com.esri.arcgis.networkanalysis
Interface IStringPair

All Superinterfaces:
Serializable
All Known Implementing Classes:
StringPair

public interface IStringPair
extends Serializable

Provides access to an ordered pair of strings.

Remarks

The StringPair is a set of strings and is currently used with the INetworkBuilder2::AddWeightToNetwork method in which the first string represents the class name, the second the field name.

Product Availability

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


Method Summary
 String getFirstString()
          The first string in the pair.
 String getSecondString()
          The second string in the pair.
 void setFirstString(String firstString)
          The first string in the pair.
 void setSecondString(String secondString)
          The second string in the pair.
 

Method Detail

getFirstString

String getFirstString()
                      throws IOException,
                             AutomationException
The first string in the pair.

Product Availability

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

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

getSecondString

String getSecondString()
                       throws IOException,
                              AutomationException
The second string in the pair.

Product Availability

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

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

setFirstString

void setFirstString(String firstString)
                    throws IOException,
                           AutomationException
The first string in the pair.

Product Availability

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

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

setSecondString

void setSecondString(String secondString)
                     throws IOException,
                            AutomationException
The second string in the pair.

Product Availability

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

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