|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface RulesSource
Rules sources provide a mechanism for accessing rules associated with a bean class and specific bean properties. A rules source is effectively a "Rules" data access object.
| Method Summary | |
|---|---|
PropertyConstraint |
getPropertyConstraint(Class beanClass,
String propertyName)
Return the validation rules for the provided bean property. |
PropertyConstraint |
getPropertyConstraint(Class beanClass,
String propertyName,
String contextId)
|
Rules |
getRules(Class bean)
Return the validation rules for the provided bean. |
Rules |
getRules(Class bean,
String contextId)
|
| Method Detail |
|---|
Rules getRules(Class bean)
bean - the bean class
null if none exist.
Rules getRules(Class bean,
String contextId)
PropertyConstraint getPropertyConstraint(Class beanClass,
String propertyName)
beanClass - the bean classpropertyName - the bean propertyName
null if none exist.
PropertyConstraint getPropertyConstraint(Class beanClass,
String propertyName,
String contextId)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||