org.drools.common
Class DoubleBetaConstraints

java.lang.Object
  extended by org.drools.common.MultipleBetaConstraint
      extended by org.drools.common.DoubleBetaConstraints
All Implemented Interfaces:
Externalizable, Serializable, BetaConstraints

public class DoubleBetaConstraints
extends MultipleBetaConstraint

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.drools.common.MultipleBetaConstraint
constraints, indexed
 
Constructor Summary
DoubleBetaConstraints()
           
DoubleBetaConstraints(BetaNodeFieldConstraint[] constraints, RuleBaseConfiguration conf)
           
DoubleBetaConstraints(BetaNodeFieldConstraint[] constraints, RuleBaseConfiguration conf, boolean disableIndexing)
           
 
Method Summary
 boolean equals(Object object)
          Determine if another object is equal to this.
 long getListenedPropertyMask(List<String> settableProperties)
           
 BetaConstraints getOriginalConstraint()
           
 int hashCode()
           
 boolean isAllowedCachedLeft(ContextEntry[] context, InternalFactHandle handle)
           
 boolean isAllowedCachedRight(ContextEntry[] context, LeftTuple tuple)
           
 void resetFactHandle(ContextEntry[] context)
           
 void resetTuple(ContextEntry[] context)
           
 void updateFromFactHandle(ContextEntry[] context, InternalWorkingMemory workingMemory, InternalFactHandle handle)
           
 void updateFromTuple(ContextEntry[] context, InternalWorkingMemory workingMemory, LeftTuple tuple)
           
 
Methods inherited from class org.drools.common.MultipleBetaConstraint
createBetaMemory, createContext, getConstraints, getIndexCount, init, initIndexes, isEmpty, isIndexed, readExternal, writeExternal
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DoubleBetaConstraints

public DoubleBetaConstraints()

DoubleBetaConstraints

public DoubleBetaConstraints(BetaNodeFieldConstraint[] constraints,
                             RuleBaseConfiguration conf)

DoubleBetaConstraints

public DoubleBetaConstraints(BetaNodeFieldConstraint[] constraints,
                             RuleBaseConfiguration conf,
                             boolean disableIndexing)
Method Detail

updateFromTuple

public void updateFromTuple(ContextEntry[] context,
                            InternalWorkingMemory workingMemory,
                            LeftTuple tuple)

updateFromFactHandle

public void updateFromFactHandle(ContextEntry[] context,
                                 InternalWorkingMemory workingMemory,
                                 InternalFactHandle handle)

resetTuple

public void resetTuple(ContextEntry[] context)

resetFactHandle

public void resetFactHandle(ContextEntry[] context)

isAllowedCachedLeft

public boolean isAllowedCachedLeft(ContextEntry[] context,
                                   InternalFactHandle handle)

isAllowedCachedRight

public boolean isAllowedCachedRight(ContextEntry[] context,
                                    LeftTuple tuple)

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object object)
Determine if another object is equal to this.

Overrides:
equals in class Object
Parameters:
object - The object to test.
Returns:
true if object is equal to this, otherwise false.

getOriginalConstraint

public BetaConstraints getOriginalConstraint()

getListenedPropertyMask

public long getListenedPropertyMask(List<String> settableProperties)


Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.