org.drools.rule
Class OrCompositeRestriction

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

public class OrCompositeRestriction
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
OrCompositeRestriction(Restriction[] restriction)
           
 
Method Summary
 java.lang.Object clone()
           
 boolean isAllowed(Extractor extractor, java.lang.Object object, InternalWorkingMemory workingMemory, ContextEntry context)
           
 boolean isAllowedCachedLeft(ContextEntry context, java.lang.Object object)
           
 boolean isAllowedCachedRight(ReteTuple tuple, ContextEntry context)
           
 
Methods inherited from class org.drools.rule.AbstractCompositeRestriction
createContextEntry, equals, getRequiredDeclarations, hashCode, replaceDeclaration
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OrCompositeRestriction

public OrCompositeRestriction(Restriction[] restriction)
Method Detail

isAllowed

public boolean isAllowed(Extractor extractor,
                         java.lang.Object object,
                         InternalWorkingMemory workingMemory,
                         ContextEntry context)

isAllowedCachedLeft

public boolean isAllowedCachedLeft(ContextEntry context,
                                   java.lang.Object object)

isAllowedCachedRight

public boolean isAllowedCachedRight(ReteTuple tuple,
                                    ContextEntry context)

clone

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