|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IValidation
Provides access to members that manage rules and validate them.
| Method Summary | |
|---|---|
void |
addRule(IRule rule)
Adds the rule to the set of associated rules. |
void |
deleteRule(IRule rule)
Deletes the rule from the set of associated rules. |
IEnumRule |
getRules()
The rules associated with the class. |
IEnumRule |
getRulesByField(String fieldName)
The rules associated with the attribute. |
IEnumRule |
getRulesBySubtypeCode(int subtypeCode)
The rules associated with the subtype. |
ISelectionSet |
validate(IQueryFilter selection,
IWorkspace workspace)
Validates the selection. |
ISelectionSet |
validateSelection(ISelectionSet selection,
IWorkspace workspace)
Validates the selection. |
ISet |
validateSet(ISet selection)
Validates the set. |
| Method Detail |
|---|
IEnumRule getRules()
throws IOException,
AutomationException
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
IEnumRule getRulesByField(String fieldName)
throws IOException,
AutomationException
fieldName - The fieldName (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
IEnumRule getRulesBySubtypeCode(int subtypeCode)
throws IOException,
AutomationException
subtypeCode - The subtypeCode (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void addRule(IRule rule)
throws IOException,
AutomationException
rule - A reference to a com.esri.arcgis.geodatabase.IRule (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void deleteRule(IRule rule)
throws IOException,
AutomationException
rule - A reference to a com.esri.arcgis.geodatabase.IRule (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
ISelectionSet validate(IQueryFilter selection,
IWorkspace workspace)
throws IOException,
AutomationException
Validate on a row occurs in five steps:
The validate process stops once a row is found invalid. For example, if a network feature violates an attribute rule, the validation process stops and the feature's network connectivity rules are not evaluated until the attribute rule violation is corrected.
selection - A reference to a com.esri.arcgis.geodatabase.IQueryFilter (in)workspace - A reference to a com.esri.arcgis.geodatabase.IWorkspace (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
ISelectionSet validateSelection(ISelectionSet selection,
IWorkspace workspace)
throws IOException,
AutomationException
selection - A reference to a com.esri.arcgis.geodatabase.ISelectionSet (in)workspace - A reference to a com.esri.arcgis.geodatabase.IWorkspace (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
ISet validateSet(ISet selection)
throws IOException,
AutomationException
selection - A reference to a com.esri.arcgis.system.ISet (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||