|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.catalog.GxDatabase
public class GxDatabase
COM Class 'GxDatabase'. Generated 3/19/2015 1:20:49 PM from 'C:\ArcGIS\COM\esriCatalog.olb'
Description 'GxObject that represents a database.' 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 =
| Field Summary |
|---|
| Fields inherited from interface com.esri.arcgis.catalog.IGxDatabase |
|---|
IID, IIDbdbbb3f3_d0b2_11d1_aed9_080009ec734b, xxDummy |
| Fields inherited from interface com.esri.arcgis.catalog.IGxDatabase2 |
|---|
IID, IIDc34479ba_1d3c_11d4_a0db_00c04f6bc626, xxDummy |
| Fields inherited from interface com.esri.arcgis.catalog.IGxObject |
|---|
IID, IIDbdbbb3eb_d0b2_11d1_aed9_080009ec734b, xxDummy |
| Fields inherited from interface com.esri.arcgis.catalog.IGxObjectUI |
|---|
IID, IID7273aa57_e6f9_11d2_9f30_00c04f6bc69e, xxDummy |
| Fields inherited from interface com.esri.arcgis.catalog.IGxObjectContainer |
|---|
IID, IID7273aa58_e6f9_11d2_9f30_00c04f6bc69e, xxDummy |
| Fields inherited from interface com.esri.arcgis.catalog.IGxObjectProperties |
|---|
IID, IIDd342626e_f9da_11d3_a68d_0008c7d3ae8d, xxDummy |
| Fields inherited from interface com.esri.arcgis.catalog.IGxObjectWizard |
|---|
IID, IIDc6df682d_a28c_476a_924c_44d1194cf78d, xxDummy |
| Fields inherited from interface com.esri.arcgis.catalog.IGxPasteTarget |
|---|
IID, IIDbdbbb403_d0b2_11d1_aed9_080009ec734b, xxDummy |
| Fields inherited from interface com.esri.arcgis.catalog.IGxCachedObjects |
|---|
IID, IIDbdbbb404_d0b2_11d1_aed9_080009ec734b, xxDummy |
| Fields inherited from interface com.esri.arcgis.catalog.IGxObjectEdit |
|---|
IID, IIDbdbbb3fc_d0b2_11d1_aed9_080009ec734b, xxDummy |
| Fields inherited from interface com.esri.arcgis.geodatabase.IMetadata |
|---|
IID, IID5de04a82_24e4_11d3_a641_0008c7d3ae50, xxDummy |
| Fields inherited from interface com.esri.arcgis.geodatabase.IMetadataEdit |
|---|
IID, IID97fdb978_62a4_49c5_8252_b07837b33ee9, xxDummy |
| Fields inherited from interface com.esri.arcgis.catalog.IGxObjectInternalName |
|---|
IID, IIDd3cc0862_a328_4b51_a05a_540bf20cef25, xxDummy |
| Fields inherited from interface com.esri.arcgis.geodatabase.INativeTypeInfo |
|---|
IID, IID906db24a_f0ad_4ca5_871b_5466e54fab80, xxDummy |
| Fields inherited from interface com.esri.arcgis.geodatabase.IWorkspaceEvents |
|---|
IID, IIDda10c1c4_09a3_11d4_9faa_00c04f6bdf0c, xxDummy |
| Fields inherited from interface com.esri.arcgis.catalog.IGxRemoteConnection |
|---|
IID, IID3f5c143c_8e15_40c7_8ce8_f67289c6842a, xxDummy |
| Fields inherited from interface com.esri.arcgis.catalog.IGxDataElement |
|---|
IID, IID611c22e5_dab3_4ac6_9c98_665d0f89aacd, xxDummy |
| Fields inherited from interface com.esri.arcgis.catalog.IGxDataElementHelper |
|---|
IID, IID880af9da_a704_4546_9ff3_bd2fa8ab9e82, xxDummy |
| Constructor Summary | |
|---|---|
GxDatabase()
Constructs a GxDatabase using ArcGIS Engine. |
|
GxDatabase(java.lang.Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. GxDatabase theGxDatabase = (GxDatabase) obj; |
|
| Method Summary | |
|---|---|
IGxObject |
addChild(IGxObject child)
Adds a new child and returns a reference to it. |
void |
attach(IGxObject parent,
IGxCatalog pCatalog)
Attaches the object to its parent and the catalog. |
boolean |
canCopy()
Indicates if the object can be copied. |
boolean |
canDelete()
Indicates if the object can be deleted. |
boolean |
canPaste(IEnumName names,
boolean[] moveOperation)
Indicates if the specified names may be pasted into this object. |
boolean |
canRename()
Indicates if the object can be renamed. |
void |
connect()
Connectsto the underlying database. |
void |
delete()
Deletes the object. |
void |
deleteChild(IGxObject child)
Deletes the specified child object. |
void |
detach()
Instructs the object to detach itself from its parent and the catalog. |
void |
disconnect()
Disconnects or releases the connection to the underlying database. |
void |
editProperties(int hParent)
Presents a modal dialog to allow editing the object's properties. |
boolean |
equals(java.lang.Object o)
Compare this object with another |
java.lang.String |
getBaseName()
The base name of the object (i.e. |
java.lang.String |
getCategory()
The category of the object. |
IEnumGxObject |
getChildren()
An enumeration of the child objects. |
IUID |
getClassID()
The class ID of this object. |
static java.lang.String |
getClsid()
getClsid. |
IUID |
getContextMenu()
The class ID of the context menu for this object. |
IDataElement |
getDataElement(IDEBrowseOptions browseOptions)
Get the GxObject's data element. |
java.lang.String |
getFullName()
The full name of the object. |
IName |
getInternalObjectName()
The Name for the internal object that this GxObject represents. |
com.esri.arcgis.interop.Dispatch |
getJintegraDispatch()
Deprecated. Internal use only. |
int |
getLargeImage()
The large image that represents the object. |
int |
getLargeSelectedImage()
The large image that represents the object when it is selected. |
IPropertySet |
getMetadata()
The PropertySet containing metadata. |
java.lang.String |
getName()
The short name of the object. |
INativeType |
getNativeType()
The native type. |
IUID |
getNewMenu()
The class ID of the New menu for this object. |
IGxObject |
getParent()
The parent of the object. |
void |
getPropByIndex(int index,
java.lang.String[] name,
java.lang.Object[] value)
The name and value of the indexed property in the GxObject. |
java.lang.Object |
getProperty(java.lang.String name)
The value of the named property in the GxObject. |
int |
getPropertyCount()
The number of properties in the GxObject. |
int |
getSmallImage()
The small image that represents the object. |
int |
getSmallSelectedImage()
The small image that represents the object when it is selected. |
IWorkspace |
getWorkspace()
The associated workspace. |
IWorkspaceName |
getWorkspaceName()
The workspace name. |
int |
hashCode()
the hashcode for this object |
boolean |
isAreChildrenViewable()
Indicates if the objects children are available for viewing in the tree-view. |
boolean |
isCanEditMetadata()
Indicates if metadata can be edited. |
boolean |
isConnected()
Indicates if the database is connected. |
boolean |
isEnterpriseGeodatabase()
Indicates if the database is an enterprise geodatabase. |
boolean |
isHasChildren()
Indicates if the object has any children. |
boolean |
isRemoteDatabase()
Indicates if the database is remote. |
boolean |
isValid()
Indicates if the object is still valid. |
void |
loadCachedObjects()
Loads any objects that should be cached for efficiency. |
void |
onCreateDataset(IWorkspaceEventsOnCreateDatasetEvent theEvent)
This event is fired when a dataset is created. |
void |
onDeleteDataset(IWorkspaceEventsOnDeleteDatasetEvent theEvent)
This event is fired when a dataset is deleted. |
void |
onRenameDataset(IWorkspaceEventsOnRenameDatasetEvent theEvent)
This event is fired when a dataset is renamed. |
boolean |
paste(IEnumName names,
boolean[] moveOperation)
Pastes the specified names into this object. |
void |
refresh()
Updates the object and any children of the object. |
void |
release()
Release a GxDatabase. |
void |
releaseCachedObjects()
Releases any objects that have been cached for efficiency. |
void |
rename(java.lang.String newShortName)
Renames the object. |
void |
retrieveDEBaseProperties(IDataElement[] dataElement)
Retrieve the GxObject's light-weight properties. |
void |
retrieveDEFullProperties(IDataElement[] dataElement)
Retrieve the GxObject's heavy-weight properties. |
void |
setInternalObjectNameByRef(IName internalObjectName)
The Name for the internal object that this GxObject represents. |
void |
setMetadata(IPropertySet propertySet)
The PropertySet containing metadata. |
void |
setProperty(java.lang.String name,
java.lang.Object value)
Set the value of the named property in the GxObject. |
void |
setWorkspaceNameByRef(IWorkspaceName workspaceName)
The workspace name. |
void |
synchronize(int action,
int interval)
Updates metadata with the current properties; may create metadata if it doesn't already exist. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GxDatabase()
throws java.io.IOException,
java.net.UnknownHostException
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems
public GxDatabase(java.lang.Object obj)
throws java.io.IOException
GxDatabase theGxDatabase = (GxDatabase) obj;
obj to GxDatabase.
obj - an object returned from ArcGIS Engine or Server
java.io.IOException - if there are interop problems| Method Detail |
|---|
public static java.lang.String getClsid()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRefpublic void release()
release in interface com.esri.arcgis.interop.RemoteObjRef
public void setWorkspaceNameByRef(IWorkspaceName workspaceName)
throws java.io.IOException,
AutomationException
setWorkspaceNameByRef in interface IGxDatabasesetWorkspaceNameByRef in interface IGxDatabase2workspaceName - A reference to a com.esri.arcgis.geodatabase.IWorkspaceName (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IWorkspaceName getWorkspaceName()
throws java.io.IOException,
AutomationException
getWorkspaceName in interface IGxDatabasegetWorkspaceName in interface IGxDatabase2java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IWorkspace getWorkspace()
throws java.io.IOException,
AutomationException
getWorkspace in interface IGxDatabasegetWorkspace in interface IGxDatabase2java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isRemoteDatabase()
throws java.io.IOException,
AutomationException
isRemoteDatabase in interface IGxDatabaseisRemoteDatabase in interface IGxDatabase2java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isConnected()
throws java.io.IOException,
AutomationException
isConnected in interface IGxDatabaseisConnected in interface IGxDatabase2java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void disconnect()
throws java.io.IOException,
AutomationException
disconnect in interface IGxDatabasedisconnect in interface IGxDatabase2disconnect in interface IGxRemoteConnectionjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isEnterpriseGeodatabase()
throws java.io.IOException,
AutomationException
isEnterpriseGeodatabase in interface IGxDatabase2java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void connect()
throws java.io.IOException,
AutomationException
connect in interface IGxDatabase2connect in interface IGxRemoteConnectionjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public java.lang.String getName()
throws java.io.IOException,
AutomationException
getName in interface IGxObjectjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public java.lang.String getFullName()
throws java.io.IOException,
AutomationException
getFullName in interface IGxObjectjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public java.lang.String getBaseName()
throws java.io.IOException,
AutomationException
getBaseName in interface IGxObjectjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public java.lang.String getCategory()
throws java.io.IOException,
AutomationException
getCategory in interface IGxObjectjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IGxObject getParent()
throws java.io.IOException,
AutomationException
getParent in interface IGxObjectjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IUID getClassID()
throws java.io.IOException,
AutomationException
getClassID in interface IGxObjectjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IName getInternalObjectName()
throws java.io.IOException,
AutomationException
getInternalObjectName in interface IGxObjectgetInternalObjectName in interface IGxObjectInternalNamejava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isValid()
throws java.io.IOException,
AutomationException
isValid in interface IGxObjectjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void attach(IGxObject parent,
IGxCatalog pCatalog)
throws java.io.IOException,
AutomationException
attach in interface IGxObjectparent - A reference to a com.esri.arcgis.catalog.IGxObject (in)pCatalog - A reference to a com.esri.arcgis.catalog.IGxCatalog (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void detach()
throws java.io.IOException,
AutomationException
detach in interface IGxObjectjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void refresh()
throws java.io.IOException,
AutomationException
refresh in interface IGxObjectjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getSmallImage()
throws java.io.IOException,
AutomationException
getSmallImage in interface IGxObjectUIjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getSmallSelectedImage()
throws java.io.IOException,
AutomationException
getSmallSelectedImage in interface IGxObjectUIjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getLargeImage()
throws java.io.IOException,
AutomationException
getLargeImage in interface IGxObjectUIjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getLargeSelectedImage()
throws java.io.IOException,
AutomationException
getLargeSelectedImage in interface IGxObjectUIjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IUID getContextMenu()
throws java.io.IOException,
AutomationException
getContextMenu in interface IGxObjectUIjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IUID getNewMenu()
throws java.io.IOException,
AutomationException
getNewMenu in interface IGxObjectUIjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isHasChildren()
throws java.io.IOException,
AutomationException
isHasChildren in interface IGxObjectContainerjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IEnumGxObject getChildren()
throws java.io.IOException,
AutomationException
getChildren in interface IGxObjectContainerjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isAreChildrenViewable()
throws java.io.IOException,
AutomationException
isAreChildrenViewable in interface IGxObjectContainerjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IGxObject addChild(IGxObject child)
throws java.io.IOException,
AutomationException
addChild in interface IGxObjectContainerchild - A reference to a com.esri.arcgis.catalog.IGxObject (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void deleteChild(IGxObject child)
throws java.io.IOException,
AutomationException
deleteChild in interface IGxObjectContainerchild - A reference to a com.esri.arcgis.catalog.IGxObject (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getPropertyCount()
throws java.io.IOException,
AutomationException
getPropertyCount in interface IGxObjectPropertiesjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void getPropByIndex(int index,
java.lang.String[] name,
java.lang.Object[] value)
throws java.io.IOException,
AutomationException
getPropByIndex in interface IGxObjectPropertiesindex - The index (in)name - The name (in/out: use single element array)value - A Variant (in/out: use single element array)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public java.lang.Object getProperty(java.lang.String name)
throws java.io.IOException,
AutomationException
getProperty in interface IGxObjectPropertiesname - The name (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setProperty(java.lang.String name,
java.lang.Object value)
throws java.io.IOException,
AutomationException
setProperty in interface IGxObjectPropertiesname - The name (in)value - A Variant (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean canPaste(IEnumName names,
boolean[] moveOperation)
throws java.io.IOException,
AutomationException
canPaste in interface IGxPasteTargetnames - A reference to a com.esri.arcgis.system.IEnumName (in)moveOperation - The moveOperation (in/out: use single element array)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean paste(IEnumName names,
boolean[] moveOperation)
throws java.io.IOException,
AutomationException
paste in interface IGxPasteTargetnames - A reference to a com.esri.arcgis.system.IEnumName (in)moveOperation - The moveOperation (in/out: use single element array)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void loadCachedObjects()
throws java.io.IOException,
AutomationException
loadCachedObjects in interface IGxCachedObjectsjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void releaseCachedObjects()
throws java.io.IOException,
AutomationException
releaseCachedObjects in interface IGxCachedObjectsjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean canRename()
throws java.io.IOException,
AutomationException
canRename in interface IGxObjectEditjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void rename(java.lang.String newShortName)
throws java.io.IOException,
AutomationException
rename in interface IGxObjectEditnewShortName - The newShortName (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean canDelete()
throws java.io.IOException,
AutomationException
canDelete in interface IGxObjectEditjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void delete()
throws java.io.IOException,
AutomationException
delete in interface IGxObjectEditjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void editProperties(int hParent)
throws java.io.IOException,
AutomationException
editProperties in interface IGxObjectEdithParent - The hParent (A COM typedef) (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean canCopy()
throws java.io.IOException,
AutomationException
canCopy in interface IGxObjectEditjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IPropertySet getMetadata()
throws java.io.IOException,
AutomationException
getMetadata in interface IMetadatajava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setMetadata(IPropertySet propertySet)
throws java.io.IOException,
AutomationException
setMetadata in interface IMetadatapropertySet - A reference to a com.esri.arcgis.system.IPropertySet (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void synchronize(int action,
int interval)
throws java.io.IOException,
AutomationException
synchronize in interface IMetadataaction - A com.esri.arcgis.geodatabase.esriMetadataSyncAction constant (in)interval - The interval (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isCanEditMetadata()
throws java.io.IOException,
AutomationException
isCanEditMetadata in interface IMetadataEditjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setInternalObjectNameByRef(IName internalObjectName)
throws java.io.IOException,
AutomationException
setInternalObjectNameByRef in interface IGxObjectInternalNameinternalObjectName - A reference to a com.esri.arcgis.system.IName (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public INativeType getNativeType()
throws java.io.IOException,
AutomationException
getNativeType in interface INativeTypeInfojava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void onCreateDataset(IWorkspaceEventsOnCreateDatasetEvent theEvent)
throws java.io.IOException,
AutomationException
onCreateDataset in interface IWorkspaceEventstheEvent - The event
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void onRenameDataset(IWorkspaceEventsOnRenameDatasetEvent theEvent)
throws java.io.IOException,
AutomationException
onRenameDataset in interface IWorkspaceEventstheEvent - The event
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void onDeleteDataset(IWorkspaceEventsOnDeleteDatasetEvent theEvent)
throws java.io.IOException,
AutomationException
onDeleteDataset in interface IWorkspaceEventstheEvent - The event
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IDataElement getDataElement(IDEBrowseOptions browseOptions)
throws java.io.IOException,
AutomationException
getDataElement in interface IGxDataElementbrowseOptions - A reference to a com.esri.arcgis.geodatabase.IDEBrowseOptions (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void retrieveDEFullProperties(IDataElement[] dataElement)
throws java.io.IOException,
AutomationException
retrieveDEFullProperties in interface IGxDataElementHelperdataElement - A reference to a com.esri.arcgis.geodatabase.IDataElement (in/out: use single element array)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void retrieveDEBaseProperties(IDataElement[] dataElement)
throws java.io.IOException,
AutomationException
retrieveDEBaseProperties in interface IGxDataElementHelperdataElement - A reference to a com.esri.arcgis.geodatabase.IDataElement (in/out: use single element array)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||