org.drools.rule
Class AndCompositeRestriction

java.lang.Object
  extended by org.drools.rule.AbstractCompositeRestriction
      extended by org.drools.rule.AndCompositeRestriction
All Implemented Interfaces:
Externalizable, Serializable, Cloneable, 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
restrictions
 
Constructor Summary
AndCompositeRestriction()
           
AndCompositeRestriction(Restriction[] restriction)
           
 
Method Summary
 Object clone()
           
 Evaluator getEvaluator()
           
 boolean isAllowed(InternalReadAccessor extractor, InternalFactHandle handle, InternalWorkingMemory workingMemory, ContextEntry context)
           
 boolean isAllowedCachedLeft(ContextEntry context, InternalFactHandle handle)
           
 boolean isAllowedCachedRight(LeftTuple tuple, ContextEntry context)
           
 
Methods inherited from class org.drools.rule.AbstractCompositeRestriction
createContextEntry, equals, getRequiredDeclarations, hashCode, isTemporal, readExternal, replaceDeclaration, writeExternal
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AndCompositeRestriction

public AndCompositeRestriction()

AndCompositeRestriction

public AndCompositeRestriction(Restriction[] restriction)
Method Detail

isAllowed

public boolean isAllowed(InternalReadAccessor extractor,
                         InternalFactHandle handle,
                         InternalWorkingMemory workingMemory,
                         ContextEntry context)

isAllowedCachedLeft

public boolean isAllowedCachedLeft(ContextEntry context,
                                   InternalFactHandle handle)

isAllowedCachedRight

public boolean isAllowedCachedRight(LeftTuple tuple,
                                    ContextEntry context)

clone

public Object clone()
Specified by:
clone in interface Restriction
Specified by:
clone in class AbstractCompositeRestriction

getEvaluator

public Evaluator getEvaluator()


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