com.esri.arcgis.arcweb
Class ArcWebKeyValue

java.lang.Object
  extended by com.esri.arcgis.arcweb.ArcWebKeyValue
All Implemented Interfaces:
IArcWebKeyValue, com.esri.arcgis.interop.RemoteObjRef, Serializable

public class ArcWebKeyValue
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, IArcWebKeyValue

A combination of a Key and a Value pair; the key part contains a short identifier such as a type or code for retrieving a particular value and the value part contains a description of the key.

Product Availability

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

See Also:
Serialized Form

Constructor Summary
ArcWebKeyValue()
          Constructs a ArcWebKeyValue using ArcGIS Engine.
ArcWebKeyValue(Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
ArcWebKeyValue theArcWebKeyValue = (ArcWebKeyValue) obj;
 
Method Summary
 boolean equals(Object o)
          Compare this object with another
static String getClsid()
          getClsid.
 String getKey()
          An identifier such as a type or code for retrieving a value.
 String getValue()
          A description of the key value.
 int hashCode()
          the hashcode for this object
 void setKey(String pKey)
          An identifier such as a type or code for retrieving a value.
 void setValue(String pValue)
          A description of the key value.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef
getJintegraDispatch, release
 

Constructor Detail

ArcWebKeyValue

public ArcWebKeyValue()
               throws IOException,
                      UnknownHostException
Constructs a ArcWebKeyValue using ArcGIS Engine.

Throws:
IOException - if there are interop problems
UnknownHostException - if there are interop problems

ArcWebKeyValue

public ArcWebKeyValue(Object obj)
               throws IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
ArcWebKeyValue theArcWebKeyValue = (ArcWebKeyValue) obj;

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

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

getClsid

public static String getClsid()
getClsid.


equals

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

Overrides:
equals in class Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class Object

getKey

public String getKey()
              throws IOException,
                     AutomationException
An identifier such as a type or code for retrieving a value.

Product Availability

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

Specified by:
getKey in interface IArcWebKeyValue
Returns:
The pKey
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setKey

public void setKey(String pKey)
            throws IOException,
                   AutomationException
An identifier such as a type or code for retrieving a value.

Product Availability

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

Specified by:
setKey in interface IArcWebKeyValue
Parameters:
pKey - The pKey (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getValue

public String getValue()
                throws IOException,
                       AutomationException
A description of the key value.

Product Availability

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

Specified by:
getValue in interface IArcWebKeyValue
Returns:
The pValue
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setValue

public void setValue(String pValue)
              throws IOException,
                     AutomationException
A description of the key value.

Product Availability

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

Specified by:
setValue in interface IArcWebKeyValue
Parameters:
pValue - The pValue (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.