|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.hibernate.validator.PastValidator
public class PastValidator
Check that a given date is in the past, and apply the same restriction at the DB level
| Constructor Summary | |
|---|---|
PastValidator()
|
|
| Method Summary | |
|---|---|
void |
apply(org.hibernate.mapping.Property property)
|
void |
initialize(Past 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 PastValidator()
| Method Detail |
|---|
public void initialize(Past parameters)
Validator
initialize in interface Validator<Past>public boolean isValid(java.lang.Object value)
Validator
isValid in interface Validator<Past>public void apply(org.hibernate.mapping.Property property)
apply in interface PropertyConstraint
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||