public class ExpressionBasedProposition extends Object implements Proposition
| Constructor and Description | 
|---|
| ExpressionBasedProposition(Expression<Boolean> expression)Create an ExpressionBasedProposition with the given value | 
| Modifier and Type | Method and Description | 
|---|---|
| PropositionResult | evaluate(ExecutionEnvironment environment)Evaluates this proposition -- and in the case of  Propositions containing children,
 those children as well -- and returns the boolean result; | 
| List<Proposition> | getChildren()Returns the  Listof childPropositions that belong to this object. | 
| boolean | isCompound()Indicates whether this  Propositioncan have children. | 
public ExpressionBasedProposition(Expression<Boolean> expression)
expression - Expression to set the expression topublic PropositionResult evaluate(ExecutionEnvironment environment)
PropositionPropositions containing children,
 those children as well -- and returns the boolean result;evaluate in interface Propositionenvironment - the ExecutionEnvironment that this Proposition is running inpublic List<Proposition> getChildren()
PropositionList of child Propositions that belong to this object.
 If there are no children (e.g. for simple Proposition types), this must
 return an empty List.getChildren in interface PropositionList containing any child Propositions that belong to this object.  Must never return null.public boolean isCompound()
PropositionProposition can have children.isCompound in interface PropositionProposition can contain child Propositions.Copyright © 2005–2014 The Kuali Foundation. All rights reserved.