de.schwarzrot.bean.support
Class AndPropertyCondition<B>
java.lang.Object
de.schwarzrot.bean.support.AbstractPropertyCondition<B>
de.schwarzrot.bean.support.AndPropertyCondition<B>
- Type Parameters:
B
- - the bean to check
- All Implemented Interfaces:
- PropertyCondition<B>
public class AndPropertyCondition<B>
- extends AbstractPropertyCondition<B>
a condition implementation that determines its result by other
PropertyCondition
s. This condition forces all given condition
elements to match. If any of them fails, the result of this condition
implementation will fail too.
- Author:
- Reinhard Mantey
Method Summary |
boolean |
matches()
returns whether the current condition matches. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AndPropertyCondition
public AndPropertyCondition(List<PropertyCondition<B>> conditions)
AndPropertyCondition
public AndPropertyCondition(PropertyCondition<B>[] conditions)
matches
public boolean matches()
- Description copied from interface:
PropertyCondition
- returns whether the current condition matches.
- Specified by:
matches
in interface PropertyCondition<B>
- Specified by:
matches
in class AbstractPropertyCondition<B>
- Returns:
- - true, if the implemented condition is met, otherwise false
Submit
a bug or request a feature
SRJRCFrames is published according to the
GNU General Public License
Copyright 2005-2012
Reinhard Mantey - some rights reserved.