|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kuali.rice.krms.framework.engine.CompoundProposition
public final class CompoundProposition
An implementation of Proposition which holds other Propositions and a LogicalOperator.
| Constructor Summary | |
|---|---|
CompoundProposition(LogicalOperator logicalOperator,
List<Proposition> propositions)
Create a CompoundProposition with the given values |
|
| Method Summary | |
|---|---|
PropositionResult |
evaluate(ExecutionEnvironment environment)
This method evaluates this proposition -- and in the case of Propositions containing children,
those children as well -- and returns the boolean result; |
List<Proposition> |
getChildren()
This method returns the List of child Propositions that belong to this object. |
boolean |
isCompound()
Indicates whether this Proposition can have children. |
void |
logPropositionResult(Proposition proposition,
PropositionResult propositionResult,
ExecutionEnvironment environment)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CompoundProposition(LogicalOperator logicalOperator,
List<Proposition> propositions)
logicalOperator - propositions - | Method Detail |
|---|
public 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 in
public void logPropositionResult(Proposition proposition,
PropositionResult propositionResult,
ExecutionEnvironment environment)
public 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.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||