com.esri.arcgis.geoprocessing
Class DEUtilities

java.lang.Object
  extended by com.esri.arcgis.geoprocessing.DEUtilities
All Implemented Interfaces:
IDEUtilities, com.esri.arcgis.interop.RemoteObjRef, java.io.Serializable

public class DEUtilities
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IDEUtilities

COM Class 'DEUtilities'. Generated 3/19/2015 1:20:44 PM from 'C:\ArcGIS\COM\esriGeoprocessing.olb'

Description 'Data Element Utilities object.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.esri.arcgis.geoprocessing.IDEUtilities
IID, IID39fcba4f_fad5_4360_a91e_f6c995205676, xxDummy
 
Constructor Summary
DEUtilities()
          Constructs a DEUtilities using ArcGIS Engine.
DEUtilities(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
DEUtilities theDEUtilities = (DEUtilities) obj;
 
Method Summary
 void assignTinProperties(ITin pTin, IDataElement pDataElement)
          Assign tin properties.
 boolean compareWildCard(java.lang.String wildCard, java.lang.String data)
          Compares a wildcard string against a given value.
 void copy(IGPValue pSourceGPValue, IGPValue pTargetGPValue)
          Copys the data element.
 void delete(IGPValue pGPValue)
          Deletes the data element.
 boolean equals(java.lang.Object o)
          Compare this object with another
 boolean exists(IGPValue pGPValue)
          Checks if a data element exists.
 void expandDataElement(IDataElement pInDE, IDEBrowseOptions pBrowseOptions)
          Expands a given data element.
 java.lang.Object getCatalog()
          Gets the catalog object.
static java.lang.String getClsid()
          getClsid.
 java.lang.Object getGxObject(IDataElement pDataTlement)
          Gets the GxObject for a data element.
 java.lang.Object getGxObjectFromLocation(java.lang.String catalogPath, IGPDataType pDataType)
          Gets the GxObject from a catalog path.
 IArray getGxObjects(java.lang.String catalogPath)
          Returns an array of GxObjects for a catalog path.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 IName getNameObject(IDataElement pDataElement)
          Gets the name object for data element.
 IName getNameObjectFromLocation(java.lang.String locationMoniker, IGPDataType pDataType)
          Gets the name object from a catalog path.
 java.lang.String getWorkspace()
          Sets the current workspace.
 int hashCode()
          the hashcode for this object
 boolean isEqualArray(IArray pObjects1, IArray pObjects2)
          Check if field arrays are equal.
 boolean isRefreshCatalogParent()
          Indicates whether to refresh catalog parent.
 IDataElement makeDataElement(java.lang.String catalogPath, IDEBrowseOptions pBrowseOptions, IGPDataType pDataType)
          Makes a data element from path.
 IDataElement makeDataElementFromNameObject(IName name)
          Makes a data element from name object.
 IArray makeDataElements(java.lang.String catalogPath, IDEBrowseOptions pBrowseOptions)
          Returns an array of data elements for a catalog path.
 IDataset openDataset(IDataElement pDataElement)
          Returns the dataset for the given data element.
 IDataset openDatasetFromLocation(java.lang.String catalogPath, IGPDataType pDataType)
          Returns the dataset by catalog path.
 ILayer openLayerFromLocation(java.lang.String catalogPath)
          Returns the layer based upon the given catalog path.
 void parseContainer(java.lang.String catalogPath, java.lang.String[] pContainer)
          Returns the container of a catalog path.
 void parseName(java.lang.String catalogPath, java.lang.String[] pName)
          Returns the name of a catalog path.
 void refreshCatalog(IDataElement pSourceDataElement)
          Refreshs catalog for the parent of the given data element.
 void release()
          Release a DEUtilities.
 void releaseInternals()
          Release the internal objects used prior to releasing this DEUtilities object.
 void rename(IGPValue pSourceGPValue, IGPValue pTargetGPValue)
          Renames the data element.
 void setRefreshCatalogParent(boolean pRefresh)
          Indicates whether to refresh catalog parent.
 void setWorkspace(java.lang.String workPath)
          Sets the current workspace.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DEUtilities

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

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

DEUtilities

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

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

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


equals

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

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class java.lang.Object

getJintegraDispatch

public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
Deprecated. Internal use only.

Specified by:
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRef

release

public void release()
Release a DEUtilities.

Specified by:
release in interface com.esri.arcgis.interop.RemoteObjRef

assignTinProperties

public void assignTinProperties(ITin pTin,
                                IDataElement pDataElement)
                         throws java.io.IOException,
                                AutomationException
Assign tin properties.

Specified by:
assignTinProperties in interface IDEUtilities
Parameters:
pTin - A reference to a com.esri.arcgis.geodatabase.ITin (in)
pDataElement - A reference to a com.esri.arcgis.geodatabase.IDataElement (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isEqualArray

public boolean isEqualArray(IArray pObjects1,
                            IArray pObjects2)
                     throws java.io.IOException,
                            AutomationException
Check if field arrays are equal.

Specified by:
isEqualArray in interface IDEUtilities
Parameters:
pObjects1 - A reference to a com.esri.arcgis.system.IArray (in)
pObjects2 - A reference to a com.esri.arcgis.system.IArray (in)
Returns:
The pEqual
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setWorkspace

public void setWorkspace(java.lang.String workPath)
                  throws java.io.IOException,
                         AutomationException
Sets the current workspace.

Specified by:
setWorkspace in interface IDEUtilities
Parameters:
workPath - The workPath (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getWorkspace

public java.lang.String getWorkspace()
                              throws java.io.IOException,
                                     AutomationException
Sets the current workspace.

Specified by:
getWorkspace in interface IDEUtilities
Returns:
The workPath
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCatalog

public java.lang.Object getCatalog()
                            throws java.io.IOException,
                                   AutomationException
Gets the catalog object.

Specified by:
getCatalog in interface IDEUtilities
Returns:
A reference to another Object (IUnknown)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isRefreshCatalogParent

public boolean isRefreshCatalogParent()
                               throws java.io.IOException,
                                      AutomationException
Indicates whether to refresh catalog parent.

Specified by:
isRefreshCatalogParent in interface IDEUtilities
Returns:
The pRefresh
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setRefreshCatalogParent

public void setRefreshCatalogParent(boolean pRefresh)
                             throws java.io.IOException,
                                    AutomationException
Indicates whether to refresh catalog parent.

Specified by:
setRefreshCatalogParent in interface IDEUtilities
Parameters:
pRefresh - The pRefresh (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

makeDataElement

public IDataElement makeDataElement(java.lang.String catalogPath,
                                    IDEBrowseOptions pBrowseOptions,
                                    IGPDataType pDataType)
                             throws java.io.IOException,
                                    AutomationException
Makes a data element from path.

Specified by:
makeDataElement in interface IDEUtilities
Parameters:
catalogPath - The catalogPath (in)
pBrowseOptions - A reference to a com.esri.arcgis.geodatabase.IDEBrowseOptions (in)
pDataType - A reference to a com.esri.arcgis.geodatabase.IGPDataType (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IDataElement
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

makeDataElementFromNameObject

public IDataElement makeDataElementFromNameObject(IName name)
                                           throws java.io.IOException,
                                                  AutomationException
Makes a data element from name object.

Specified by:
makeDataElementFromNameObject in interface IDEUtilities
Parameters:
name - A reference to a com.esri.arcgis.system.IName (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IDataElement
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

expandDataElement

public void expandDataElement(IDataElement pInDE,
                              IDEBrowseOptions pBrowseOptions)
                       throws java.io.IOException,
                              AutomationException
Expands a given data element.

Specified by:
expandDataElement in interface IDEUtilities
Parameters:
pInDE - A reference to a com.esri.arcgis.geodatabase.IDataElement (in)
pBrowseOptions - A reference to a com.esri.arcgis.geodatabase.IDEBrowseOptions (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

openDataset

public IDataset openDataset(IDataElement pDataElement)
                     throws java.io.IOException,
                            AutomationException
Returns the dataset for the given data element.

Specified by:
openDataset in interface IDEUtilities
Parameters:
pDataElement - A reference to a com.esri.arcgis.geodatabase.IDataElement (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IDataset
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

openLayerFromLocation

public ILayer openLayerFromLocation(java.lang.String catalogPath)
                             throws java.io.IOException,
                                    AutomationException
Returns the layer based upon the given catalog path.

Specified by:
openLayerFromLocation in interface IDEUtilities
Parameters:
catalogPath - The catalogPath (in)
Returns:
A reference to a com.esri.arcgis.carto.ILayer
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

openDatasetFromLocation

public IDataset openDatasetFromLocation(java.lang.String catalogPath,
                                        IGPDataType pDataType)
                                 throws java.io.IOException,
                                        AutomationException
Returns the dataset by catalog path.

Specified by:
openDatasetFromLocation in interface IDEUtilities
Parameters:
catalogPath - The catalogPath (in)
pDataType - A reference to a com.esri.arcgis.geodatabase.IGPDataType (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IDataset
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

refreshCatalog

public void refreshCatalog(IDataElement pSourceDataElement)
                    throws java.io.IOException,
                           AutomationException
Refreshs catalog for the parent of the given data element.

Specified by:
refreshCatalog in interface IDEUtilities
Parameters:
pSourceDataElement - A reference to a com.esri.arcgis.geodatabase.IDataElement (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

delete

public void delete(IGPValue pGPValue)
            throws java.io.IOException,
                   AutomationException
Deletes the data element.

Specified by:
delete in interface IDEUtilities
Parameters:
pGPValue - A reference to a com.esri.arcgis.geodatabase.IGPValue (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

rename

public void rename(IGPValue pSourceGPValue,
                   IGPValue pTargetGPValue)
            throws java.io.IOException,
                   AutomationException
Renames the data element.

Specified by:
rename in interface IDEUtilities
Parameters:
pSourceGPValue - A reference to a com.esri.arcgis.geodatabase.IGPValue (in)
pTargetGPValue - A reference to a com.esri.arcgis.geodatabase.IGPValue (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

copy

public void copy(IGPValue pSourceGPValue,
                 IGPValue pTargetGPValue)
          throws java.io.IOException,
                 AutomationException
Copys the data element.

Specified by:
copy in interface IDEUtilities
Parameters:
pSourceGPValue - A reference to a com.esri.arcgis.geodatabase.IGPValue (in)
pTargetGPValue - A reference to a com.esri.arcgis.geodatabase.IGPValue (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

exists

public boolean exists(IGPValue pGPValue)
               throws java.io.IOException,
                      AutomationException
Checks if a data element exists.

Specified by:
exists in interface IDEUtilities
Parameters:
pGPValue - A reference to a com.esri.arcgis.geodatabase.IGPValue (in)
Returns:
The exists
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

compareWildCard

public boolean compareWildCard(java.lang.String wildCard,
                               java.lang.String data)
                        throws java.io.IOException,
                               AutomationException
Compares a wildcard string against a given value.

Specified by:
compareWildCard in interface IDEUtilities
Parameters:
wildCard - The wildCard (in)
data - The data (in)
Returns:
The matched
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getNameObject

public IName getNameObject(IDataElement pDataElement)
                    throws java.io.IOException,
                           AutomationException
Gets the name object for data element.

Specified by:
getNameObject in interface IDEUtilities
Parameters:
pDataElement - A reference to a com.esri.arcgis.geodatabase.IDataElement (in)
Returns:
A reference to a com.esri.arcgis.system.IName
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getNameObjectFromLocation

public IName getNameObjectFromLocation(java.lang.String locationMoniker,
                                       IGPDataType pDataType)
                                throws java.io.IOException,
                                       AutomationException
Gets the name object from a catalog path.

Specified by:
getNameObjectFromLocation in interface IDEUtilities
Parameters:
locationMoniker - The locationMoniker (in)
pDataType - A reference to a com.esri.arcgis.geodatabase.IGPDataType (in)
Returns:
A reference to a com.esri.arcgis.system.IName
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getGxObjectFromLocation

public java.lang.Object getGxObjectFromLocation(java.lang.String catalogPath,
                                                IGPDataType pDataType)
                                         throws java.io.IOException,
                                                AutomationException
Gets the GxObject from a catalog path.

Specified by:
getGxObjectFromLocation in interface IDEUtilities
Parameters:
catalogPath - The catalogPath (in)
pDataType - A reference to a com.esri.arcgis.geodatabase.IGPDataType (in)
Returns:
A reference to another Object (IUnknown)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

parseName

public void parseName(java.lang.String catalogPath,
                      java.lang.String[] pName)
               throws java.io.IOException,
                      AutomationException
Returns the name of a catalog path.

Specified by:
parseName in interface IDEUtilities
Parameters:
catalogPath - The catalogPath (in)
pName - The pName (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

parseContainer

public void parseContainer(java.lang.String catalogPath,
                           java.lang.String[] pContainer)
                    throws java.io.IOException,
                           AutomationException
Returns the container of a catalog path.

Specified by:
parseContainer in interface IDEUtilities
Parameters:
catalogPath - The catalogPath (in)
pContainer - The pContainer (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

releaseInternals

public void releaseInternals()
                      throws java.io.IOException,
                             AutomationException
Release the internal objects used prior to releasing this DEUtilities object.

Specified by:
releaseInternals in interface IDEUtilities
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getGxObject

public java.lang.Object getGxObject(IDataElement pDataTlement)
                             throws java.io.IOException,
                                    AutomationException
Gets the GxObject for a data element.

Specified by:
getGxObject in interface IDEUtilities
Parameters:
pDataTlement - A reference to a com.esri.arcgis.geodatabase.IDataElement (in)
Returns:
A reference to another Object (IUnknown)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getGxObjects

public IArray getGxObjects(java.lang.String catalogPath)
                    throws java.io.IOException,
                           AutomationException
Returns an array of GxObjects for a catalog path.

Specified by:
getGxObjects in interface IDEUtilities
Parameters:
catalogPath - The catalogPath (in)
Returns:
A reference to a com.esri.arcgis.system.IArray
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

makeDataElements

public IArray makeDataElements(java.lang.String catalogPath,
                               IDEBrowseOptions pBrowseOptions)
                        throws java.io.IOException,
                               AutomationException
Returns an array of data elements for a catalog path.

Specified by:
makeDataElements in interface IDEUtilities
Parameters:
catalogPath - The catalogPath (in)
pBrowseOptions - A reference to a com.esri.arcgis.geodatabase.IDEBrowseOptions (in)
Returns:
A reference to a com.esri.arcgis.system.IArray
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.