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

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


org.drools.rule
Class AndCompositeRestriction

java.lang.Object
  extended by org.drools.rule.AbstractCompositeRestriction
      extended by org.drools.rule.AndCompositeRestriction
All Implemented Interfaces:
Serializable, Restriction

public class AndCompositeRestriction
extends AbstractCompositeRestriction

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.drools.rule.AbstractCompositeRestriction
AbstractCompositeRestriction.CompositeContextEntry
 
Field Summary
 
Fields inherited from class org.drools.rule.AbstractCompositeRestriction
contextEntry, restrictions
 
Constructor Summary
AndCompositeRestriction(Restriction[] restriction)
           
 
Method Summary
 ContextEntry getContextEntry()
           
 boolean isAllowed(Extractor extractor, Object object, InternalWorkingMemory workingMemory)
           
 boolean isAllowedCachedLeft(ContextEntry context, Object object)
           
 boolean isAllowedCachedRight(ReteTuple tuple, ContextEntry context)
           
 
Methods inherited from class org.drools.rule.AbstractCompositeRestriction
equals, getRequiredDeclarations, hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AndCompositeRestriction

public AndCompositeRestriction(Restriction[] restriction)
Method Detail

isAllowed

public boolean isAllowed(Extractor extractor,
                         Object object,
                         InternalWorkingMemory workingMemory)

isAllowedCachedLeft

public boolean isAllowedCachedLeft(ContextEntry context,
                                   Object object)

isAllowedCachedRight

public boolean isAllowedCachedRight(ReteTuple tuple,
                                    ContextEntry context)

getContextEntry

public ContextEntry getContextEntry()
Specified by:
getContextEntry in interface Restriction
Overrides:
getContextEntry in class AbstractCompositeRestriction


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