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

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


org.drools.base.evaluators
Class BaseNotMemberOfEvaluator

java.lang.Object
  extended by org.drools.base.BaseEvaluator
      extended by org.drools.base.evaluators.BaseNotMemberOfEvaluator
All Implemented Interfaces:
Serializable, Evaluator

public abstract class BaseNotMemberOfEvaluator
extends BaseEvaluator

This is a base class for Not MemberOf Evaluators

Author:
etirelli
See Also:
Serialized Form

Constructor Summary
BaseNotMemberOfEvaluator(ValueType type, Operator operator)
           
 
Method Summary
 boolean evaluate(Extractor extractor1, Object object1, Extractor extractor2, Object object2)
           
 boolean evaluate(Extractor extractor, Object object1, FieldValue object2)
          This method will extract the value from the object1 using the extractor and compare it with the object2.
 boolean evaluateCachedLeft(VariableRestriction.VariableContextEntry context, Object right)
           
 boolean evaluateCachedRight(VariableRestriction.VariableContextEntry context, Object left)
           
abstract  String toString()
           
 
Methods inherited from class org.drools.base.BaseEvaluator
equals, getOperator, getValueType, hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BaseNotMemberOfEvaluator

public BaseNotMemberOfEvaluator(ValueType type,
                                Operator operator)
Method Detail

evaluate

public boolean evaluate(Extractor extractor,
                        Object object1,
                        FieldValue object2)
Description copied from interface: Evaluator
This method will extract the value from the object1 using the extractor and compare it with the object2.

Parameters:
extractor - The extractor used to get the source value from the object
object1 - The source object to evaluate
Returns:
Returns true if evaluation is successfull. false otherwise.

evaluateCachedRight

public boolean evaluateCachedRight(VariableRestriction.VariableContextEntry context,
                                   Object left)

evaluateCachedLeft

public boolean evaluateCachedLeft(VariableRestriction.VariableContextEntry context,
                                  Object right)

evaluate

public boolean evaluate(Extractor extractor1,
                        Object object1,
                        Extractor extractor2,
                        Object object2)

toString

public abstract String toString()
Overrides:
toString in class Object


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