com.esri.arcgis.networkanalysis
Class StringPair

java.lang.Object
  extended by com.esri.arcgis.networkanalysis.StringPair
All Implemented Interfaces:
com.esri.arcgis.interop.RemoteObjRef, IStringPair, java.io.Serializable

public class StringPair
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IStringPair

COM Class 'StringPair'. Generated 3/19/2015 1:20:44 PM from 'C:\ArcGIS\COM\esriNetworkAnalysis.olb'

Description 'A container for specifying an ordered pair of strings.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.esri.arcgis.networkanalysis.IStringPair
IID, IID232cf977_baf2_4f6d_8a79_ffab1f2ae7ad, xxDummy
 
Constructor Summary
StringPair()
          Constructs a StringPair using ArcGIS Engine.
StringPair(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
StringPair theStringPair = (StringPair) obj;
 
Method Summary
 boolean equals(java.lang.Object o)
          Compare this object with another
static java.lang.String getClsid()
          getClsid.
 java.lang.String getFirstString()
          The first string in the pair.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 java.lang.String getSecondString()
          The second string in the pair.
 int hashCode()
          the hashcode for this object
 void release()
          Release a StringPair.
 void setFirstString(java.lang.String firstString)
          The first string in the pair.
 void setSecondString(java.lang.String secondString)
          The second string in the pair.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StringPair

public StringPair()
           throws java.io.IOException,
                  java.net.UnknownHostException
Constructs a StringPair using ArcGIS Engine.

Throws:
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems

StringPair

public StringPair(java.lang.Object obj)
           throws java.io.IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
StringPair theStringPair = (StringPair) obj;

Construct a StringPair using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to StringPair.

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
java.io.IOException - if there are interop problems
Method Detail

getClsid

public static java.lang.String getClsid()
getClsid.


equals

public boolean equals(java.lang.Object o)
Compare this object with another

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class java.lang.Object

getJintegraDispatch

public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
Deprecated. Internal use only.

Specified by:
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRef

release

public void release()
Release a StringPair.

Specified by:
release in interface com.esri.arcgis.interop.RemoteObjRef

getFirstString

public java.lang.String getFirstString()
                                throws java.io.IOException,
                                       AutomationException
The first string in the pair.

Specified by:
getFirstString in interface IStringPair
Returns:
The firstString
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSecondString

public java.lang.String getSecondString()
                                 throws java.io.IOException,
                                        AutomationException
The second string in the pair.

Specified by:
getSecondString in interface IStringPair
Returns:
The secondString
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setFirstString

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

Specified by:
setFirstString in interface IStringPair
Parameters:
firstString - The firstString (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setSecondString

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

Specified by:
setSecondString in interface IStringPair
Parameters:
secondString - The secondString (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.