public interface Proposition
Engine
.PropositionResult
Modifier and Type | Method and Description |
---|---|
PropositionResult |
evaluate(ExecutionEnvironment environment)
Evaluates this proposition -- and in the case of
Proposition s containing children,
those children as well -- and returns the boolean result; |
List<Proposition> |
getChildren()
Returns the
List of child Proposition s that belong to this object. |
boolean |
isCompound()
Indicates whether this
Proposition can have children. |
PropositionResult evaluate(ExecutionEnvironment environment)
Proposition
s containing children,
those children as well -- and returns the boolean result;environment
- the ExecutionEnvironment
that this Proposition
is running inList<Proposition> getChildren()
List
of child Proposition
s that belong to this object.
If there are no children (e.g. for simple Proposition
types), this must
return an empty List
.List
containing any child Proposition
s that belong to this object. Must never return null.boolean isCompound()
Proposition
can have children.Proposition
can contain child Proposition
s.Copyright © 2005–2014 The Kuali Foundation. All rights reserved.