org.apache.cayenne.annotations.validators
Class FutureCheck
java.lang.Object
net.sf.oval.AbstractAnnotationCheck<Future>
org.apache.cayenne.annotations.validators.FutureCheck
- All Implemented Interfaces:
- java.io.Serializable, net.sf.oval.AnnotationCheck<Future>, net.sf.oval.Check
public class FutureCheck
- extends net.sf.oval.AbstractAnnotationCheck<Future>
Check for the future annotation
- Author:
- Steve Wells
- See Also:
@org.apache.cayenne.annotations.validators.Future,
Serialized Form
| Fields inherited from class net.sf.oval.AbstractAnnotationCheck |
constraintAnnotation, message |
| Methods inherited from class net.sf.oval.AbstractAnnotationCheck |
getConstraintAnnotation, getMessage, getMessageValues, setMessage |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FutureCheck
public FutureCheck()
getDaysFromNow
public int getDaysFromNow()
- Returns:
setDaysFromNow
public void setDaysFromNow(int daysFromNow)
configure
public void configure(Future future)
- Specified by:
configure in interface net.sf.oval.AnnotationCheck<Future>- Overrides:
configure in class net.sf.oval.AbstractAnnotationCheck<Future>
isSatisfied
public boolean isSatisfied(java.lang.Object validatedObject,
java.lang.Object value,
net.sf.oval.contexts.OValContext context)
Copyright © 2007. All Rights Reserved.