|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ICriterionMapping
basic map for mapping criteria to the validation rules list that are to be applied to them
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. |
ICriterion[] |
getRulesForCriterion(ICriterion criterion)
Retrieve a list of Rules for a given criterion |
void |
setAllRules(Map<ICriterion,List<IRule>> criteriaToRulesMap)
Sets the complete map of Rules. |
Method Detail |
---|
Map<ICriterion,List<IRule>> getAllRules()
void setAllRules(Map<ICriterion,List<IRule>> criteriaToRulesMap)
criteriaToRulesMap
- criteria to rules MapICriterion[] getRulesForCriterion(ICriterion criterion)
criterion
- a key in criteriaRules Map
ICriterion[] getCriteria()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |