|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.hibernate.validator.FutureValidator
public class FutureValidator
Check that a given date is in the future, and apply the same restriction at the DB level
| Constructor Summary | |
|---|---|
FutureValidator()
|
|
| Method Summary | |
|---|---|
void |
initialize(Future parameters)
Take the annotations values |
boolean |
isValid(java.lang.Object value)
does the object/element pass the constraints |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FutureValidator()
| Method Detail |
|---|
public void initialize(Future parameters)
Validator
initialize in interface Validator<Future>public boolean isValid(java.lang.Object value)
Validator
isValid in interface Validator<Future>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||