|
|||||||||
| 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.AbstractCompoundCondition
org.springmodules.validation.util.condition.common.AndCondition
public class AndCondition
A compound condition that represent a logical and of all its associated conditions.
| Constructor Summary | |
|---|---|
AndCondition(java.util.Collection conditions)
Constructs a new AndCondition with the given condition collection. |
|
AndCondition(Condition[] conditions)
Constructs a new AndCondition with the given condition array. |
|
| Method Summary | |
|---|---|
boolean |
doCheck(java.lang.Object object)
Checks whether all the associated conditions of this condition return true. |
| Methods inherited from class org.springmodules.validation.util.condition.common.AbstractCompoundCondition |
|---|
getConditions |
| 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 AndCondition(Condition[] conditions)
conditions - The conditions this condition is compound from.public AndCondition(java.util.Collection conditions)
conditions - The conditions this condition is compound from.| Method Detail |
|---|
public boolean doCheck(java.lang.Object object)
true.
doCheck in class AbstractConditionobject - The object to be checked.
true if all the associated conditions return true, false otherwise.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||