com.esri.arcgis.geodatabase
Class IValidation2Proxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.geodatabase.IValidationProxy
          extended by com.esri.arcgis.geodatabase.IValidation2Proxy
All Implemented Interfaces:
IValidation, IValidation2, Externalizable, Serializable

public class IValidation2Proxy
extends IValidationProxy
implements IValidation2, 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.

See Also:
Serialized Form

Field Summary
 boolean noncastable
           
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef
 
Constructor Summary
  IValidation2Proxy()
           
  IValidation2Proxy(Object obj)
           
protected IValidation2Proxy(Object obj, String iid)
           
 
Method Summary
 void addListener(String iidStr, Object theListener, Object theSource)
           
 void alterRule(IRule rule)
          Alter the existing validation rule.
 void removeListener(String iidStr, Object theListener)
           
 
Methods inherited from class com.esri.arcgis.geodatabase.IValidationProxy
addRule, deleteRule, getRules, getRulesByField, getRulesBySubtypeCode, validate, validateSelection, validateSet
 
Methods inherited from class com.esri.arcgis.interop.Dispatch
bindUsingMoniker, constructVtblPosTable, convertToNative, cookieForListener, createDispatch, createObjrefMonikerDisplayName, equals, getActiveObject, getActiveObject, getDefaultProperty, getDispatchIdOfName, getLastErrorCode, getMtsObjectContext, getObjRef, getPropertyByName, getPropertyByName, getVtblPos, hashCode, initDispatch, invoke, invokeMethodByName, invokeMethodByName, invokeMethodByName, invokePropertyGetByName, invokePropertyPutByName, invokePropertyPutByRefByName, isNativeMode, isObjRef, optimizedVtblInvoke, queryInterface, readExternal, release, setNativeMode, setPropertyByName, toString, vtblInvoke, writeExternal
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.esri.arcgis.geodatabase.IValidation
addRule, deleteRule, getRules, getRulesByField, getRulesBySubtypeCode, validate, validateSelection, validateSet
 

Field Detail

noncastable

public boolean noncastable
Constructor Detail

IValidation2Proxy

public IValidation2Proxy()

IValidation2Proxy

public IValidation2Proxy(Object obj)
                  throws IOException
Throws:
IOException

IValidation2Proxy

protected IValidation2Proxy(Object obj,
                            String iid)
                     throws IOException
Throws:
IOException
Method Detail

addListener

public void addListener(String iidStr,
                        Object theListener,
                        Object theSource)
                 throws IOException
Overrides:
addListener in class IValidationProxy
Throws:
IOException

removeListener

public void removeListener(String iidStr,
                           Object theListener)
                    throws IOException
Overrides:
removeListener in class IValidationProxy
Throws:
IOException

alterRule

public 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

Specified by:
alterRule in interface IValidation2
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.