com.esri.arcgis.geodatabase
Class VersionedWorkspace

java.lang.Object
  extended by com.esri.arcgis.geodatabase.VersionedWorkspace
All Implemented Interfaces:
IDatabaseCompact, IDatabaseConnectionInfo, IDataset, IDatasetContainer, IFeatureWorkspace, IFeatureWorkspaceAnno, IFeatureWorkspaceManage, IFeatureWorkspaceSchemaEdit, IGeodatabaseRelease, ISpatialCacheManager, ISpatialCacheManager2, ISQLSyntax, ITransactions, ITransactionsOptions, IVersion, IVersion2, IVersionEdit, IVersionEdit2, IVersionEdit3, IVersionedWorkspace, IVersionedWorkspace2, IVersionedWorkspace3, IWorkspace, IWorkspaceConfiguration, IWorkspaceDomains, IWorkspaceDomains2, IWorkspaceDomains3, IWorkspaceEdit, IWorkspaceExtensionManager, IWorkspaceProperties, IWorkspaceSpatialReferenceInfo, com.esri.arcgis.interop.RemoteObjRef, java.io.Serializable

public class VersionedWorkspace
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IVersionedWorkspace, IVersionedWorkspace2, IVersionedWorkspace3, IVersion, IVersion2, IVersionEdit, IVersionEdit2, IVersionEdit3, IWorkspace, IFeatureWorkspace, IDataset, IDatasetContainer, IWorkspaceEdit, IFeatureWorkspaceManage, IFeatureWorkspaceSchemaEdit, IGeodatabaseRelease, ITransactions, ITransactionsOptions, IWorkspaceDomains, IWorkspaceDomains2, IWorkspaceDomains3, ISpatialCacheManager, ISpatialCacheManager2, IFeatureWorkspaceAnno, IDatabaseCompact, ISQLSyntax, IWorkspaceProperties, IWorkspaceConfiguration, IWorkspaceExtensionManager, IWorkspaceSpatialReferenceInfo, IDatabaseConnectionInfo

COM Class 'VersionedWorkspace'. Generated 3/19/2015 1:20:43 PM from 'C:\ArcGIS\COM\esriGeoDatabase.olb'

Description 'VersionedWorkspace 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.geodatabase.IVersionedWorkspace3
IID, IID5e1f7e4f_213e_4f46_a1ca_294c997c1823, xxDummy
 
Fields inherited from interface com.esri.arcgis.geodatabase.IVersionedWorkspace2
IID9d039f1b_8b1e_494d_81b1_c6b6ae7c167a
 
Fields inherited from interface com.esri.arcgis.geodatabase.IVersionedWorkspace
IID1b256191_b380_11d1_9ce6_0000f8780619
 
Fields inherited from interface com.esri.arcgis.geodatabase.IVersion2
IID, IIDe21436a7_87ca_4e97_9f47_d096c8871bae, xxDummy
 
Fields inherited from interface com.esri.arcgis.geodatabase.IVersion
IID1a945841_b381_11d1_9ce6_0000f8780619
 
Fields inherited from interface com.esri.arcgis.geodatabase.IVersionEdit3
IID, IID69d4c025_1a2c_4cca_b901_20eb2093ab6b, xxDummy
 
Fields inherited from interface com.esri.arcgis.geodatabase.IVersionEdit2
IID650b3674_3aea_44d5_8441_794cf3c36a27
 
Fields inherited from interface com.esri.arcgis.geodatabase.IVersionEdit
IID2393b65d_74d4_11d2_aad9_00c04fa37585
 
Fields inherited from interface com.esri.arcgis.geodatabase.IWorkspace
IID, IIDd4803ee1_79f4_11d0_97fc_0080c7f79481, xxDummy
 
Fields inherited from interface com.esri.arcgis.geodatabase.IFeatureWorkspace
IID, IIDd9cab491_3f69_11d1_b095_0000f8780820, xxDummy
 
Fields inherited from interface com.esri.arcgis.geodatabase.IDataset
IID, IID2d04c042_7766_11d0_b77d_00805f7ced21, xxDummy
 
Fields inherited from interface com.esri.arcgis.geodatabase.IDatasetContainer
IID, IIDbd770969_efb7_11d3_9fa2_00c04f6bdf0c, xxDummy
 
Fields inherited from interface com.esri.arcgis.geodatabase.IWorkspaceEdit
IID, IID995d5c92_15c6_11d2_89ed_006097aff44e, xxDummy
 
Fields inherited from interface com.esri.arcgis.geodatabase.IFeatureWorkspaceManage
IID, IIDff866b9f_6f94_11d3_80e5_00c04f686238, xxDummy
 
Fields inherited from interface com.esri.arcgis.geodatabase.IFeatureWorkspaceSchemaEdit
IID, IID74996427_6627_11d3_80d3_00c04f686238, xxDummy
 
Fields inherited from interface com.esri.arcgis.geodatabase.IGeodatabaseRelease
IID, IIDfe8f2fec_85ae_11d4_a0ca_00c04f6bdd84, xxDummy
 
Fields inherited from interface com.esri.arcgis.geodatabase.ITransactions
IID, IIDf05d9bc1_d03c_11d1_887f_0000f877762d, xxDummy
 
Fields inherited from interface com.esri.arcgis.geodatabase.ITransactionsOptions
IID, IID6e45153f_df82_11d1_aa82_00c04fa37585, xxDummy
 
Fields inherited from interface com.esri.arcgis.geodatabase.IWorkspaceDomains3
IID, IID7fd9b83c_76c0_4998_b9d3_afe9600b5d36, xxDummy
 
Fields inherited from interface com.esri.arcgis.geodatabase.IWorkspaceDomains2
IID56a5e6d4_01c6_11d4_a057_00c04f6bdd84
 
Fields inherited from interface com.esri.arcgis.geodatabase.IWorkspaceDomains
IIDd80957f0_8883_11d2_aabb_00c04fa37b82
 
Fields inherited from interface com.esri.arcgis.geodatabase.ISpatialCacheManager2
IID, IID9078f181_bb75_11d4_9feb_00c04f6bdf0c, xxDummy
 
Fields inherited from interface com.esri.arcgis.geodatabase.ISpatialCacheManager
IIDe2e4622f_55b4_11d3_9f77_00c04f6bdf0c
 
Fields inherited from interface com.esri.arcgis.geodatabase.IFeatureWorkspaceAnno
IID, IID14eb5331_ca80_11d2_8a2f_006097aff44e, xxDummy
 
Fields inherited from interface com.esri.arcgis.geodatabase.IDatabaseCompact
IID, IID660214d1_7c1b_11d3_80ea_00c04f686238, xxDummy
 
Fields inherited from interface com.esri.arcgis.geodatabase.ISQLSyntax
IID, IID18e2854e_edc8_11d2_aaef_00c04fa37849, xxDummy
 
Fields inherited from interface com.esri.arcgis.geodatabase.IWorkspaceProperties
IID, IID0f1b2257_e2d8_4046_b749_7ff1b058a943, xxDummy
 
Fields inherited from interface com.esri.arcgis.geodatabase.IWorkspaceConfiguration
IID, IID9e8f5c35_7888_4df9_862c_9dd74eff9062, xxDummy
 
Fields inherited from interface com.esri.arcgis.geodatabase.IWorkspaceExtensionManager
IID, IIDb2119283_0cd1_11d4_9fac_00c04f6bdf0c, xxDummy
 
Fields inherited from interface com.esri.arcgis.geodatabase.IWorkspaceSpatialReferenceInfo
IID, IID89890719_42d8_11d4_8145_00c04f686238, xxDummy
 
Fields inherited from interface com.esri.arcgis.geodatabase.IDatabaseConnectionInfo
IID, IID2808cad6_e0fa_4478_be5b_0e645a2bc7ed, xxDummy
 
Constructor Summary
VersionedWorkspace(java.lang.Object obj)
          Construct a VersionedWorkspace using a reference to such an object returned from ArcGIS Engine or Server.
 
Method Summary
 void abortEditOperation()
          Aborts an edit operation.
 void abortTransaction()
          Aborts the current transaction.
 void addDataset(IDataset datasetToAdd)
          Adds a dataset to the dataset collection.
 int addDomain(IDomain domain)
          Adds the given domain to the workspace.
 void addIWorkspaceEventsListener(IWorkspaceEvents theListener)
          addIWorkspaceEventsListener.
 void addSymbolCollection(java.lang.String name, java.lang.Object symbolCollection)
          Updates the symbol collection in the class extension.
 void alterClassExtensionCLSID(java.lang.String name, IUID classExtensionCLSID, IPropertySet classExtensionProperties)
          Changes the class extension COM class associated with this database class.
 void alterDomain(IDomain domain)
          Alters an existing domain in the workspace.
 void alterDomainWithName(IDomain domain, java.lang.String oldDomainName)
          Alters an existing domain in the workspace.
 void alterInstanceCLSID(java.lang.String name, IUID instanceCLSID)
          Changes the instance COM class associated with this database class.
 void analyzeIndex(java.lang.String tableName, java.lang.String index)
          Analyze the index to generate DBMS statistics.
 void analyzeTable(java.lang.String tableName, int tableComponents)
          Analyze the table to generate DBMS statistics.
 boolean canCompact()
          True if this dataset can be compacted.
 boolean canCopy()
          True if this dataset can be copied.
 boolean canDelete()
          True if this dataset can be deleted.
 boolean canDelete(IName aName)
          Checks if an object can be deleted.
 boolean canPost()
          Returns a boolean if the version can be posted to the reconcile version.
 boolean canRename()
          True if this dataset can be renamed.
 boolean canRename(IName aName)
          Checks if an object can be renamed.
 void commitTransaction()
          Commits the current transaction.
 void compact()
          Compacts the database.
 void compress()
          Compresses the database by removing states not referenced by a version.
 IDataset copy(java.lang.String copyName, IWorkspace copyWorkspace)
          Copies this dataset to a new dataset with the specified name.
 IFeatureClass createAnnotationClass(java.lang.String name, IFields fields, IUID cLSID, IUID eXTCLSID, java.lang.String shapeFieldName, java.lang.String configKeyword, IFeatureDataset dstFeatureDataset, IFeatureClass srcFeatureClass, java.lang.Object annoProperties, java.lang.Object referenceScale, java.lang.Object symbolCollection, boolean autoCreate)
          Creates a new annotation feature class in the workspace.
 IVersion createChild(java.lang.String name, IVersion initialStateVersion)
          Creates a new child version of this version whose initial state is the current state of pInitialStateVersion.
 IFeatureClass createFeatureClass(java.lang.String name, IFields fields, IUID cLSID, IUID eXTCLSID, int featureType, java.lang.String shapeFieldName, java.lang.String configKeyword)
          Creates a new standalone feature class under the workspace.
 IFeatureDataset createFeatureDataset(java.lang.String name, ISpatialReference spatialReference)
          Creates a new feature dataset.
 IQueryDef createQueryDef()
          Create a query definition object.
 IRelationshipClass createRelationshipClass(java.lang.String relClassName, IObjectClass originClass, IObjectClass destinationClass, java.lang.String forwardLabel, java.lang.String backwardLabel, int cardinality, int notification, boolean isComposite, boolean isAttributed, IFields relAttrFields, java.lang.String originPrimaryKey, java.lang.String destPrimaryKey, java.lang.String originForeignKey, java.lang.String destForeignKey)
          Creates a new relationship class.
 ITable createTable(java.lang.String name, IFields fields, IUID cLSID, IUID eXTCLSID, java.lang.String configKeyword)
          Creates a new table.
 IVersion createVersion(java.lang.String newName)
          Creates a new version equivalent to this version.
 void delete()
          Permanently deletes the version from the database.
 void deleteByName(IDatasetName aName)
          Deletes an object by it's name.
 void deleteDomain(java.lang.String domainName)
          Deletes the given domain from the workspace.
 void disableUndoRedo()
          Disables Undo and Redo of edit operations.
 void emptyCache()
          Empties the spatial cache.
 void enableUndoRedo()
          Enables Undo and Redo of edit operations.
 boolean equals(java.lang.Object o)
          Compare this object with another
 void executeSQL(java.lang.String sqlStmt)
          Executes the specified SQL statement.
 boolean exists()
          Checks if the workspace exists.
 void fillCache(IEnvelope extent)
          Fills the spatial cache using the specified extent.
 void fillCacheEx(IEnvelope extent, double expansionFactor)
          Fills the spatial cache using the specified extent with an expansion factor.
 IWorkspaceExtension findExtension(IUID gUID)
          Finds the specified workspace extension by its globally unique id.
 IVersion findVersion(java.lang.String name)
          Finds a specific version given it's name.
 int getAccess()
          The version's access permission.
 int getAutoCommitInterval()
          The auto commit interval is the number of modification operations before a database commit is executed.
 java.lang.String getBrowseName()
          The browse name of the dataset.
 int getBugfixVersion()
          Geodatabase bugfix version level.
 double getCacheExpansionFactor()
          The extent expansion factor for the spatial cache.
 IEnvelope getCacheExtent()
          The extent of the spatial cache.
 java.lang.String getCategory()
          The category of the dataset.
 IVersion getCommonAncestor(IVersion otherVersion)
          Finds common ancestor version.
 IVersion getCommonAncestorVersion()
          The common ancestor of this version and the reconcile version.
 IEnumConfigurationKeyword getConfigurationKeywords()
          The available configuration keywords.
 IEnumConflictClass getConflictClasses()
          All objects which contain conflicts between the current and reconciled versions.
 java.lang.String getConnectedDatabase()
          The name of the connected database.
 java.lang.String getConnectedUser()
          The name of the connected user.
 IPropertySet getConnectionProperties()
          The connection properties of the workspace.
 IEnumDatasetName getDatasetNames(int datasetType)
          The DatasetNames in the workspace.
 IEnumDataset getDatasets(int datasetType)
          The datasets in the workspace.
 IVersion getDefaultVersion()
          The Default version.
 boolean getDelimitedIdentifierCase()
          True if DBMS's quoted identifiers are case sensitive.
 java.lang.String getDescription()
          The version's description.
 IDomain getDomainByName(java.lang.String domainName)
          The domain with the given name from the workspace.
 IEnumDomain getDomains()
          All the domains in the workspace.
 IEnumDomain getDomainsByFieldType(int type)
          The domain with the given name from the workspace.
 IWorkspaceExtension getExtension(int index)
          The workspace extension at this index.
 int getExtensionCount()
          The number of workspace extensions.
 IName getFullName()
          The associated name object.
 java.lang.String getFunctionName(int sqlFunc)
          DBMS dependent SQL function names.
 boolean getIdentifierCase()
          True if DBMS's identifiers are case sensitive.
 java.lang.String getInvalidCharacters()
          The list of invalid characters used in literals (if any).
 java.lang.String getInvalidStartingCharacters()
          The list of invalid characters used in literals (if any).
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 IEnumBSTR getKeywords()
          The list of DBMS specific reserved keywords.
 int getMajorVersion()
          Geodatabase major version level.
 int getMinorVersion()
          Geodatabase minor version level.
 IEnumBSTR getModifiedClasses()
          All objects modified by the current and reconciled versions.
 java.lang.String getName()
          The name of the Dataset.
 java.lang.String getPathName()
          The file system full path of the workspace.
 IVersion getPreReconcileVersion()
          The version prior to reconciliation.
 IWorkspaceProperty getProperty(int propertyGroup, int propertyType)
          Information about this particular property.
 IPropertySet getPropertySet()
          The set of properties for the dataset.
 IEnumVersionInfo getRecommendedReconcileOrder()
          An ordered list of versions that can be used to optimize reconciliation against the default version.
 IEnumBSTR getRecommendedSyncOrder()
          An ordered list of replicas that need to be synchronized in order to optimize reconciliation against the default version.
 IVersion getReconcileVersion()
          The version that the current version is reconciling against.
 IEnumSpatialReferenceInfo getSpatialReferenceInfo()
          The defined Spatial References in the Workspace.
 java.lang.String getSpecialCharacter(int sqlSC)
          Special DBMS dependent SQL characters.
 IVersion getStartEditingVersion()
          The version prior to any edits.
 boolean getStringComparisonCase()
          True if string comparisons are case sensitive.
 IEnumDataset getSubsets()
          Datasets contained within this dataset.
 int getSupportedClauses()
          Supported SQL clauses.
 int getSupportedPredicates()
          Supported SQL predicates.
 int getType()
          The Type of the Workspace.
 IVersionInfo getVersionInfo()
          This version's information.
 IEnumLockInfo getVersionLocks()
          This version's locks.
 java.lang.String getVersionName()
          The name of the version.
 IEnumVersionInfo getVersions()
          All versions the user owns and those which are public or protected.
 IWorkspace getWorkspace()
          The workspace containing this dataset.
 IWorkspaceFactory getWorkspaceFactory()
          The factory that created the workspace.
 void hasEdits(boolean[] hasEdits)
          True if there are any completed edit operations that need to be saved .
 int hashCode()
          the hashcode for this object
 boolean hasParent()
          True if this version have a parent version.
 void hasRedos(boolean[] hasRedos)
          True if there are any completed undos that can be redone.
 void hasUndos(boolean[] hasUndos)
          True if there are any completed edit operations that can be undone.
 boolean isBeingEdited()
          True if the workspace is being edited.
 boolean isCacheIsFull()
          Indicates if the spatial cache is full.
 boolean isCanDeleteDomain(java.lang.String domainName)
          Indicates if the user can delete the domain.
 boolean isCanUpgrade()
          Indicates if the geodatabase can be upgraded with this interface.
 boolean isCurrentRelease()
          Indicates if the geodatabase at the current release level.
 boolean isDirectory()
          TRUE if the workspace is a file system directory.
 boolean isInTransaction()
          Indicates if there is already a transaction in progress.
 boolean isRedefined()
          Determines whether the state of the version corresponding to this version object has been redefined in the database.
 boolean isRegisteredAsObjectClass(java.lang.String name)
          Checks if an object is registered as an object class.
 boolean isRegisteredAsVersioned(IName aName)
          Checks if an object is registered as versioned.
 IFeatureClass openFeatureClass(java.lang.String name)
          Opens an existing feature class.
 IFeatureDataset openFeatureDataset(java.lang.String name)
          Opens an existing feature dataset.
 IFeatureDataset openFeatureQuery(java.lang.String queryName, IQueryDef queryDef)
          Opens a feature dataset containing a single feature class defined by the specified Query.
 IRelationshipClass openRelationshipClass(java.lang.String name)
          Opens an existing relationship class.
 ITable openRelationshipQuery(IRelationshipClass relClass, boolean joinForward, IQueryFilter srcQueryFilter, ISelectionSet srcSelectionSet, java.lang.String targetColumns, boolean doNotPushJoinToDB)
          The table of a relationship join query.
 ITable openTable(java.lang.String name)
          Opens an existing table.
 void parseColumnName(java.lang.String fullName, java.lang.String[] dbName, java.lang.String[] ownerName, java.lang.String[] tableName, java.lang.String[] columnName)
          Given a column name, determine its qualification parts.
 void parseTableName(java.lang.String fullName, java.lang.String[] dbName, java.lang.String[] ownerName, java.lang.String[] tableName)
          Given a table name, determine its qualification parts.
 void post(java.lang.String versionName)
          Posts the current version to the reconcilled version.
 java.lang.String qualifyColumnName(java.lang.String tableName, java.lang.String columnName)
          Given a table name and column name, returns its fully qualified name.
 java.lang.String qualifyTableName(java.lang.String dbName, java.lang.String ownerName, java.lang.String tableName)
          Given a database, owner, and table name, return its fully qualified name.
 boolean reconcile(java.lang.String versionName)
          Reconciles the current version with a target version.
 boolean reconcile2(java.lang.String versionName, boolean acquireLock)
          Reconciles the current version with a target version.
 boolean reconcile3(java.lang.String versionName, boolean acquireLock, boolean abortIfConflicts)
          Reconciles the current version with a target version.
 void redoEditOperation()
          Causes a Redo to be performed on the last undo.
 void refreshVersion()
          Refreshes the version with the corresponding database state.
 void registerExtension(java.lang.String name, IUID gUID)
          Registers this workspace extension with the database making it required for successful connection to this database.
 void release()
          Release a VersionedWorkspace.
 void removeIWorkspaceEventsListener(IWorkspaceEvents theListener)
          removeIWorkspaceEventsListener.
 void rename(java.lang.String name)
          Renames this Dataset.
 void replaceSymbolCollection(java.lang.String name, java.lang.Object symbolCollection)
          Replaces the symbol collection in the class extension.
 void setAccess(int access)
          The version's access permission.
 void setAutoCommitInterval(int interval)
          The auto commit interval is the number of modification operations before a database commit is executed.
 void setBrowseName(java.lang.String name)
          The browse name of the dataset.
 void setDescription(java.lang.String description)
          The version's description.
 void setProperty(int propertyGroup, int propertyType, IWorkspaceProperty workspaceProperty)
          Information about this particular property.
 void setVersionName(java.lang.String name)
          The name of the version.
 void startEditing(boolean withUndoRedo)
          Starts editing the workspace.
 void startEditOperation()
          Begins an edit operation.
 void startTransaction()
          Begins a new transaction.
 void stopEditing(boolean saveEdits)
          Stops editing the workspace.
 void stopEditOperation()
          Ends an edit operation.
 void undoEditOperation()
          Causes an Undo to be performed on the last edit operation.
 void unRegisterExtension(IUID gUID)
          UnRegisters this workspace extension making it no longer required for successful connection to this database.
 void upgrade()
          Upgrade the database to the current release level.
 IField validateField(IField inField)
          Validate a field, performing type conversion if necessary.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VersionedWorkspace

public VersionedWorkspace(java.lang.Object obj)
                   throws java.io.IOException
Construct a VersionedWorkspace using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to VersionedWorkspace.
Casting to this class from the return value of a method will not work, as this class represents an abstract class in ArcObjects.
*
VersionedWorkspace o = (VersionedWorkspace)obj; // will not work

VersionedWorkspace o = new VersionedWorkspace(obj); // Use this constructor instead
* @param obj an object returned from ArcGIS Engine or Server

Throws:
java.io.IOException - if there are interop problems VersionedWorkspace theVersionedWorkspace = (VersionedWorkspace) obj;
Method Detail

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

addIWorkspaceEventsListener

public void addIWorkspaceEventsListener(IWorkspaceEvents theListener)
                                 throws java.io.IOException
addIWorkspaceEventsListener. Listen to events generated by this class.

Parameters:
theListener - An object that implements the com.esri.arcgis.geodatabase.IWorkspaceEvents interface.
Throws:
java.io.IOException - If there are communications problems.

removeIWorkspaceEventsListener

public void removeIWorkspaceEventsListener(IWorkspaceEvents theListener)
                                    throws java.io.IOException
removeIWorkspaceEventsListener. Stop listening to events generated by this class.

Parameters:
theListener - An object that implements the com.esri.arcgis.geodatabase.IWorkspaceEvents interface.
Throws:
java.io.IOException - If there are communications problems.

release

public void release()
Release a VersionedWorkspace.

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

getVersions

public IEnumVersionInfo getVersions()
                             throws java.io.IOException,
                                    AutomationException
All versions the user owns and those which are public or protected.

Specified by:
getVersions in interface IVersionedWorkspace
Returns:
A reference to a com.esri.arcgis.geodatabase.IEnumVersionInfo
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDefaultVersion

public IVersion getDefaultVersion()
                           throws java.io.IOException,
                                  AutomationException
The Default version.

Specified by:
getDefaultVersion in interface IVersionedWorkspace
Returns:
A reference to a com.esri.arcgis.geodatabase.IVersion
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

findVersion

public IVersion findVersion(java.lang.String name)
                     throws java.io.IOException,
                            AutomationException
Finds a specific version given it's name.

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

compress

public void compress()
              throws java.io.IOException,
                     AutomationException
Compresses the database by removing states not referenced by a version.

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

getRecommendedReconcileOrder

public IEnumVersionInfo getRecommendedReconcileOrder()
                                              throws java.io.IOException,
                                                     AutomationException
An ordered list of versions that can be used to optimize reconciliation against the default version.

Specified by:
getRecommendedReconcileOrder in interface IVersionedWorkspace2
Returns:
A reference to a com.esri.arcgis.geodatabase.IEnumVersionInfo
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getRecommendedSyncOrder

public IEnumBSTR getRecommendedSyncOrder()
                                  throws java.io.IOException,
                                         AutomationException
An ordered list of replicas that need to be synchronized in order to optimize reconciliation against the default version.

Specified by:
getRecommendedSyncOrder in interface IVersionedWorkspace3
Returns:
A reference to a com.esri.arcgis.system.IEnumBSTR
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getVersionLocks

public IEnumLockInfo getVersionLocks()
                              throws java.io.IOException,
                                     AutomationException
This version's locks.

Specified by:
getVersionLocks in interface IVersion
Returns:
A reference to a com.esri.arcgis.geodatabase.IEnumLockInfo
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getVersionInfo

public IVersionInfo getVersionInfo()
                            throws java.io.IOException,
                                   AutomationException
This version's information.

Specified by:
getVersionInfo in interface IVersion
Returns:
A reference to a com.esri.arcgis.geodatabase.IVersionInfo
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getVersionName

public java.lang.String getVersionName()
                                throws java.io.IOException,
                                       AutomationException
The name of the version.

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

setVersionName

public void setVersionName(java.lang.String name)
                    throws java.io.IOException,
                           AutomationException
The name of the version.

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

getDescription

public java.lang.String getDescription()
                                throws java.io.IOException,
                                       AutomationException
The version's description.

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

setDescription

public void setDescription(java.lang.String description)
                    throws java.io.IOException,
                           AutomationException
The version's description.

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

getAccess

public int getAccess()
              throws java.io.IOException,
                     AutomationException
The version's access permission.

Specified by:
getAccess in interface IVersion
Returns:
A com.esri.arcgis.geodatabase.esriVersionAccess constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setAccess

public void setAccess(int access)
               throws java.io.IOException,
                      AutomationException
The version's access permission.

Specified by:
setAccess in interface IVersion
Parameters:
access - A com.esri.arcgis.geodatabase.esriVersionAccess constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

hasParent

public boolean hasParent()
                  throws java.io.IOException,
                         AutomationException
True if this version have a parent version.

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

delete

public void delete()
            throws java.io.IOException,
                   AutomationException
Permanently deletes the version from the database.

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

refreshVersion

public void refreshVersion()
                    throws java.io.IOException,
                           AutomationException
Refreshes the version with the corresponding database state.

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

createVersion

public IVersion createVersion(java.lang.String newName)
                       throws java.io.IOException,
                              AutomationException
Creates a new version equivalent to this version.

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

getCommonAncestor

public IVersion getCommonAncestor(IVersion otherVersion)
                           throws java.io.IOException,
                                  AutomationException
Finds common ancestor version.

Specified by:
getCommonAncestor in interface IVersion2
Parameters:
otherVersion - A reference to a com.esri.arcgis.geodatabase.IVersion (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IVersion
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

createChild

public IVersion createChild(java.lang.String name,
                            IVersion initialStateVersion)
                     throws java.io.IOException,
                            AutomationException
Creates a new child version of this version whose initial state is the current state of pInitialStateVersion.

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

isRedefined

public boolean isRedefined()
                    throws java.io.IOException,
                           AutomationException
Determines whether the state of the version corresponding to this version object has been redefined in the database.

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

getModifiedClasses

public IEnumBSTR getModifiedClasses()
                             throws java.io.IOException,
                                    AutomationException
All objects modified by the current and reconciled versions.

Specified by:
getModifiedClasses in interface IVersionEdit
Returns:
A reference to a com.esri.arcgis.system.IEnumBSTR
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getConflictClasses

public IEnumConflictClass getConflictClasses()
                                      throws java.io.IOException,
                                             AutomationException
All objects which contain conflicts between the current and reconciled versions.

Specified by:
getConflictClasses in interface IVersionEdit
Returns:
A reference to a com.esri.arcgis.geodatabase.IEnumConflictClass
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getReconcileVersion

public IVersion getReconcileVersion()
                             throws java.io.IOException,
                                    AutomationException
The version that the current version is reconciling against.

Specified by:
getReconcileVersion in interface IVersionEdit
Returns:
A reference to a com.esri.arcgis.geodatabase.IVersion
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getStartEditingVersion

public IVersion getStartEditingVersion()
                                throws java.io.IOException,
                                       AutomationException
The version prior to any edits.

Specified by:
getStartEditingVersion in interface IVersionEdit
Returns:
A reference to a com.esri.arcgis.geodatabase.IVersion
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getPreReconcileVersion

public IVersion getPreReconcileVersion()
                                throws java.io.IOException,
                                       AutomationException
The version prior to reconciliation.

Specified by:
getPreReconcileVersion in interface IVersionEdit
Returns:
A reference to a com.esri.arcgis.geodatabase.IVersion
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCommonAncestorVersion

public IVersion getCommonAncestorVersion()
                                  throws java.io.IOException,
                                         AutomationException
The common ancestor of this version and the reconcile version.

Specified by:
getCommonAncestorVersion in interface IVersionEdit
Returns:
A reference to a com.esri.arcgis.geodatabase.IVersion
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

reconcile

public boolean reconcile(java.lang.String versionName)
                  throws java.io.IOException,
                         AutomationException
Reconciles the current version with a target version.

Specified by:
reconcile in interface IVersionEdit
Parameters:
versionName - The versionName (in)
Returns:
The foundConflicts
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

canPost

public boolean canPost()
                throws java.io.IOException,
                       AutomationException
Returns a boolean if the version can be posted to the reconcile version.

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

post

public void post(java.lang.String versionName)
          throws java.io.IOException,
                 AutomationException
Posts the current version to the reconcilled version.

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

reconcile2

public boolean reconcile2(java.lang.String versionName,
                          boolean acquireLock)
                   throws java.io.IOException,
                          AutomationException
Reconciles the current version with a target version.

Specified by:
reconcile2 in interface IVersionEdit2
Parameters:
versionName - The versionName (in)
acquireLock - The acquireLock (in)
Returns:
The foundConflicts
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

reconcile3

public boolean reconcile3(java.lang.String versionName,
                          boolean acquireLock,
                          boolean abortIfConflicts)
                   throws java.io.IOException,
                          AutomationException
Reconciles the current version with a target version.

Specified by:
reconcile3 in interface IVersionEdit3
Parameters:
versionName - The versionName (in)
acquireLock - The acquireLock (in)
abortIfConflicts - The abortIfConflicts (in)
Returns:
The foundConflicts
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getConnectionProperties

public IPropertySet getConnectionProperties()
                                     throws java.io.IOException,
                                            AutomationException
The connection properties of the workspace.

Specified by:
getConnectionProperties in interface IWorkspace
Returns:
A reference to a com.esri.arcgis.system.IPropertySet
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getWorkspaceFactory

public IWorkspaceFactory getWorkspaceFactory()
                                      throws java.io.IOException,
                                             AutomationException
The factory that created the workspace.

Specified by:
getWorkspaceFactory in interface IWorkspace
Returns:
A reference to a com.esri.arcgis.geodatabase.IWorkspaceFactory
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDatasets

public IEnumDataset getDatasets(int datasetType)
                         throws java.io.IOException,
                                AutomationException
The datasets in the workspace.

Specified by:
getDatasets in interface IWorkspace
Parameters:
datasetType - A com.esri.arcgis.geodatabase.esriDatasetType constant (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IEnumDataset
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDatasetNames

public IEnumDatasetName getDatasetNames(int datasetType)
                                 throws java.io.IOException,
                                        AutomationException
The DatasetNames in the workspace.

Specified by:
getDatasetNames in interface IWorkspace
Parameters:
datasetType - A com.esri.arcgis.geodatabase.esriDatasetType constant (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IEnumDatasetName
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getPathName

public java.lang.String getPathName()
                             throws java.io.IOException,
                                    AutomationException
The file system full path of the workspace.

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

getType

public int getType()
            throws java.io.IOException,
                   AutomationException
The Type of the Workspace.

Specified by:
getType in interface IDataset
Specified by:
getType in interface IWorkspace
Returns:
A com.esri.arcgis.geodatabase.esriWorkspaceType constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isDirectory

public boolean isDirectory()
                    throws java.io.IOException,
                           AutomationException
TRUE if the workspace is a file system directory.

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

exists

public boolean exists()
               throws java.io.IOException,
                      AutomationException
Checks if the workspace exists.

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

executeSQL

public void executeSQL(java.lang.String sqlStmt)
                throws java.io.IOException,
                       AutomationException
Executes the specified SQL statement.

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

openTable

public ITable openTable(java.lang.String name)
                 throws java.io.IOException,
                        AutomationException
Opens an existing table.

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

createTable

public ITable createTable(java.lang.String name,
                          IFields fields,
                          IUID cLSID,
                          IUID eXTCLSID,
                          java.lang.String configKeyword)
                   throws java.io.IOException,
                          AutomationException
Creates a new table.

Specified by:
createTable in interface IFeatureWorkspace
Parameters:
name - The name (in)
fields - A reference to a com.esri.arcgis.geodatabase.IFields (in)
cLSID - A reference to a com.esri.arcgis.system.IUID (in)
eXTCLSID - A reference to a com.esri.arcgis.system.IUID (in)
configKeyword - The configKeyword (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.ITable
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

openFeatureClass

public IFeatureClass openFeatureClass(java.lang.String name)
                               throws java.io.IOException,
                                      AutomationException
Opens an existing feature class.

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

createFeatureClass

public IFeatureClass createFeatureClass(java.lang.String name,
                                        IFields fields,
                                        IUID cLSID,
                                        IUID eXTCLSID,
                                        int featureType,
                                        java.lang.String shapeFieldName,
                                        java.lang.String configKeyword)
                                 throws java.io.IOException,
                                        AutomationException
Creates a new standalone feature class under the workspace.

Specified by:
createFeatureClass in interface IFeatureWorkspace
Parameters:
name - The name (in)
fields - A reference to a com.esri.arcgis.geodatabase.IFields (in)
cLSID - A reference to a com.esri.arcgis.system.IUID (in)
eXTCLSID - A reference to a com.esri.arcgis.system.IUID (in)
featureType - A com.esri.arcgis.geodatabase.esriFeatureType constant (in)
shapeFieldName - The shapeFieldName (in)
configKeyword - The configKeyword (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IFeatureClass
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

openFeatureDataset

public IFeatureDataset openFeatureDataset(java.lang.String name)
                                   throws java.io.IOException,
                                          AutomationException
Opens an existing feature dataset.

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

createFeatureDataset

public IFeatureDataset createFeatureDataset(java.lang.String name,
                                            ISpatialReference spatialReference)
                                     throws java.io.IOException,
                                            AutomationException
Creates a new feature dataset.

Specified by:
createFeatureDataset in interface IFeatureWorkspace
Parameters:
name - The name (in)
spatialReference - A reference to a com.esri.arcgis.geometry.ISpatialReference (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IFeatureDataset
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

createQueryDef

public IQueryDef createQueryDef()
                         throws java.io.IOException,
                                AutomationException
Create a query definition object.

Specified by:
createQueryDef in interface IFeatureWorkspace
Returns:
A reference to a com.esri.arcgis.geodatabase.IQueryDef
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

openFeatureQuery

public IFeatureDataset openFeatureQuery(java.lang.String queryName,
                                        IQueryDef queryDef)
                                 throws java.io.IOException,
                                        AutomationException
Opens a feature dataset containing a single feature class defined by the specified Query.

Specified by:
openFeatureQuery in interface IFeatureWorkspace
Parameters:
queryName - The queryName (in)
queryDef - A reference to a com.esri.arcgis.geodatabase.IQueryDef (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IFeatureDataset
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

openRelationshipClass

public IRelationshipClass openRelationshipClass(java.lang.String name)
                                         throws java.io.IOException,
                                                AutomationException
Opens an existing relationship class.

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

createRelationshipClass

public IRelationshipClass createRelationshipClass(java.lang.String relClassName,
                                                  IObjectClass originClass,
                                                  IObjectClass destinationClass,
                                                  java.lang.String forwardLabel,
                                                  java.lang.String backwardLabel,
                                                  int cardinality,
                                                  int notification,
                                                  boolean isComposite,
                                                  boolean isAttributed,
                                                  IFields relAttrFields,
                                                  java.lang.String originPrimaryKey,
                                                  java.lang.String destPrimaryKey,
                                                  java.lang.String originForeignKey,
                                                  java.lang.String destForeignKey)
                                           throws java.io.IOException,
                                                  AutomationException
Creates a new relationship class.

Specified by:
createRelationshipClass in interface IFeatureWorkspace
Parameters:
relClassName - The relClassName (in)
originClass - A reference to a com.esri.arcgis.geodatabase.IObjectClass (in)
destinationClass - A reference to a com.esri.arcgis.geodatabase.IObjectClass (in)
forwardLabel - The forwardLabel (in)
backwardLabel - The backwardLabel (in)
cardinality - A com.esri.arcgis.geodatabase.esriRelCardinality constant (in)
notification - A com.esri.arcgis.geodatabase.esriRelNotification constant (in)
isComposite - The isComposite (in)
isAttributed - The isAttributed (in)
relAttrFields - A reference to a com.esri.arcgis.geodatabase.IFields (in)
originPrimaryKey - The originPrimaryKey (in)
destPrimaryKey - The destPrimaryKey (in)
originForeignKey - The originForeignKey (in)
destForeignKey - The destForeignKey (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IRelationshipClass
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

openRelationshipQuery

public ITable openRelationshipQuery(IRelationshipClass relClass,
                                    boolean joinForward,
                                    IQueryFilter srcQueryFilter,
                                    ISelectionSet srcSelectionSet,
                                    java.lang.String targetColumns,
                                    boolean doNotPushJoinToDB)
                             throws java.io.IOException,
                                    AutomationException
The table of a relationship join query.

Specified by:
openRelationshipQuery in interface IFeatureWorkspace
Parameters:
relClass - A reference to a com.esri.arcgis.geodatabase.IRelationshipClass (in)
joinForward - The joinForward (in)
srcQueryFilter - A reference to a com.esri.arcgis.geodatabase.IQueryFilter (in)
srcSelectionSet - A reference to a com.esri.arcgis.geodatabase.ISelectionSet (in)
targetColumns - The targetColumns (in)
doNotPushJoinToDB - The doNotPushJoinToDB (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.ITable
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getName

public java.lang.String getName()
                         throws java.io.IOException,
                                AutomationException
The name of the Dataset.

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

getFullName

public IName getFullName()
                  throws java.io.IOException,
                         AutomationException
The associated name object.

Specified by:
getFullName in interface IDataset
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.

getBrowseName

public java.lang.String getBrowseName()
                               throws java.io.IOException,
                                      AutomationException
The browse name of the dataset.

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

setBrowseName

public void setBrowseName(java.lang.String name)
                   throws java.io.IOException,
                          AutomationException
The browse name of the dataset.

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

getCategory

public java.lang.String getCategory()
                             throws java.io.IOException,
                                    AutomationException
The category of the dataset.

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

getSubsets

public IEnumDataset getSubsets()
                        throws java.io.IOException,
                               AutomationException
Datasets contained within this dataset.

Specified by:
getSubsets in interface IDataset
Returns:
A reference to a com.esri.arcgis.geodatabase.IEnumDataset
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getWorkspace

public IWorkspace getWorkspace()
                        throws java.io.IOException,
                               AutomationException
The workspace containing this dataset.

Specified by:
getWorkspace in interface IDataset
Returns:
A reference to a com.esri.arcgis.geodatabase.IWorkspace
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getPropertySet

public IPropertySet getPropertySet()
                            throws java.io.IOException,
                                   AutomationException
The set of properties for the dataset.

Specified by:
getPropertySet in interface IDataset
Returns:
A reference to a com.esri.arcgis.system.IPropertySet
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

canCopy

public boolean canCopy()
                throws java.io.IOException,
                       AutomationException
True if this dataset can be copied.

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

copy

public IDataset copy(java.lang.String copyName,
                     IWorkspace copyWorkspace)
              throws java.io.IOException,
                     AutomationException
Copies this dataset to a new dataset with the specified name.

Specified by:
copy in interface IDataset
Parameters:
copyName - The copyName (in)
copyWorkspace - A reference to a com.esri.arcgis.geodatabase.IWorkspace (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.

canDelete

public boolean canDelete()
                  throws java.io.IOException,
                         AutomationException
True if this dataset can be deleted.

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

canRename

public boolean canRename()
                  throws java.io.IOException,
                         AutomationException
True if this dataset can be renamed.

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

rename

public void rename(java.lang.String name)
            throws java.io.IOException,
                   AutomationException
Renames this Dataset.

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

addDataset

public void addDataset(IDataset datasetToAdd)
                throws java.io.IOException,
                       AutomationException
Adds a dataset to the dataset collection.

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

startEditing

public void startEditing(boolean withUndoRedo)
                  throws java.io.IOException,
                         AutomationException
Starts editing the workspace.

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

stopEditing

public void stopEditing(boolean saveEdits)
                 throws java.io.IOException,
                        AutomationException
Stops editing the workspace.

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

isBeingEdited

public boolean isBeingEdited()
                      throws java.io.IOException,
                             AutomationException
True if the workspace is being edited.

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

startEditOperation

public void startEditOperation()
                        throws java.io.IOException,
                               AutomationException
Begins an edit operation.

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

stopEditOperation

public void stopEditOperation()
                       throws java.io.IOException,
                              AutomationException
Ends an edit operation.

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

abortEditOperation

public void abortEditOperation()
                        throws java.io.IOException,
                               AutomationException
Aborts an edit operation.

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

hasUndos

public void hasUndos(boolean[] hasUndos)
              throws java.io.IOException,
                     AutomationException
True if there are any completed edit operations that can be undone.

Specified by:
hasUndos in interface IWorkspaceEdit
Parameters:
hasUndos - The hasUndos (in/out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

undoEditOperation

public void undoEditOperation()
                       throws java.io.IOException,
                              AutomationException
Causes an Undo to be performed on the last edit operation.

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

hasRedos

public void hasRedos(boolean[] hasRedos)
              throws java.io.IOException,
                     AutomationException
True if there are any completed undos that can be redone.

Specified by:
hasRedos in interface IWorkspaceEdit
Parameters:
hasRedos - The hasRedos (in/out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

redoEditOperation

public void redoEditOperation()
                       throws java.io.IOException,
                              AutomationException
Causes a Redo to be performed on the last undo.

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

enableUndoRedo

public void enableUndoRedo()
                    throws java.io.IOException,
                           AutomationException
Enables Undo and Redo of edit operations.

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

disableUndoRedo

public void disableUndoRedo()
                     throws java.io.IOException,
                            AutomationException
Disables Undo and Redo of edit operations.

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

hasEdits

public void hasEdits(boolean[] hasEdits)
              throws java.io.IOException,
                     AutomationException
True if there are any completed edit operations that need to be saved .

Specified by:
hasEdits in interface IWorkspaceEdit
Parameters:
hasEdits - The hasEdits (in/out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

deleteByName

public void deleteByName(IDatasetName aName)
                  throws java.io.IOException,
                         AutomationException
Deletes an object by it's name.

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

isRegisteredAsVersioned

public boolean isRegisteredAsVersioned(IName aName)
                                throws java.io.IOException,
                                       AutomationException
Checks if an object is registered as versioned.

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

isRegisteredAsObjectClass

public boolean isRegisteredAsObjectClass(java.lang.String name)
                                  throws java.io.IOException,
                                         AutomationException
Checks if an object is registered as an object class.

Specified by:
isRegisteredAsObjectClass in interface IFeatureWorkspaceManage
Parameters:
name - The name (in)
Returns:
The isRegistered
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

canDelete

public boolean canDelete(IName aName)
                  throws java.io.IOException,
                         AutomationException
Checks if an object can be deleted.

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

canRename

public boolean canRename(IName aName)
                  throws java.io.IOException,
                         AutomationException
Checks if an object can be renamed.

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

analyzeTable

public void analyzeTable(java.lang.String tableName,
                         int tableComponents)
                  throws java.io.IOException,
                         AutomationException
Analyze the table to generate DBMS statistics.

Specified by:
analyzeTable in interface IFeatureWorkspaceManage
Parameters:
tableName - The tableName (in)
tableComponents - The tableComponents (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

analyzeIndex

public void analyzeIndex(java.lang.String tableName,
                         java.lang.String index)
                  throws java.io.IOException,
                         AutomationException
Analyze the index to generate DBMS statistics.

Specified by:
analyzeIndex in interface IFeatureWorkspaceManage
Parameters:
tableName - The tableName (in)
index - The index (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

validateField

public IField validateField(IField inField)
                     throws java.io.IOException,
                            AutomationException
Validate a field, performing type conversion if necessary.

Specified by:
validateField in interface IFeatureWorkspaceManage
Parameters:
inField - A reference to a com.esri.arcgis.geodatabase.IField (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IField
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

alterInstanceCLSID

public void alterInstanceCLSID(java.lang.String name,
                               IUID instanceCLSID)
                        throws java.io.IOException,
                               AutomationException
Changes the instance COM class associated with this database class.

Specified by:
alterInstanceCLSID in interface IFeatureWorkspaceSchemaEdit
Parameters:
name - The name (in)
instanceCLSID - A reference to a com.esri.arcgis.system.IUID (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

alterClassExtensionCLSID

public void alterClassExtensionCLSID(java.lang.String name,
                                     IUID classExtensionCLSID,
                                     IPropertySet classExtensionProperties)
                              throws java.io.IOException,
                                     AutomationException
Changes the class extension COM class associated with this database class.

Specified by:
alterClassExtensionCLSID in interface IFeatureWorkspaceSchemaEdit
Parameters:
name - The name (in)
classExtensionCLSID - A reference to a com.esri.arcgis.system.IUID (in)
classExtensionProperties - A reference to a com.esri.arcgis.system.IPropertySet (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isCanUpgrade

public boolean isCanUpgrade()
                     throws java.io.IOException,
                            AutomationException
Indicates if the geodatabase can be upgraded with this interface. If not, then another utility must be used to upgrade it.

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

isCurrentRelease

public boolean isCurrentRelease()
                         throws java.io.IOException,
                                AutomationException
Indicates if the geodatabase at the current release level.

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

getMajorVersion

public int getMajorVersion()
                    throws java.io.IOException,
                           AutomationException
Geodatabase major version level.

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

getMinorVersion

public int getMinorVersion()
                    throws java.io.IOException,
                           AutomationException
Geodatabase minor version level.

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

getBugfixVersion

public int getBugfixVersion()
                     throws java.io.IOException,
                            AutomationException
Geodatabase bugfix version level.

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

upgrade

public void upgrade()
             throws java.io.IOException,
                    AutomationException
Upgrade the database to the current release level.

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

isInTransaction

public boolean isInTransaction()
                        throws java.io.IOException,
                               AutomationException
Indicates if there is already a transaction in progress.

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

startTransaction

public void startTransaction()
                      throws java.io.IOException,
                             AutomationException
Begins a new transaction.

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

commitTransaction

public void commitTransaction()
                       throws java.io.IOException,
                              AutomationException
Commits the current transaction.

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

abortTransaction

public void abortTransaction()
                      throws java.io.IOException,
                             AutomationException
Aborts the current transaction.

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

setAutoCommitInterval

public void setAutoCommitInterval(int interval)
                           throws java.io.IOException,
                                  AutomationException
The auto commit interval is the number of modification operations before a database commit is executed.

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

getAutoCommitInterval

public int getAutoCommitInterval()
                          throws java.io.IOException,
                                 AutomationException
The auto commit interval is the number of modification operations before a database commit is executed.

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

addDomain

public int addDomain(IDomain domain)
              throws java.io.IOException,
                     AutomationException
Adds the given domain to the workspace.

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

isCanDeleteDomain

public boolean isCanDeleteDomain(java.lang.String domainName)
                          throws java.io.IOException,
                                 AutomationException
Indicates if the user can delete the domain.

Specified by:
isCanDeleteDomain in interface IWorkspaceDomains
Parameters:
domainName - The domainName (in)
Returns:
The deletable
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

deleteDomain

public void deleteDomain(java.lang.String domainName)
                  throws java.io.IOException,
                         AutomationException
Deletes the given domain from the workspace.

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

getDomains

public IEnumDomain getDomains()
                       throws java.io.IOException,
                              AutomationException
All the domains in the workspace.

Specified by:
getDomains in interface IWorkspaceDomains
Returns:
A reference to a com.esri.arcgis.geodatabase.IEnumDomain
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDomainByName

public IDomain getDomainByName(java.lang.String domainName)
                        throws java.io.IOException,
                               AutomationException
The domain with the given name from the workspace.

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

getDomainsByFieldType

public IEnumDomain getDomainsByFieldType(int type)
                                  throws java.io.IOException,
                                         AutomationException
The domain with the given name from the workspace.

Specified by:
getDomainsByFieldType in interface IWorkspaceDomains
Parameters:
type - A com.esri.arcgis.geodatabase.esriFieldType constant (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IEnumDomain
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

alterDomain

public void alterDomain(IDomain domain)
                 throws java.io.IOException,
                        AutomationException
Alters an existing domain in the workspace.

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

alterDomainWithName

public void alterDomainWithName(IDomain domain,
                                java.lang.String oldDomainName)
                         throws java.io.IOException,
                                AutomationException
Alters an existing domain in the workspace.

Specified by:
alterDomainWithName in interface IWorkspaceDomains3
Parameters:
domain - A reference to a com.esri.arcgis.geodatabase.IDomain (in)
oldDomainName - The oldDomainName (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

fillCache

public void fillCache(IEnvelope extent)
               throws java.io.IOException,
                      AutomationException
Fills the spatial cache using the specified extent.

Specified by:
fillCache in interface ISpatialCacheManager
Parameters:
extent - A reference to a com.esri.arcgis.geometry.IEnvelope (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

emptyCache

public void emptyCache()
                throws java.io.IOException,
                       AutomationException
Empties the spatial cache.

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

isCacheIsFull

public boolean isCacheIsFull()
                      throws java.io.IOException,
                             AutomationException
Indicates if the spatial cache is full.

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

getCacheExtent

public IEnvelope getCacheExtent()
                         throws java.io.IOException,
                                AutomationException
The extent of the spatial cache.

Specified by:
getCacheExtent in interface ISpatialCacheManager
Returns:
A reference to a com.esri.arcgis.geometry.IEnvelope
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

fillCacheEx

public void fillCacheEx(IEnvelope extent,
                        double expansionFactor)
                 throws java.io.IOException,
                        AutomationException
Fills the spatial cache using the specified extent with an expansion factor.

Specified by:
fillCacheEx in interface ISpatialCacheManager2
Parameters:
extent - A reference to a com.esri.arcgis.geometry.IEnvelope (in)
expansionFactor - The expansionFactor (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCacheExpansionFactor

public double getCacheExpansionFactor()
                               throws java.io.IOException,
                                      AutomationException
The extent expansion factor for the spatial cache.

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

createAnnotationClass

public IFeatureClass createAnnotationClass(java.lang.String name,
                                           IFields fields,
                                           IUID cLSID,
                                           IUID eXTCLSID,
                                           java.lang.String shapeFieldName,
                                           java.lang.String configKeyword,
                                           IFeatureDataset dstFeatureDataset,
                                           IFeatureClass srcFeatureClass,
                                           java.lang.Object annoProperties,
                                           java.lang.Object referenceScale,
                                           java.lang.Object symbolCollection,
                                           boolean autoCreate)
                                    throws java.io.IOException,
                                           AutomationException
Creates a new annotation feature class in the workspace.

Specified by:
createAnnotationClass in interface IFeatureWorkspaceAnno
Parameters:
name - The name (in)
fields - A reference to a com.esri.arcgis.geodatabase.IFields (in)
cLSID - A reference to a com.esri.arcgis.system.IUID (in)
eXTCLSID - A reference to a com.esri.arcgis.system.IUID (in)
shapeFieldName - The shapeFieldName (in)
configKeyword - The configKeyword (in)
dstFeatureDataset - A reference to a com.esri.arcgis.geodatabase.IFeatureDataset (in)
srcFeatureClass - A reference to a com.esri.arcgis.geodatabase.IFeatureClass (in)
annoProperties - A reference to another Object (IUnknown) (in)
referenceScale - A reference to another Object (IUnknown) (in)
symbolCollection - A reference to another Object (IUnknown) (in)
autoCreate - The autoCreate (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IFeatureClass
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

addSymbolCollection

public void addSymbolCollection(java.lang.String name,
                                java.lang.Object symbolCollection)
                         throws java.io.IOException,
                                AutomationException
Updates the symbol collection in the class extension.

Specified by:
addSymbolCollection in interface IFeatureWorkspaceAnno
Parameters:
name - The name (in)
symbolCollection - A reference to another Object (IUnknown) (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

replaceSymbolCollection

public void replaceSymbolCollection(java.lang.String name,
                                    java.lang.Object symbolCollection)
                             throws java.io.IOException,
                                    AutomationException
Replaces the symbol collection in the class extension.

Specified by:
replaceSymbolCollection in interface IFeatureWorkspaceAnno
Parameters:
name - The name (in)
symbolCollection - A reference to another Object (IUnknown) (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

compact

public void compact()
             throws java.io.IOException,
                    AutomationException
Compacts the database.

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

canCompact

public boolean canCompact()
                   throws java.io.IOException,
                          AutomationException
True if this dataset can be compacted.

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

qualifyTableName

public java.lang.String qualifyTableName(java.lang.String dbName,
                                         java.lang.String ownerName,
                                         java.lang.String tableName)
                                  throws java.io.IOException,
                                         AutomationException
Given a database, owner, and table name, return its fully qualified name.

Specified by:
qualifyTableName in interface ISQLSyntax
Parameters:
dbName - The dbName (in)
ownerName - The ownerName (in)
tableName - The tableName (in)
Returns:
The fullName
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

qualifyColumnName

public java.lang.String qualifyColumnName(java.lang.String tableName,
                                          java.lang.String columnName)
                                   throws java.io.IOException,
                                          AutomationException
Given a table name and column name, returns its fully qualified name.

Specified by:
qualifyColumnName in interface ISQLSyntax
Parameters:
tableName - The tableName (in)
columnName - The columnName (in)
Returns:
The fullName
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

parseTableName

public void parseTableName(java.lang.String fullName,
                           java.lang.String[] dbName,
                           java.lang.String[] ownerName,
                           java.lang.String[] tableName)
                    throws java.io.IOException,
                           AutomationException
Given a table name, determine its qualification parts.

Specified by:
parseTableName in interface ISQLSyntax
Parameters:
fullName - The fullName (in)
dbName - The dbName (out: use single element array)
ownerName - The ownerName (out: use single element array)
tableName - The tableName (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

parseColumnName

public void parseColumnName(java.lang.String fullName,
                            java.lang.String[] dbName,
                            java.lang.String[] ownerName,
                            java.lang.String[] tableName,
                            java.lang.String[] columnName)
                     throws java.io.IOException,
                            AutomationException
Given a column name, determine its qualification parts.

Specified by:
parseColumnName in interface ISQLSyntax
Parameters:
fullName - The fullName (in)
dbName - The dbName (out: use single element array)
ownerName - The ownerName (out: use single element array)
tableName - The tableName (out: use single element array)
columnName - The columnName (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getFunctionName

public java.lang.String getFunctionName(int sqlFunc)
                                 throws java.io.IOException,
                                        AutomationException
DBMS dependent SQL function names.

Specified by:
getFunctionName in interface ISQLSyntax
Parameters:
sqlFunc - A com.esri.arcgis.geodatabase.esriSQLFunctionName constant (in)
Returns:
The sqlFunctionName
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSpecialCharacter

public java.lang.String getSpecialCharacter(int sqlSC)
                                     throws java.io.IOException,
                                            AutomationException
Special DBMS dependent SQL characters.

Specified by:
getSpecialCharacter in interface ISQLSyntax
Parameters:
sqlSC - A com.esri.arcgis.geodatabase.esriSQLSpecialCharacters constant (in)
Returns:
The specialChar
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSupportedPredicates

public int getSupportedPredicates()
                           throws java.io.IOException,
                                  AutomationException
Supported SQL predicates.

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

getSupportedClauses

public int getSupportedClauses()
                        throws java.io.IOException,
                               AutomationException
Supported SQL clauses.

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

getIdentifierCase

public boolean getIdentifierCase()
                          throws java.io.IOException,
                                 AutomationException
True if DBMS's identifiers are case sensitive.

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

getDelimitedIdentifierCase

public boolean getDelimitedIdentifierCase()
                                   throws java.io.IOException,
                                          AutomationException
True if DBMS's quoted identifiers are case sensitive.

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

getStringComparisonCase

public boolean getStringComparisonCase()
                                throws java.io.IOException,
                                       AutomationException
True if string comparisons are case sensitive.

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

getKeywords

public IEnumBSTR getKeywords()
                      throws java.io.IOException,
                             AutomationException
The list of DBMS specific reserved keywords.

Specified by:
getKeywords in interface ISQLSyntax
Returns:
A reference to a com.esri.arcgis.system.IEnumBSTR
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getInvalidCharacters

public java.lang.String getInvalidCharacters()
                                      throws java.io.IOException,
                                             AutomationException
The list of invalid characters used in literals (if any).

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

getInvalidStartingCharacters

public java.lang.String getInvalidStartingCharacters()
                                              throws java.io.IOException,
                                                     AutomationException
The list of invalid characters used in literals (if any).

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

getProperty

public IWorkspaceProperty getProperty(int propertyGroup,
                                      int propertyType)
                               throws java.io.IOException,
                                      AutomationException
Information about this particular property.

Specified by:
getProperty in interface IWorkspaceProperties
Parameters:
propertyGroup - A com.esri.arcgis.geodatabase.esriWorkspacePropertyGroupType constant (in)
propertyType - The propertyType (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IWorkspaceProperty
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setProperty

public void setProperty(int propertyGroup,
                        int propertyType,
                        IWorkspaceProperty workspaceProperty)
                 throws java.io.IOException,
                        AutomationException
Information about this particular property.

Specified by:
setProperty in interface IWorkspaceProperties
Parameters:
propertyGroup - A com.esri.arcgis.geodatabase.esriWorkspacePropertyGroupType constant (in)
propertyType - The propertyType (in)
workspaceProperty - A reference to a com.esri.arcgis.geodatabase.IWorkspaceProperty (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getConfigurationKeywords

public IEnumConfigurationKeyword getConfigurationKeywords()
                                                   throws java.io.IOException,
                                                          AutomationException
The available configuration keywords.

Specified by:
getConfigurationKeywords in interface IWorkspaceConfiguration
Returns:
A reference to a com.esri.arcgis.geodatabase.IEnumConfigurationKeyword
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

findExtension

public IWorkspaceExtension findExtension(IUID gUID)
                                  throws java.io.IOException,
                                         AutomationException
Finds the specified workspace extension by its globally unique id.

Specified by:
findExtension in interface IWorkspaceExtensionManager
Parameters:
gUID - A reference to a com.esri.arcgis.system.IUID (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IWorkspaceExtension
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getExtensionCount

public int getExtensionCount()
                      throws java.io.IOException,
                             AutomationException
The number of workspace extensions.

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

getExtension

public IWorkspaceExtension getExtension(int index)
                                 throws java.io.IOException,
                                        AutomationException
The workspace extension at this index.

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

registerExtension

public void registerExtension(java.lang.String name,
                              IUID gUID)
                       throws java.io.IOException,
                              AutomationException
Registers this workspace extension with the database making it required for successful connection to this database.

Specified by:
registerExtension in interface IWorkspaceExtensionManager
Parameters:
name - The name (in)
gUID - A reference to a com.esri.arcgis.system.IUID (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

unRegisterExtension

public void unRegisterExtension(IUID gUID)
                         throws java.io.IOException,
                                AutomationException
UnRegisters this workspace extension making it no longer required for successful connection to this database.

Specified by:
unRegisterExtension in interface IWorkspaceExtensionManager
Parameters:
gUID - A reference to a com.esri.arcgis.system.IUID (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSpatialReferenceInfo

public IEnumSpatialReferenceInfo getSpatialReferenceInfo()
                                                  throws java.io.IOException,
                                                         AutomationException
The defined Spatial References in the Workspace.

Specified by:
getSpatialReferenceInfo in interface IWorkspaceSpatialReferenceInfo
Returns:
A reference to a com.esri.arcgis.geodatabase.IEnumSpatialReferenceInfo
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getConnectedDatabase

public java.lang.String getConnectedDatabase()
                                      throws java.io.IOException,
                                             AutomationException
The name of the connected database. It may be different from the DATABASE property in the workspace's connection properties.

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

getConnectedUser

public java.lang.String getConnectedUser()
                                  throws java.io.IOException,
                                         AutomationException
The name of the connected user. It may be different from the USER property in the workspace's connection properties.

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