public class AttributeValidationWithResolverRuleCollection extends AttributeRuleCollection<AttributeValidationWithResolverIF>
globalRulesrules| Constructor and Description |
|---|
AttributeValidationWithResolverRuleCollection() |
| 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,
DmcUniqueNameResolverIF resolver) |
addThisRule, getRules, toStringaddRulespublic AttributeValidationWithResolverRuleCollection()
public void addRule(RuleIF r)
RuleCollectionaddRule in class RuleCollection<AttributeValidationWithResolverIF>r - the rule to be added.public void execute(DmcObject obj, DmcAttribute<?> attribute, DmcUniqueNameResolverIF resolver) throws DmcRuleExceptionSet
obj - The object in which the attribute existsattribute - The attribute to be validatedresolver - The name resolverDmcRuleExceptionSetCopyright © 2023. All rights reserved.