com.esri.arcgis.geodatabase
Interface IWorkspaceDomains

All Superinterfaces:
java.io.Serializable
All Known Subinterfaces:
IWorkspaceDomains2, IWorkspaceDomains3
All Known Implementing Classes:
IWorkspaceDomains2Proxy, IWorkspaceDomains3Proxy, IWorkspaceDomainsProxy, Sde4Workspace, VersionedWorkspace, Workspace

public interface IWorkspaceDomains
extends java.io.Serializable

COM Interface 'IWorkspaceDomains'. Generated 3/19/2015 1:20:54 PM from 'C:\ArcGIS\COM\esriGeoDatabase.olb'

Description: 'Provides access to members that return information about domains and allows you to add or delete domains.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =


Field Summary
static java.lang.String IID
          Deprecated. Internal use only
static int IIDd80957f0_8883_11d2_aabb_00c04fa37b82
           
static int xxDummy
          Deprecated. Internal use only
 
Method Summary
 int addDomain(IDomain domain)
          Adds the given domain to the workspace.
 void deleteDomain(java.lang.String domainName)
          Deletes the given domain from the workspace.
 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.
 boolean isCanDeleteDomain(java.lang.String domainName)
          Indicates if the user can delete the domain.
 

Field Detail

IIDd80957f0_8883_11d2_aabb_00c04fa37b82

static final int IIDd80957f0_8883_11d2_aabb_00c04fa37b82
See Also:
Constant Field Values

xxDummy

static final int xxDummy
Deprecated. Internal use only
See Also:
Constant Field Values

IID

static final java.lang.String IID
Deprecated. Internal use only
See Also:
Constant Field Values
Method Detail

addDomain

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

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

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

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

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

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

getDomains

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

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

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

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

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

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.