public class RuleProcedureSet extends RuleProcedure
Every set procedure can also be used to define a rule: the set is evaluated for the model element to check, and any elements it contains are reported as violation.
| Constructor and Description |
|---|
RuleProcedureSet() |
| Modifier and Type | Method and Description |
|---|---|
void |
checkRule(ModelElement element,
Rule rule)
Checks the rule for a model element.
|
getMinExpressionValue, getRuleEngine, getRuleValue, getValuesCache, reportViolationevalBooleanExpression, evalElementSetExpression, evalExpression, evalSetExpression, getFilterAttributeProcessor, getMetaModel, getMetricsEngine, getModel, getRelationOrSet, isCompatiblepublic void checkRule(ModelElement element, Rule rule) throws SDMetricsException
RuleProcedurecheckRule in class RuleProcedureelement - The element to check.rule - The rule to check.SDMetricsException - Problem while checking the rule