com.esri.arcgis.geodatabase
Class DEGdbUtilities

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

public class DEGdbUtilities
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, IDEGdbUtilities

Geodatabase Data Element Utilities object.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Singleton:

This type is a singleton.

See Also:
Serialized Form

Constructor Summary
DEGdbUtilities()
          Constructs a DEGdbUtilities using ArcGIS Engine.
DEGdbUtilities(Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
DEGdbUtilities theDEGdbUtilities = (DEGdbUtilities) obj;
 
Method Summary
 boolean equals(Object o)
          Compare this object with another
static String getClsid()
          getClsid.
 String getDatasetTypeDescription(int type)
          Get dataset type description.
 int getDatasetTypeFromString(String desc)
          Get dataset type from string.
 String getExpandTypeDescription(int type)
          Get expand type description.
 int getExpandTypeFromString(String desc)
          Get expand type from string.
 String getFeatureTypeDescription(int type)
          Get feature type description.
 int getFeatureTypeFromString(String desc)
          Get feature type from string.
 String getFieldTypeDescription(int type)
          Get field type description.
 int getFieldTypeFromString(String desc)
          Get field type from string.
 String getGeometryTypeDescription(int type)
          Get geometry type description.
 int getGeometryTypeFromString(String desc)
          Get geometry type from string.
 String getNetworkClassAncillaryRoleDescription(int role)
          Get network class ancillary role type description.
 int getNetworkClassAncillaryRoleFromString(String desc)
          Get network class ancillary role type from string.
 String getNetworkTypeDescription(int netType)
          Get network type description.
 int getNetworkTypeFromString(String desc)
          Get network type from string.
 String getRelationshipCardinalityDescription(int card)
          Get relationship cardinality description.
 int getRelationshipCardinalityFromString(String desc)
          Get relationship cardinality from string.
 String getRelationshipClassKeyDescription(int classKey)
          Get relationship class key type description.
 int getRelationshipClassKeyFromString(String desc)
          Get relationship class key type from string.
 String getRelationshipKeyRoleDescription(int keyRole)
          Get relationship key role description.
 int getRelationshipKeyRoleFromString(String desc)
          Get relationship key role from string.
 String getRelationshipKeyTypeDescription(int keyType)
          Get relationship key type description.
 int getRelationshipKeyTypeFromString(String desc)
          Get relationship key type from string.
 String getRelationshipNotificationDescription(int notification)
          Get relationship notification description.
 int getRelationshipNotificationFromString(String desc)
          Get relationship notification from string.
 String getWorkspaceTypeDescription(int type)
          Get workspace type description.
 int getWorkspaceTypeFromString(String desc)
          Get worspace type from string.
 int hashCode()
          the hashcode for this object
 boolean isEqualDEGeoDataset(IDEGeoDataset dEGeoDataset1, IDEGeoDataset dEGeoDataset2)
          Check if DEGeoDataset properties are equal.
 
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

DEGdbUtilities

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

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

DEGdbUtilities

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

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

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

getDatasetTypeFromString

public int getDatasetTypeFromString(String desc)
                             throws IOException,
                                    AutomationException
Get dataset type from string.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
getDatasetTypeFromString in interface IDEGdbUtilities
Parameters:
desc - The desc (in)
Returns:
A com.esri.arcgis.geodatabase.esriDatasetType constant
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDatasetTypeDescription

public String getDatasetTypeDescription(int type)
                                 throws IOException,
                                        AutomationException
Get dataset type description.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
getDatasetTypeDescription in interface IDEGdbUtilities
Parameters:
type - A com.esri.arcgis.geodatabase.esriDatasetType constant (in)
Returns:
The desc
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getGeometryTypeFromString

public int getGeometryTypeFromString(String desc)
                              throws IOException,
                                     AutomationException
Get geometry type from string.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
getGeometryTypeFromString in interface IDEGdbUtilities
Parameters:
desc - The desc (in)
Returns:
A com.esri.arcgis.geometry.esriGeometryType constant
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getGeometryTypeDescription

public String getGeometryTypeDescription(int type)
                                  throws IOException,
                                         AutomationException
Get geometry type description.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
getGeometryTypeDescription in interface IDEGdbUtilities
Parameters:
type - A com.esri.arcgis.geometry.esriGeometryType constant (in)
Returns:
The desc
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getFeatureTypeFromString

public int getFeatureTypeFromString(String desc)
                             throws IOException,
                                    AutomationException
Get feature type from string.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
getFeatureTypeFromString in interface IDEGdbUtilities
Parameters:
desc - The desc (in)
Returns:
A com.esri.arcgis.geodatabase.esriFeatureType constant
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getFeatureTypeDescription

public String getFeatureTypeDescription(int type)
                                 throws IOException,
                                        AutomationException
Get feature type description.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
getFeatureTypeDescription in interface IDEGdbUtilities
Parameters:
type - A com.esri.arcgis.geodatabase.esriFeatureType constant (in)
Returns:
The desc
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getExpandTypeFromString

public int getExpandTypeFromString(String desc)
                            throws IOException,
                                   AutomationException
Get expand type from string.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
getExpandTypeFromString in interface IDEGdbUtilities
Parameters:
desc - The desc (in)
Returns:
A com.esri.arcgis.geodatabase.esriDEExpandType constant
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getExpandTypeDescription

public String getExpandTypeDescription(int type)
                                throws IOException,
                                       AutomationException
Get expand type description.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
getExpandTypeDescription in interface IDEGdbUtilities
Parameters:
type - A com.esri.arcgis.geodatabase.esriDEExpandType constant (in)
Returns:
The desc
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getFieldTypeFromString

public int getFieldTypeFromString(String desc)
                           throws IOException,
                                  AutomationException
Get field type from string.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
getFieldTypeFromString in interface IDEGdbUtilities
Parameters:
desc - The desc (in)
Returns:
A com.esri.arcgis.geodatabase.esriFieldType constant
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getFieldTypeDescription

public String getFieldTypeDescription(int type)
                               throws IOException,
                                      AutomationException
Get field type description.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
getFieldTypeDescription in interface IDEGdbUtilities
Parameters:
type - A com.esri.arcgis.geodatabase.esriFieldType constant (in)
Returns:
The desc
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getWorkspaceTypeFromString

public int getWorkspaceTypeFromString(String desc)
                               throws IOException,
                                      AutomationException
Get worspace type from string.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
getWorkspaceTypeFromString in interface IDEGdbUtilities
Parameters:
desc - The desc (in)
Returns:
A com.esri.arcgis.geodatabase.esriWorkspaceType constant
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getWorkspaceTypeDescription

public String getWorkspaceTypeDescription(int type)
                                   throws IOException,
                                          AutomationException
Get workspace type description.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
getWorkspaceTypeDescription in interface IDEGdbUtilities
Parameters:
type - A com.esri.arcgis.geodatabase.esriWorkspaceType constant (in)
Returns:
The desc
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getNetworkClassAncillaryRoleFromString

public int getNetworkClassAncillaryRoleFromString(String desc)
                                           throws IOException,
                                                  AutomationException
Get network class ancillary role type from string.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
getNetworkClassAncillaryRoleFromString in interface IDEGdbUtilities
Parameters:
desc - The desc (in)
Returns:
A com.esri.arcgis.geodatabase.esriNetworkClassAncillaryRole constant
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getNetworkClassAncillaryRoleDescription

public String getNetworkClassAncillaryRoleDescription(int role)
                                               throws IOException,
                                                      AutomationException
Get network class ancillary role type description.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
getNetworkClassAncillaryRoleDescription in interface IDEGdbUtilities
Parameters:
role - A com.esri.arcgis.geodatabase.esriNetworkClassAncillaryRole constant (in)
Returns:
The desc
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getRelationshipKeyTypeFromString

public int getRelationshipKeyTypeFromString(String desc)
                                     throws IOException,
                                            AutomationException
Get relationship key type from string.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
getRelationshipKeyTypeFromString in interface IDEGdbUtilities
Parameters:
desc - The desc (in)
Returns:
A com.esri.arcgis.geodatabase.esriRelKeyType constant
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getRelationshipKeyTypeDescription

public String getRelationshipKeyTypeDescription(int keyType)
                                         throws IOException,
                                                AutomationException
Get relationship key type description.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
getRelationshipKeyTypeDescription in interface IDEGdbUtilities
Parameters:
keyType - A com.esri.arcgis.geodatabase.esriRelKeyType constant (in)
Returns:
The desc
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getRelationshipClassKeyFromString

public int getRelationshipClassKeyFromString(String desc)
                                      throws IOException,
                                             AutomationException
Get relationship class key type from string.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
getRelationshipClassKeyFromString in interface IDEGdbUtilities
Parameters:
desc - The desc (in)
Returns:
A com.esri.arcgis.geodatabase.esriRelClassKey constant
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getRelationshipClassKeyDescription

public String getRelationshipClassKeyDescription(int classKey)
                                          throws IOException,
                                                 AutomationException
Get relationship class key type description.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
getRelationshipClassKeyDescription in interface IDEGdbUtilities
Parameters:
classKey - A com.esri.arcgis.geodatabase.esriRelClassKey constant (in)
Returns:
The desc
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getRelationshipKeyRoleFromString

public int getRelationshipKeyRoleFromString(String desc)
                                     throws IOException,
                                            AutomationException
Get relationship key role from string.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
getRelationshipKeyRoleFromString in interface IDEGdbUtilities
Parameters:
desc - The desc (in)
Returns:
A com.esri.arcgis.geodatabase.esriRelKeyRole constant
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getRelationshipKeyRoleDescription

public String getRelationshipKeyRoleDescription(int keyRole)
                                         throws IOException,
                                                AutomationException
Get relationship key role description.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
getRelationshipKeyRoleDescription in interface IDEGdbUtilities
Parameters:
keyRole - A com.esri.arcgis.geodatabase.esriRelKeyRole constant (in)
Returns:
The desc
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getRelationshipCardinalityFromString

public int getRelationshipCardinalityFromString(String desc)
                                         throws IOException,
                                                AutomationException
Get relationship cardinality from string.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
getRelationshipCardinalityFromString in interface IDEGdbUtilities
Parameters:
desc - The desc (in)
Returns:
A com.esri.arcgis.geodatabase.esriRelCardinality constant
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getRelationshipCardinalityDescription

public String getRelationshipCardinalityDescription(int card)
                                             throws IOException,
                                                    AutomationException
Get relationship cardinality description.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
getRelationshipCardinalityDescription in interface IDEGdbUtilities
Parameters:
card - A com.esri.arcgis.geodatabase.esriRelCardinality constant (in)
Returns:
The desc
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getRelationshipNotificationFromString

public int getRelationshipNotificationFromString(String desc)
                                          throws IOException,
                                                 AutomationException
Get relationship notification from string.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
getRelationshipNotificationFromString in interface IDEGdbUtilities
Parameters:
desc - The desc (in)
Returns:
A com.esri.arcgis.geodatabase.esriRelNotification constant
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getRelationshipNotificationDescription

public String getRelationshipNotificationDescription(int notification)
                                              throws IOException,
                                                     AutomationException
Get relationship notification description.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
getRelationshipNotificationDescription in interface IDEGdbUtilities
Parameters:
notification - A com.esri.arcgis.geodatabase.esriRelNotification constant (in)
Returns:
The desc
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getNetworkTypeFromString

public int getNetworkTypeFromString(String desc)
                             throws IOException,
                                    AutomationException
Get network type from string.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
getNetworkTypeFromString in interface IDEGdbUtilities
Parameters:
desc - The desc (in)
Returns:
A com.esri.arcgis.geodatabase.esriNetworkType constant
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getNetworkTypeDescription

public String getNetworkTypeDescription(int netType)
                                 throws IOException,
                                        AutomationException
Get network type description.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
getNetworkTypeDescription in interface IDEGdbUtilities
Parameters:
netType - A com.esri.arcgis.geodatabase.esriNetworkType constant (in)
Returns:
The desc
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isEqualDEGeoDataset

public boolean isEqualDEGeoDataset(IDEGeoDataset dEGeoDataset1,
                                   IDEGeoDataset dEGeoDataset2)
                            throws IOException,
                                   AutomationException
Check if DEGeoDataset properties are equal.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
isEqualDEGeoDataset in interface IDEGdbUtilities
Parameters:
dEGeoDataset1 - A reference to a com.esri.arcgis.geodatabase.IDEGeoDataset (in)
dEGeoDataset2 - A reference to a com.esri.arcgis.geodatabase.IDEGeoDataset (in)
Returns:
The equal
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.