com.esri.arcgis.arcweb
Class ArcWebCustomVariableInfo

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

public class ArcWebCustomVariableInfo
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, IArcWebCustomVariableInfo

The information describing an ArcWeb custom variable.

Product Availability

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

See Also:
Serialized Form

Constructor Summary
ArcWebCustomVariableInfo(Object obj)
          Construct a ArcWebCustomVariableInfo using a reference to such an object returned from ArcGIS Engine or Server.
 
Method Summary
 boolean equals(Object o)
          Compare this object with another
 String getDatabase()
          The name of the database with the variable.
 IArcWebField getField()
          A description of the field in the variable.
 int hashCode()
          the hashcode for this object
 
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

ArcWebCustomVariableInfo

public ArcWebCustomVariableInfo(Object obj)
                         throws IOException
Construct a ArcWebCustomVariableInfo using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to ArcWebCustomVariableInfo.
Casting to this class from the return value of a method will not work, as this class represents an abstract class in ArcObjects.
*
ArcWebCustomVariableInfo o = (ArcWebCustomVariableInfo)obj; // will not work

ArcWebCustomVariableInfo o = new ArcWebCustomVariableInfo(obj); // Use this constructor instead
* @param obj an object returned from ArcGIS Engine or Server

Throws:
IOException - if there are interop problems ArcWebCustomVariableInfo theArcWebCustomVariableInfo = (ArcWebCustomVariableInfo) obj;
Method Detail

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

getDatabase

public String getDatabase()
                   throws IOException,
                          AutomationException
The name of the database with the variable.

Product Availability

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

Specified by:
getDatabase in interface IArcWebCustomVariableInfo
Returns:
The database
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getField

public IArcWebField getField()
                      throws IOException,
                             AutomationException
A description of the field in the variable.

Product Availability

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

Specified by:
getField in interface IArcWebCustomVariableInfo
Returns:
A reference to a com.esri.arcgis.arcweb.IArcWebField
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.