com.esri.arcgis.datasourcesGDB
Class Sde4Workspace

java.lang.Object
  extended by com.esri.arcgis.datasourcesGDB.Sde4Workspace
All Implemented Interfaces:
IDatabaseConnectionInfo, IDataset, IDatasetContainer, IFeatureWorkspace, IFeatureWorkspaceAnno, IFeatureWorkspaceManage, IFeatureWorkspaceManage2, IFeatureWorkspaceSchemaEdit, IGeodatabaseRelease, INetworkWorkspace, INetworkWorkspace2, IRasterWorkspaceEx, IRemoteDatabaseWorkspace, ISQLSyntax, ITopologyWorkspace, ITransactions, ITransactionsOptions, IVersionedWorkspace, IWorkspace, IWorkspace2, IWorkspaceConfiguration, IWorkspaceDomains, IWorkspaceDomains2, IWorkspaceSpatialReferenceInfo, com.esri.arcgis.interop.RemoteObjRef, ISupportErrorInfo, java.io.Serializable

public class Sde4Workspace
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IWorkspace, IWorkspace2, IRemoteDatabaseWorkspace, IFeatureWorkspace, IDatabaseConnectionInfo, IDataset, IDatasetContainer, IFeatureWorkspaceAnno, IFeatureWorkspaceManage, IFeatureWorkspaceManage2, IFeatureWorkspaceSchemaEdit, IGeodatabaseRelease, INetworkWorkspace, INetworkWorkspace2, ITopologyWorkspace, ISQLSyntax, ISupportErrorInfo, ITransactions, ITransactionsOptions, IVersionedWorkspace, IWorkspaceConfiguration, IWorkspaceDomains, IWorkspaceDomains2, IWorkspaceSpatialReferenceInfo, IRasterWorkspaceEx

COM Class 'Sde4Workspace'. Generated 3/19/2015 1:20:42 PM from 'C:\ArcGIS\COM\esriDataSourcesGDB.olb'

Description 'Esri SDE (4.x) Feature Database.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.esri.arcgis.geodatabase.IWorkspace
IID, IIDd4803ee1_79f4_11d0_97fc_0080c7f79481, xxDummy
 
Fields inherited from interface com.esri.arcgis.geodatabase.IWorkspace2
IID, IID4b21005e_01df_4945_9038_adcbd17a0f2e, xxDummy
 
Fields inherited from interface com.esri.arcgis.geodatabase.IRemoteDatabaseWorkspace
IID, IIDab4a2d79_055b_11d2_aa97_00c04fa33a15, 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.IDatabaseConnectionInfo
IID, IID2808cad6_e0fa_4478_be5b_0e645a2bc7ed, 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.IFeatureWorkspaceAnno
IID, IID14eb5331_ca80_11d2_8a2f_006097aff44e, xxDummy
 
Fields inherited from interface com.esri.arcgis.geodatabase.IFeatureWorkspaceManage2
IID, IID7b041afb_1ad6_45ab_9c34_4e98b41df506, xxDummy
 
Fields inherited from interface com.esri.arcgis.geodatabase.IFeatureWorkspaceManage
IIDff866b9f_6f94_11d3_80e5_00c04f686238
 
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.INetworkWorkspace2
IID, IID33978fff_118d_11d4_a0e7_00c04f6bdf0e, xxDummy
 
Fields inherited from interface com.esri.arcgis.geodatabase.INetworkWorkspace
IID4700c2e0_2e11_11d1_b24e_0000f878229e
 
Fields inherited from interface com.esri.arcgis.geodatabase.ITopologyWorkspace
IID, IIDea103f9f_8226_4d62_afd8_a9aead2a3be3, xxDummy
 
Fields inherited from interface com.esri.arcgis.geodatabase.ISQLSyntax
IID, IID18e2854e_edc8_11d2_aaef_00c04fa37849, xxDummy
 
Fields inherited from interface com.esri.arcgis.system.ISupportErrorInfo
IID, IIDdf0b3d60_548f_101b_8e65_08002b2bd119, 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.IVersionedWorkspace
IID, IID1b256191_b380_11d1_9ce6_0000f8780619, 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.IWorkspaceDomains2
IID, IID56a5e6d4_01c6_11d4_a057_00c04f6bdd84, xxDummy
 
Fields inherited from interface com.esri.arcgis.geodatabase.IWorkspaceDomains
IIDd80957f0_8883_11d2_aabb_00c04fa37b82
 
Fields inherited from interface com.esri.arcgis.geodatabase.IWorkspaceSpatialReferenceInfo
IID, IID89890719_42d8_11d4_8145_00c04f686238, xxDummy
 
Fields inherited from interface com.esri.arcgis.geodatabase.IRasterWorkspaceEx
IID, IIDc8778a65_0e27_4cb5_9a50_a7471b398ea7, xxDummy
 
Constructor Summary
Sde4Workspace(java.lang.Object obj)
          Construct a Sde4Workspace using a reference to such an object returned from ArcGIS Engine or Server.
 
Method Summary
 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 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 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 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 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 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.
 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.
 INetwork createNetwork(java.lang.String networkName, int networkType, boolean buildNormalizedTables)
          Creates a logical network.
 INetwork createNetworkEx(java.lang.String networkName, int networkType, boolean buildNormalizedTables, java.lang.String configKeyword, int formatNum)
          Creates a logical network based on the specified configuration keyword.
 IQueryDef createQueryDef()
          Create a query definition object.
 IRasterCatalog createRasterCatalog(java.lang.String name, IFields fields, java.lang.String shapeFieldName, java.lang.String rasterFieldName, java.lang.String configKeyword)
          Creates a new raster catalog.
 IRasterDataset createRasterDataset(java.lang.String name, int numBands, int pixelType, IRasterStorageDef storageDef, java.lang.String configKeyword, IRasterDef rasterDef, IGeometryDef geometryDef)
          Creates a new raster dataset.
 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.
 void delete()
          Deletes this dataset.
 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 deleteRasterCatalog(java.lang.String name)
          Deletes a raster catalog.
 void deleteRasterDataset(java.lang.String name)
          Deletes a raster dataset.
 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.
 IVersion findVersion(java.lang.String name)
          Finds a specific version given it's name.
 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.
 java.lang.String getCategory()
          The category of the dataset.
 IEnumConfigurationKeyword getConfigurationKeywords()
          The available configuration keywords.
 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.
 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.
 int getFormatNumber(int index)
          The specified format number.
 int getFormatNumberCount()
          The count of valid format numbers.
 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 getMaxStorableClassID(int formatNum)
          Returns the maximum storable feature class ID for the given format number.
 int getMinorVersion()
          Geodatabase minor version level.
 java.lang.String getName()
          The name of the Dataset.
 IEnumBSTR getNetworkNames()
          Returns an enumeration of the names of the logical networks within the current workspace.
 java.lang.String getObjectClassNameByID(int objectClassID)
          Gets fully qualified feature class name by object class id.
 java.lang.String getPathName()
          The file system full path of the workspace.
 IPropertySet getPropertySet()
          The set of properties for the dataset.
 java.lang.String getRelationshipClassNameByID(int relClassId)
          Gets fully qualified relationship class name by relationship class id.
 IEnumSpatialReferenceInfo getSpatialReferenceInfo()
          The defined Spatial References in the Workspace.
 java.lang.String getSpecialCharacter(int sqlSC)
          Special DBMS dependent SQL characters.
 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.
 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.
 int hashCode()
          the hashcode for this object
 void interfaceSupportsErrorInfo(GUID riid)
          interfaceSupportsErrorInfo
 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 isNameExists(int type, java.lang.String name)
          Indicates if a dataset with the given name exists within the workspace.
 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.
 INetwork openNetwork(java.lang.String networkName, int networkType, int networkAccess)
          Opens a logical network.
 IRasterCatalog openRasterCatalog(java.lang.String name)
          Opens an existing raster catalog.
 IRasterDataset openRasterDataset(java.lang.String name)
          Opens an existing raster dataset.
 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.
 ITopology openTopology(java.lang.String name)
          Opens and returns the topology with the specified name.
 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.
 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.
 void registerAsRasterCatalog(java.lang.String name, java.lang.String oIDFieldName, IGeometryDef geometryDef)
          Registers as a RasterCatalog.
 void registerAsRasterDataset(java.lang.String name, IGeometryDef geometryDef)
          Registers as a RasterDataset.
 void release()
          Release a Sde4Workspace.
 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.
 IRasterDataset saveAsRasterDataset(java.lang.String name, IRaster raster, IRasterStorageDef storageDef, java.lang.String configKeyword, IRasterDef rasterDef, IGeometryDef geometryDef)
          Creates a new raster dataset from another seed Raster.
 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 startTransaction()
          Begins a new transaction.
 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

Sde4Workspace

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

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

Throws:
java.io.IOException - if there are interop problems Sde4Workspace theSde4Workspace = (Sde4Workspace) 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

release

public void release()
Release a Sde4Workspace.

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

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.

isNameExists

public boolean isNameExists(int type,
                            java.lang.String name)
                     throws java.io.IOException,
                            AutomationException
Indicates if a dataset with the given name exists within the workspace.

Specified by:
isNameExists in interface IWorkspace2
Parameters:
type - A com.esri.arcgis.geodatabase.esriDatasetType constant (in)
name - The name (in)
Returns:
The exists
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.

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.

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.

delete

public void delete()
            throws java.io.IOException,
                   AutomationException
Deletes this dataset.

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

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.

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.

getObjectClassNameByID

public java.lang.String getObjectClassNameByID(int objectClassID)
                                        throws java.io.IOException,
                                               AutomationException
Gets fully qualified feature class name by object class id.

Specified by:
getObjectClassNameByID in interface IFeatureWorkspaceManage2
Parameters:
objectClassID - The objectClassID (in)
Returns:
The qname
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getRelationshipClassNameByID

public java.lang.String getRelationshipClassNameByID(int relClassId)
                                              throws java.io.IOException,
                                                     AutomationException
Gets fully qualified relationship class name by relationship class id.

Specified by:
getRelationshipClassNameByID in interface IFeatureWorkspaceManage2
Parameters:
relClassId - The relClassId (in)
Returns:
The qname
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.

createNetwork

public INetwork createNetwork(java.lang.String networkName,
                              int networkType,
                              boolean buildNormalizedTables)
                       throws java.io.IOException,
                              AutomationException
Creates a logical network.

Specified by:
createNetwork in interface INetworkWorkspace
Parameters:
networkName - The networkName (in)
networkType - A com.esri.arcgis.geodatabase.esriNetworkType constant (in)
buildNormalizedTables - The buildNormalizedTables (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.INetwork
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

openNetwork

public INetwork openNetwork(java.lang.String networkName,
                            int networkType,
                            int networkAccess)
                     throws java.io.IOException,
                            AutomationException
Opens a logical network.

Specified by:
openNetwork in interface INetworkWorkspace
Parameters:
networkName - The networkName (in)
networkType - A com.esri.arcgis.geodatabase.esriNetworkType constant (in)
networkAccess - A com.esri.arcgis.geodatabase.esriNetworkAccess constant (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.INetwork
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getNetworkNames

public IEnumBSTR getNetworkNames()
                          throws java.io.IOException,
                                 AutomationException
Returns an enumeration of the names of the logical networks within the current workspace.

Specified by:
getNetworkNames in interface INetworkWorkspace
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.

getFormatNumberCount

public int getFormatNumberCount()
                         throws java.io.IOException,
                                AutomationException
The count of valid format numbers.

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

getFormatNumber

public int getFormatNumber(int index)
                    throws java.io.IOException,
                           AutomationException
The specified format number.

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

getMaxStorableClassID

public int getMaxStorableClassID(int formatNum)
                          throws java.io.IOException,
                                 AutomationException
Returns the maximum storable feature class ID for the given format number.

Specified by:
getMaxStorableClassID in interface INetworkWorkspace2
Parameters:
formatNum - The formatNum (in)
Returns:
The maxClassID
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

createNetworkEx

public INetwork createNetworkEx(java.lang.String networkName,
                                int networkType,
                                boolean buildNormalizedTables,
                                java.lang.String configKeyword,
                                int formatNum)
                         throws java.io.IOException,
                                AutomationException
Creates a logical network based on the specified configuration keyword.

Specified by:
createNetworkEx in interface INetworkWorkspace2
Parameters:
networkName - The networkName (in)
networkType - A com.esri.arcgis.geodatabase.esriNetworkType constant (in)
buildNormalizedTables - The buildNormalizedTables (in)
configKeyword - The configKeyword (in)
formatNum - The formatNum (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.INetwork
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

openTopology

public ITopology openTopology(java.lang.String name)
                       throws java.io.IOException,
                              AutomationException
Opens and returns the topology with the specified name.

Specified by:
openTopology in interface ITopologyWorkspace
Parameters:
name - The name (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.ITopology
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.

interfaceSupportsErrorInfo

public void interfaceSupportsErrorInfo(GUID riid)
                                throws java.io.IOException,
                                       AutomationException
interfaceSupportsErrorInfo

Specified by:
interfaceSupportsErrorInfo in interface ISupportErrorInfo
Parameters:
riid - A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)
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.

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.

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.

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.

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.

createRasterDataset

public IRasterDataset createRasterDataset(java.lang.String name,
                                          int numBands,
                                          int pixelType,
                                          IRasterStorageDef storageDef,
                                          java.lang.String configKeyword,
                                          IRasterDef rasterDef,
                                          IGeometryDef geometryDef)
                                   throws java.io.IOException,
                                          AutomationException
Creates a new raster dataset.

Specified by:
createRasterDataset in interface IRasterWorkspaceEx
Parameters:
name - The name (in)
numBands - The numBands (in)
pixelType - A com.esri.arcgis.geodatabase.rstPixelType constant (in)
storageDef - A reference to a com.esri.arcgis.geodatabase.IRasterStorageDef (in)
configKeyword - The configKeyword (in)
rasterDef - A reference to a com.esri.arcgis.geodatabase.IRasterDef (in)
geometryDef - A reference to a com.esri.arcgis.geodatabase.IGeometryDef (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IRasterDataset
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

saveAsRasterDataset

public IRasterDataset saveAsRasterDataset(java.lang.String name,
                                          IRaster raster,
                                          IRasterStorageDef storageDef,
                                          java.lang.String configKeyword,
                                          IRasterDef rasterDef,
                                          IGeometryDef geometryDef)
                                   throws java.io.IOException,
                                          AutomationException
Creates a new raster dataset from another seed Raster.

Specified by:
saveAsRasterDataset in interface IRasterWorkspaceEx
Parameters:
name - The name (in)
raster - A reference to a com.esri.arcgis.geodatabase.IRaster (in)
storageDef - A reference to a com.esri.arcgis.geodatabase.IRasterStorageDef (in)
configKeyword - The configKeyword (in)
rasterDef - A reference to a com.esri.arcgis.geodatabase.IRasterDef (in)
geometryDef - A reference to a com.esri.arcgis.geodatabase.IGeometryDef (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IRasterDataset
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

openRasterDataset

public IRasterDataset openRasterDataset(java.lang.String name)
                                 throws java.io.IOException,
                                        AutomationException
Opens an existing raster dataset.

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

deleteRasterDataset

public void deleteRasterDataset(java.lang.String name)
                         throws java.io.IOException,
                                AutomationException
Deletes a raster dataset.

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

registerAsRasterDataset

public void registerAsRasterDataset(java.lang.String name,
                                    IGeometryDef geometryDef)
                             throws java.io.IOException,
                                    AutomationException
Registers as a RasterDataset.

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

createRasterCatalog

public IRasterCatalog createRasterCatalog(java.lang.String name,
                                          IFields fields,
                                          java.lang.String shapeFieldName,
                                          java.lang.String rasterFieldName,
                                          java.lang.String configKeyword)
                                   throws java.io.IOException,
                                          AutomationException
Creates a new raster catalog.

Specified by:
createRasterCatalog in interface IRasterWorkspaceEx
Parameters:
name - The name (in)
fields - A reference to a com.esri.arcgis.geodatabase.IFields (in)
shapeFieldName - The shapeFieldName (in)
rasterFieldName - The rasterFieldName (in)
configKeyword - The configKeyword (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IRasterCatalog
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

openRasterCatalog

public IRasterCatalog openRasterCatalog(java.lang.String name)
                                 throws java.io.IOException,
                                        AutomationException
Opens an existing raster catalog.

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

deleteRasterCatalog

public void deleteRasterCatalog(java.lang.String name)
                         throws java.io.IOException,
                                AutomationException
Deletes a raster catalog.

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

registerAsRasterCatalog

public void registerAsRasterCatalog(java.lang.String name,
                                    java.lang.String oIDFieldName,
                                    IGeometryDef geometryDef)
                             throws java.io.IOException,
                                    AutomationException
Registers as a RasterCatalog.

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