|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Rule
An interface that describes a validation rule.
| Method Summary | |
|---|---|
boolean |
check(String field,
Action action)
Check and validate the given field from the give action. |
Map<String,String> |
getTokens()
Returns a map with tokens that can be used in the error messages. |
| Method Detail |
|---|
Map<String,String> getTokens()
boolean check(String field,
Action action)
field - The field to validate.action - The action from where to get the field.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||