com.esri.arcgis.catalog
Class GxDatabaseExtensions

java.lang.Object
  extended by com.esri.arcgis.catalog.GxDatabaseExtensions
All Implemented Interfaces:
IGxDatabaseExtensions, com.esri.arcgis.interop.RemoteObjRef, Serializable

public class GxDatabaseExtensions
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, IGxDatabaseExtensions

GxObject that represents the database extensions.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Singleton:

This type is a singleton.

See Also:
Serialized Form

Constructor Summary
GxDatabaseExtensions()
          Constructs a GxDatabaseExtensions using ArcGIS Engine.
GxDatabaseExtensions(Object obj)
          Construct a GxDatabaseExtensions using a reference to such an object returned from ArcGIS Engine or Server.
 
Method Summary
 boolean equals(Object o)
          Compare this object with another
static String getClsid()
          getClsid.
 int getCount()
          The number of database extensions.
 IGxDatabaseExtension getExtension(int index)
          Get an extension.
 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

GxDatabaseExtensions

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

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

GxDatabaseExtensions

public GxDatabaseExtensions(Object obj)
                     throws IOException
Construct a GxDatabaseExtensions using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to GxDatabaseExtensions.

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
IOException - if there are interop problems GxDatabaseExtensions theGxDatabaseExtensions = (GxDatabaseExtensions) obj;
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

getCount

public int getCount()
             throws IOException,
                    AutomationException
The number of database extensions.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Specified by:
getCount in interface IGxDatabaseExtensions
Returns:
The count
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getExtension

public IGxDatabaseExtension getExtension(int index)
                                  throws IOException,
                                         AutomationException
Get an extension.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Specified by:
getExtension in interface IGxDatabaseExtensions
Parameters:
index - The index (in)
Returns:
A reference to a com.esri.arcgis.catalog.IGxDatabaseExtension
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.