com.esri.arcgis.geodatabase
Interface IValidation2

All Superinterfaces:
IValidation, Serializable
All Known Implementing Classes:
FeatureClass, IValidation2Proxy, ObjectClass, ObjectClassValidator, SchematicDiagramClass, SchematicElementClass, TemporalRecordSet

public interface IValidation2
extends IValidation, Serializable

Provides access to members that manage rules and validate them.

Description

The IValidation2 interface is used when triggering the validation process on an ObjectClass.

Product Availability

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


Method Summary
 void alterRule(IRule rule)
          Alter the existing validation rule.
 
Methods inherited from interface com.esri.arcgis.geodatabase.IValidation
addRule, deleteRule, getRules, getRulesByField, getRulesBySubtypeCode, validate, validateSelection, validateSet
 

Method Detail

alterRule

void alterRule(IRule rule)
               throws IOException,
                      AutomationException
Alter the existing validation rule.

Remarks

The AlterRule method is used to change the characteristics of an existing rule. This is currently implemented to change a subset of properties for connectivity rules only. These properties are:

To alter other properties of a connectivity rule, the rule must be deleted and recreated with the appropriate changes.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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