org.jcon.data
Class AndCondition
java.lang.Object
org.jcon.data.AndCondition
- All Implemented Interfaces:
- java.io.Serializable, UnaryPredicate
public class AndCondition
- extends java.lang.Object
- implements UnaryPredicate, java.io.Serializable
A boolean AND predicate - it takes a list of ANDed subConditions. Uses
short-circuit logic (returns true on the first true it finds).
Copyright 1997-2009 Partner Software, Inc.
- Version:
- $Id$
- Author:
- Paul Reavis
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AndCondition
public AndCondition()
execute
public boolean execute(java.lang.Object victim)
- Specified by:
execute in interface UnaryPredicate
getSubConditions
public java.util.ArrayList getSubConditions()
setSubConditions
public void setSubConditions(java.util.ArrayList newConditions)