com.esri.arcgis.geoprocessing
Interface IGPCompositeDomain

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
GPCompositeDomain, IGPCompositeDomainProxy

public interface IGPCompositeDomain
extends java.io.Serializable

Provides access to the properties/methods of a geoprocessing composite domain object.

Product Availability

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

Supported Platforms

Windows


Method Summary
 void addDomain(IGPDomain pDomain)
          Adds a geoprocessing domain to the composite domain.
 int getCount()
          The number of geoprocessing domains in the composite domain.
 IGPDomain getDomain(int index)
          The geoprocessing domain at the specified index in the composite domain.
 void removeDomain(int index)
          Removes a geoprocessing domain from the composite domain.
 void replaceDomain(int index, IGPDomain pDomain)
          Replaces a geoprocessing domain at the specified index in the composite domain.
 

Method Detail

getCount

public int getCount()
             throws java.io.IOException,
                    AutomationException
The number of geoprocessing domains in the composite domain.

Supported Platforms

Windows

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

getDomain

public IGPDomain getDomain(int index)
                    throws java.io.IOException,
                           AutomationException
The geoprocessing domain at the specified index in the composite domain.

Supported Platforms

Windows

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

addDomain

public void addDomain(IGPDomain pDomain)
               throws java.io.IOException,
                      AutomationException
Adds a geoprocessing domain to the composite domain.

Supported Platforms

Windows

Parameters:
pDomain - A reference to a com.esri.arcgis.geodatabase.IGPDomain (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

removeDomain

public void removeDomain(int index)
                  throws java.io.IOException,
                         AutomationException
Removes a geoprocessing domain from the composite domain.

Supported Platforms

Windows

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

replaceDomain

public void replaceDomain(int index,
                          IGPDomain pDomain)
                   throws java.io.IOException,
                          AutomationException
Replaces a geoprocessing domain at the specified index in the composite domain.

Supported Platforms

Windows

Parameters:
index - The index (in)
pDomain - A reference to a com.esri.arcgis.geodatabase.IGPDomain (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.