org.drools.leaps
Class ColumnConstraints

java.lang.Object
  extended byorg.drools.leaps.ColumnConstraints
All Implemented Interfaces:
java.io.Serializable

public class ColumnConstraints
extends java.lang.Object
implements java.io.Serializable

Collection of Column specific constraints

See Also:
Serialized Form
 

Constructor Summary
ColumnConstraints(Column column, java.util.List alpha, BetaNodeBinder beta)
           
 
Method Summary
protected  java.lang.Class getClassType()
           
protected  boolean isAllowed(InternalFactHandle factHandle, Tuple tuple, WorkingMemory workingMemory)
           
 boolean isAllowedAlpha(InternalFactHandle factHandle, Tuple tuple, WorkingMemory workingMemory)
           
protected  boolean isAllowedBeta(InternalFactHandle factHandle, Tuple tuple, WorkingMemory workingMemory)
           
protected  boolean isAlphaPresent()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ColumnConstraints

public ColumnConstraints(Column column,
                         java.util.List alpha,
                         BetaNodeBinder beta)
Method Detail

getClassType

protected final java.lang.Class getClassType()

isAllowed

protected final boolean isAllowed(InternalFactHandle factHandle,
                                  Tuple tuple,
                                  WorkingMemory workingMemory)

isAllowedAlpha

public final boolean isAllowedAlpha(InternalFactHandle factHandle,
                                    Tuple tuple,
                                    WorkingMemory workingMemory)

isAllowedBeta

protected final boolean isAllowedBeta(InternalFactHandle factHandle,
                                      Tuple tuple,
                                      WorkingMemory workingMemory)

isAlphaPresent

protected final boolean isAlphaPresent()