|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.actf.validation.valdoc.rulebase.ValidationDocumentCriterionMapping
public class ValidationDocumentCriterionMapping
Constructor Summary | |
---|---|
ValidationDocumentCriterionMapping(Map<ICriterion,List<IRule>> criteriaRulesMap,
Set polyRuleTypes,
Set nonPolyRuleTypes)
|
Method Summary | |
---|---|
Map<ICriterion,List<IRule>> |
getAllRules()
Returns the complete criterion -> List |
ICriterion[] |
getCriteria()
Return all criteria's i.e. the keys in the criteria to rules map. |
Set |
getNonPolymorphicRuleTypes()
|
Set |
getPolymorphicRuleTypes()
|
ICriterion[] |
getRulesForCriterion(ICriterion criterion)
Retrieve a list of Rules for a given criterion |
void |
setAllRules(Map<ICriterion,List<IRule>> rules)
Sets the complete map of Rules. |
void |
setNonPolymorphicRuleTypes(Set ruleTypes)
|
void |
setPolymorphicRuleTypes(Set ruleTypes)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ValidationDocumentCriterionMapping(Map<ICriterion,List<IRule>> criteriaRulesMap, Set polyRuleTypes, Set nonPolyRuleTypes)
Method Detail |
---|
public Set getNonPolymorphicRuleTypes()
public Set getPolymorphicRuleTypes()
public void setNonPolymorphicRuleTypes(Set ruleTypes)
public void setPolymorphicRuleTypes(Set ruleTypes)
public Map<ICriterion,List<IRule>> getAllRules()
ICriterionMapping
getAllRules
in interface ICriterionMapping
public void setAllRules(Map<ICriterion,List<IRule>> rules)
ICriterionMapping
setAllRules
in interface ICriterionMapping
rules
- criteria to rules Mappublic ICriterion[] getCriteria()
ICriterionMapping
getCriteria
in interface ICriterionMapping
public ICriterion[] getRulesForCriterion(ICriterion criterion)
ICriterionMapping
getRulesForCriterion
in interface ICriterionMapping
criterion
- a key in criteriaRules Map
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |