public class TimeAfterConstraint extends java.lang.Object implements ValidationConstraint<TimeAfter>
| Constructor and Description |
|---|
TimeAfterConstraint() |
TimeAfterConstraint(JDateTime time) |
| Modifier and Type | Method and Description |
|---|---|
void |
configure(TimeAfter annotation)
Configures constraint from associated annotation.
|
JDateTime |
getTime() |
boolean |
isValid(ValidationConstraintContext vcc,
java.lang.Object value)
Performs validation in context of target object on provided value.
|
void |
setTime(JDateTime time) |
static boolean |
validate(java.lang.Object value,
JDateTime then) |
protected JDateTime time
public TimeAfterConstraint()
public TimeAfterConstraint(JDateTime time)
public JDateTime getTime()
public void setTime(JDateTime time)
public void configure(TimeAfter annotation)
ValidationConstraintconfigure in interface ValidationConstraint<TimeAfter>public boolean isValid(ValidationConstraintContext vcc, java.lang.Object value)
ValidationConstraintisValid in interface ValidationConstraint<TimeAfter>true if validation passes, otherwise false.public static boolean validate(java.lang.Object value,
JDateTime then)
Copyright © 2003-present Jodd Team