站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss RULES 4.0.0.11754MR2 API 英文版文档

Forall (Drools 4.0.0.11754MR2 API) - JBoss RULES 4.0.0.11754MR2 API 英文版文档


org.drools.rule
Class Forall

java.lang.Object
  extended by org.drools.rule.ConditionalElement
      extended by org.drools.rule.Forall
All Implemented Interfaces:
Serializable, Cloneable, RuleConditionElement, RuleComponent

public class Forall
extends ConditionalElement

The forall conditional element.

Author:
etirelli
See Also:
Serialized Form

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

Forall

public Forall()

Forall

public Forall(Pattern basePattern)

Forall

public Forall(Pattern basePattern,
              List remainingPatterns)
Method Detail

clone

public Object clone()
Description copied from interface: RuleConditionElement
Returns a clone from itself

Specified by:
clone in interface RuleConditionElement
Specified by:
clone in class ConditionalElement
Returns:

getInnerDeclarations

public Map getInnerDeclarations()
Forall inner declarations are only provided by the base patterns since it negates the remaining patterns

Returns:

getOuterDeclarations

public Map getOuterDeclarations()
Forall does not export any declarations

Returns:

resolveDeclaration

public Declaration resolveDeclaration(String identifier)
Forall can only resolve declarations from its base pattern

Returns:

getBasePattern

public Pattern getBasePattern()
Returns:
the basePattern

setBasePattern

public void setBasePattern(Pattern basePattern)
Parameters:
basePattern - the basePattern to set

getRemainingPatterns

public List getRemainingPatterns()
Returns:
the remainingPatterns

setRemainingPatterns

public void setRemainingPatterns(List remainingPatterns)
Parameters:
remainingPatterns - the remainingPatterns to set

addRemainingPattern

public void addRemainingPattern(Pattern pattern)
Adds one more pattern to the list of remaining patterns

Parameters:
pattern -


Copyright © 2001-2007 JBoss Inc.. All Rights Reserved.