com.esri.arcgis.geodatabase
Interface IGPDomain

All Superinterfaces:
Serializable
All Known Implementing Classes:
DataElementDomain, GPArcInfoItemDomain, GPCadAnnoDomain, GPCodedValueDomain, GPCompositeDomain, GPCovAnnoDomain, GPCoverageDomain, GPCoverageFeatureClassDomain, GPDatasetDomain, GPFeatureClassDomain, GPFieldDomain, GPFieldInfoDomain, GPFileDomain, GPGdbAnnoDomain, GPLayersAndTablesDomain, GPMeasureFieldsDomain, GPNumericDomain, GPQueryTableFieldsDomain, GPQueryTableIDsDomain, GPRAFieldDomain, GPRangeDomain, GPRepresentationLayerDomain, GPRouteDomain, GPRouteIDFieldsDomain, GPRouteMeasureEventDomain, GPSAGeoDataDomain, GPSANameDomain, GPSANeighborhoodDomain, GPSARemapDomain, GPSATextTableNameDomain, GPTablesDomain, GPVirtualTableDomain, GPWorkspaceDomain

public interface IGPDomain
extends Serializable

Provides access to members of a Geoprocessing Domain.

When To Use

The IGPDomain interface provides access to the GPDomain object which is used as a filter to determine, if a given value is a valid input to a given tool parameter. For example, the domain for a simple value object of type integer can limit the integer to a range of 1 to 100. Another example for simple values is a domain of type GPCodedValueDomain.

There is a different domain class for every type of validation. For example, in order for a tool input parameter to only accept shapefiles, a domain class must be written to only accept shapefiles.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux


Method Summary
 IGPMessage memberOf(IGPValue value)
          Indicates if the value object is a member of the geoprocessing domain type.
 

Method Detail

memberOf

IGPMessage memberOf(IGPValue value)
                    throws IOException,
                           AutomationException
Indicates if the value object is a member of the geoprocessing domain type.

Product Availability

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

Parameters:
value - A reference to a com.esri.arcgis.geodatabase.IGPValue (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IGPMessage
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.