|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.drools.rule.ConditionalElement org.drools.rule.Forall
public class Forall
The forall conditional element.
Constructor Summary | |
---|---|
Forall()
|
|
Forall(Pattern basePattern)
|
|
Forall(Pattern basePattern,
List remainingPatterns)
|
Method Summary | |
---|---|
void |
addRemainingPattern(Pattern pattern)
Adds one more pattern to the list of remaining patterns |
Object |
clone()
Returns a clone from itself |
Pattern |
getBasePattern()
|
Map |
getInnerDeclarations()
Forall inner declarations are only provided by the base patterns since it negates the remaining patterns |
Map |
getOuterDeclarations()
Forall does not export any declarations |
List |
getRemainingPatterns()
|
Declaration |
resolveDeclaration(String identifier)
Forall can only resolve declarations from its base pattern |
void |
setBasePattern(Pattern basePattern)
|
void |
setRemainingPatterns(List remainingPatterns)
|
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Forall()
public Forall(Pattern basePattern)
public Forall(Pattern basePattern, List remainingPatterns)
Method Detail |
---|
public Object clone()
RuleConditionElement
clone
in interface RuleConditionElement
clone
in class ConditionalElement
public Map getInnerDeclarations()
public Map getOuterDeclarations()
public Declaration resolveDeclaration(String identifier)
public Pattern getBasePattern()
public void setBasePattern(Pattern basePattern)
basePattern
- the basePattern to setpublic List getRemainingPatterns()
public void setRemainingPatterns(List remainingPatterns)
remainingPatterns
- the remainingPatterns to setpublic void addRemainingPattern(Pattern pattern)
pattern
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |