|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
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(java.lang.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 |
public IEnumRule getRules()
throws java.io.IOException,
AutomationException
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IEnumRule getRulesByField(java.lang.String fieldName)
throws java.io.IOException,
AutomationException
fieldName - The fieldName (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IEnumRule getRulesBySubtypeCode(int subtypeCode)
throws java.io.IOException,
AutomationException
subtypeCode - The subtypeCode (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void addRule(IRule rule)
throws java.io.IOException,
AutomationException
rule - A reference to a com.esri.arcgis.geodatabase.IRule (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void deleteRule(IRule rule)
throws java.io.IOException,
AutomationException
rule - A reference to a com.esri.arcgis.geodatabase.IRule (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public ISelectionSet validate(IQueryFilter selection,
IWorkspace workspace)
throws java.io.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)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public ISelectionSet validateSelection(ISelectionSet selection,
IWorkspace workspace)
throws java.io.IOException,
AutomationException
selection - A reference to a com.esri.arcgis.geodatabase.ISelectionSet (in)workspace - A reference to a com.esri.arcgis.geodatabase.IWorkspace (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public ISet validateSet(ISet selection)
throws java.io.IOException,
AutomationException
selection - A reference to a com.esri.arcgis.system.ISet (in)
java.io.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 | |||||||||