jodd.vtor.constraint
Class AssertFalseConstraint

java.lang.Object
  extended by jodd.vtor.constraint.AssertFalseConstraint
All Implemented Interfaces:
ValidationConstraint<AssertFalse>

public class AssertFalseConstraint
extends java.lang.Object
implements ValidationConstraint<AssertFalse>


Constructor Summary
AssertFalseConstraint()
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AssertFalseConstraint

public AssertFalseConstraint()
Method Detail

configure

public void configure(AssertFalse annotation)
Description copied from interface: ValidationConstraint
Configures constraint from associated annotation.

Specified by:
configure in interface ValidationConstraint<AssertFalse>

isValid

public boolean isValid(ValidationConstraintContext vcc,
                       java.lang.Object value)
Description copied from interface: ValidationConstraint
Performs validation in context of target object on provided value.

Specified by:
isValid in interface ValidationConstraint<AssertFalse>
Returns:
true if validation passes, otherwise false.

validate

public static boolean validate(java.lang.Object value)


Copyright © 2003-2011 Jodd Team