|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.springmodules.validation.util.condition.AbstractCondition
org.springmodules.validation.util.condition.common.NotCondition
public class NotCondition
A condition that represents a logical NOT of another condition.
| Constructor Summary | |
|---|---|
NotCondition(Condition condition)
Constructs a new NotCondition with the condition to reverse. |
|
| Method Summary | |
|---|---|
boolean |
doCheck(java.lang.Object object)
Checks and reverses the associated condition on the given object. |
Condition |
getCondition()
Returns the reverse condition associated with this condition. |
| Methods inherited from class org.springmodules.validation.util.condition.AbstractCondition |
|---|
afterObjectChecked, and, beforeObjectChecked, check, or |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NotCondition(Condition condition)
condition - The condition to reverse.| Method Detail |
|---|
public boolean doCheck(java.lang.Object object)
doCheck in class AbstractConditionobject - The object to be checked.
true if the associated condition returns false, false otherwise.public Condition getCondition()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||