public class AssertFalseConstraint extends java.lang.Object implements ValidationConstraint<AssertFalse>
Constructor and Description |
---|
AssertFalseConstraint() |
Modifier and Type | Method and Description |
---|---|
void |
configure(AssertFalse 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) |
public void configure(AssertFalse annotation)
ValidationConstraint
configure
in interface ValidationConstraint<AssertFalse>
public boolean isValid(ValidationConstraintContext vcc, java.lang.Object value)
ValidationConstraint
isValid
in interface ValidationConstraint<AssertFalse>
true
if validation passes, otherwise false
.public static boolean validate(java.lang.Object value)
Copyright © 2003-present Jodd Team