com.esri.arcgis.geodatabase
Class ObjectClassDescription

java.lang.Object
  extended by com.esri.arcgis.geodatabase.ObjectClassDescription
All Implemented Interfaces:
IObjectClassDescription, com.esri.arcgis.interop.RemoteObjRef, Serializable

public class ObjectClassDescription
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, IObjectClassDescription

ESRI Object Class Description.

Description

An ObjectClassDescription allows developers to implement configuration interfaces that automate the create of new Object Classes by predefining required information for Object Classes, Feature Classes and Network Feature Classes.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.esri.arcgis.geodatabase.IObjectClassDescription
IID, IID6a68bebc_8b1b_11d2_a06c_0000f877ebd6, xxDummy
 
Constructor Summary
ObjectClassDescription()
          Constructs a ObjectClassDescription using ArcGIS Engine.
ObjectClassDescription(Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
ObjectClassDescription theObjectClassDescription = (ObjectClassDescription) obj;
 
Method Summary
 boolean equals(Object o)
          Compare this object with another
 String getAliasName()
          The alias name of this class.
 IUID getClassExtensionCLSID()
          The CLSID of the class extension COM class that implements class level behavior.
static String getClsid()
          getClsid.
 IUID getInstanceCLSID()
          The CLSID of the COM class that implements instance level behavior.
 String getModelName()
          The model name of this class.
 String getName()
          The name for this class, e.g., ESRI Simple Junction Feature.
 IFields getRequiredFields()
          The descriptions of the set of required fields for this class.
 int hashCode()
          the hashcode for this object
 boolean isModelNameUnique()
          Indicates if the model name of this class is unique.
 
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

ObjectClassDescription

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

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

ObjectClassDescription

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

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

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

getName

public String getName()
               throws IOException,
                      AutomationException
The name for this class, e.g., ESRI Simple Junction Feature.

Specified by:
getName in interface IObjectClassDescription
Returns:
The name
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getAliasName

public String getAliasName()
                    throws IOException,
                           AutomationException
The alias name of this class.

Specified by:
getAliasName in interface IObjectClassDescription
Returns:
The name
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getModelName

public String getModelName()
                    throws IOException,
                           AutomationException
The model name of this class.

Specified by:
getModelName in interface IObjectClassDescription
Returns:
The name
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isModelNameUnique

public boolean isModelNameUnique()
                          throws IOException,
                                 AutomationException
Indicates if the model name of this class is unique.

Specified by:
isModelNameUnique in interface IObjectClassDescription
Returns:
The isUnique
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getInstanceCLSID

public IUID getInstanceCLSID()
                      throws IOException,
                             AutomationException
The CLSID of the COM class that implements instance level behavior.

Specified by:
getInstanceCLSID in interface IObjectClassDescription
Returns:
A reference to a com.esri.arcgis.system.IUID
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getClassExtensionCLSID

public IUID getClassExtensionCLSID()
                            throws IOException,
                                   AutomationException
The CLSID of the class extension COM class that implements class level behavior.

Specified by:
getClassExtensionCLSID in interface IObjectClassDescription
Returns:
A reference to a com.esri.arcgis.system.IUID
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getRequiredFields

public IFields getRequiredFields()
                          throws IOException,
                                 AutomationException
The descriptions of the set of required fields for this class.

Specified by:
getRequiredFields in interface IObjectClassDescription
Returns:
A reference to a com.esri.arcgis.geodatabase.IFields
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.