com.esri.arcgis.geodatabase
Interface IWorkspaceDefinition

All Superinterfaces:
Serializable
All Known Subinterfaces:
IWorkspaceDefinition2
All Known Implementing Classes:
WorkspaceDefinition

public interface IWorkspaceDefinition
extends Serializable

Provides access to members that describe the definition of a workspace.

Superseded By

IWorkspaceDefinition2

Product Availability

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


Method Summary
 IArray getChildren()
          The list of sub-elements.
 IArray getDomains()
          The list of Domains.
 String getVersion()
          The workspace version.
 int getWorkspaceType()
          The workspace type.
 void setChildrenByRef(IArray dataElements)
          The list of sub-elements.
 void setDomainsByRef(IArray domains)
          The list of Domains.
 void setVersion(String workspaceVersion)
          The workspace version.
 void setWorkspaceType(int workspaceType)
          The workspace type.
 

Method Detail

getWorkspaceType

int getWorkspaceType()
                     throws IOException,
                            AutomationException
The workspace type.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Returns:
A com.esri.arcgis.geodatabase.esriWorkspaceType constant
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setWorkspaceType

void setWorkspaceType(int workspaceType)
                      throws IOException,
                             AutomationException
The workspace type.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Parameters:
workspaceType - A com.esri.arcgis.geodatabase.esriWorkspaceType constant (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getVersion

String getVersion()
                  throws IOException,
                         AutomationException
The workspace version.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Returns:
The workspaceVersion
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setVersion

void setVersion(String workspaceVersion)
                throws IOException,
                       AutomationException
The workspace version.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Parameters:
workspaceVersion - The workspaceVersion (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDomains

IArray getDomains()
                  throws IOException,
                         AutomationException
The list of Domains.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Returns:
A reference to a com.esri.arcgis.system.IArray
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setDomainsByRef

void setDomainsByRef(IArray domains)
                     throws IOException,
                            AutomationException
The list of Domains.

Product Availability

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

Parameters:
domains - A reference to a com.esri.arcgis.system.IArray (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getChildren

IArray getChildren()
                   throws IOException,
                          AutomationException
The list of sub-elements.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Returns:
A reference to a com.esri.arcgis.system.IArray
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setChildrenByRef

void setChildrenByRef(IArray dataElements)
                      throws IOException,
                             AutomationException
The list of sub-elements.

Product Availability

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

Parameters:
dataElements - A reference to a com.esri.arcgis.system.IArray (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.