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

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


org.drools.rule
Class EvalCondition

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

public class EvalCondition
extends ConditionalElement

See Also:
Serialized Form

Constructor Summary
EvalCondition(Declaration[] requiredDeclarations)
           
EvalCondition(EvalExpression eval, Declaration[] requiredDeclarations)
           
 
Method Summary
 Object clone()
          Returns a clone from itself
 boolean equals(Object object)
           
 EvalExpression getEvalExpression()
           
 Map getInnerDeclarations()
          Returns a Map of declarations that are visible inside this conditional element
 Map getOuterDeclarations()
          Returns a Map of declarations that are visible outside this conditional element.
 Declaration[] getRequiredDeclarations()
           
 int hashCode()
           
 boolean isAllowed(Tuple tuple, WorkingMemory workingMemory)
           
 Declaration resolveDeclaration(String identifier)
          Resolves the given identifier in the current scope and returns the Declaration object for the declaration.
 void setEvalExpression(EvalExpression expression)
           
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EvalCondition

public EvalCondition(Declaration[] requiredDeclarations)

EvalCondition

public EvalCondition(EvalExpression eval,
                     Declaration[] requiredDeclarations)
Method Detail

getEvalExpression

public EvalExpression getEvalExpression()

setEvalExpression

public void setEvalExpression(EvalExpression expression)

getRequiredDeclarations

public Declaration[] getRequiredDeclarations()

isAllowed

public boolean isAllowed(Tuple tuple,
                         WorkingMemory workingMemory)

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:

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object object)
Overrides:
equals in class Object

getInnerDeclarations

public Map getInnerDeclarations()
Description copied from interface: RuleConditionElement
Returns a Map of declarations that are visible inside this conditional element

Returns:

getOuterDeclarations

public Map getOuterDeclarations()
Description copied from interface: RuleConditionElement
Returns a Map of declarations that are visible outside this conditional element.

Returns:

resolveDeclaration

public Declaration resolveDeclaration(String identifier)
Description copied from interface: RuleConditionElement
Resolves the given identifier in the current scope and returns the Declaration object for the declaration. Returns null if identifier can not be resolved.

Returns:


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