public class AttributeValidationRuleCollection extends AttributeRuleCollection<AttributeValidationIF>
globalRulesrules| Constructor and Description |
|---|
AttributeValidationRuleCollection() |
| Modifier and Type | Method and Description |
|---|---|
void |
addRule(RuleIF r)
Attempts to add a single rule instance to the collection.
|
void |
execute(DmcObject obj,
DmcAttribute<?> attribute) |
addThisRule, getRules, toStringaddRulespublic void addRule(RuleIF r)
RuleCollectionaddRule in class RuleCollection<AttributeValidationIF>r - the rule to be added.public void execute(DmcObject obj, DmcAttribute<?> attribute) throws DmcRuleExceptionSet
obj - The object in which the attribute existsattribute - The attribute to be validatedDmcRuleExceptionSetCopyright © 2023. All rights reserved.