com.esri.arcgis.geodatabase
Class ClassHelper

java.lang.Object
  extended bycom.esri.arcgis.geodatabase.ClassHelper
All Implemented Interfaces:
IClassHelper, java.io.Serializable

public class ClassHelper
extends java.lang.Object
implements IClassHelper

ESRI Class Helper.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

See Also:
Serialized Form

Constructor Summary
ClassHelper()
          Constructs a ClassHelper using ArcGIS Engine.
ClassHelper(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
 
Method Summary
 boolean equals(java.lang.Object o)
          Compare this object with another
 IClass esri_getClass()
          The class for this class helper.
 IClassHelper getAsIClassHelper()
          Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed.
static java.lang.String getClsid()
           
 int hashCode()
          the hashcode for this object
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClassHelper

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

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

ClassHelper

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

Construct a ClassHelper using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to ClassHelper.
ClassHelper theClassHelper = (ClassHelper) obj;

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()

getAsIClassHelper

public IClassHelper getAsIClassHelper()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed.


equals

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


hashCode

public int hashCode()
the hashcode for this object


esri_getClass

public IClass esri_getClass()
                     throws java.io.IOException,
                            AutomationException
Description copied from interface: IClassHelper
The class for this class helper.

Specified by:
esri_getClass in interface IClassHelper
Returns:
A reference to a com.esri.arcgis.geodatabase.IClass
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.