com.esri.arcgis.geodatabase
Interface IValidation2

All Superinterfaces:
IValidation, java.io.Serializable
All Known Implementing Classes:
FeatureClass, IValidation2Proxy, ObjectClass, ObjectClassValidator, SchematicDiagramClass, SchematicElementClass

public interface IValidation2
extends IValidation, java.io.Serializable

Provides access to members that manage rules and validate them.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Description

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


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

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

Supported Platforms

Windows, Solaris, Linux

Remarks

The AlterRule method is used to change the characteristics of an existing rule.  This is currently only implemented to change connectivity rules.

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