|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjodd.vtor.constraint.NotBlankConstraint
public class NotBlankConstraint
| Constructor Summary | |
|---|---|
NotBlankConstraint()
|
|
| Method Summary | |
|---|---|
void |
configure(NotBlank annotation)
Configures constraint from associated annotation. |
boolean |
isValid(ValidationConstraintContext vcc,
java.lang.Object value)
Performs validation in context of target object on provided value. |
static boolean |
validate(java.lang.Object value)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NotBlankConstraint()
| Method Detail |
|---|
public void configure(NotBlank annotation)
ValidationConstraint
configure in interface ValidationConstraint<NotBlank>
public boolean isValid(ValidationConstraintContext vcc,
java.lang.Object value)
ValidationConstraint
isValid in interface ValidationConstraint<NotBlank>true if validation passes, otherwise false.public static boolean validate(java.lang.Object value)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||