Drools :: Core 6.1.0.Beta1

org.drools.core.common
Class TripleBetaConstraints

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

public class TripleBetaConstraints
extends MultipleBetaConstraint

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.drools.core.common.MultipleBetaConstraint
constraints, disableIndexing, indexed, indexPrecedenceOption
 
Constructor Summary
TripleBetaConstraints()
           
TripleBetaConstraints(BetaNodeFieldConstraint[] constraints, RuleBaseConfiguration conf)
           
TripleBetaConstraints(BetaNodeFieldConstraint[] constraints, RuleBaseConfiguration conf, boolean disableIndexing)
           
 
Method Summary
 TripleBetaConstraints cloneIfInUse()
           
 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.core.common.MultipleBetaConstraint
createBetaMemory, createContext, getConstraints, getIndexCount, init, initIndexes, isEmpty, isIndexed, isLeftUpdateOptimizationAllowed, readExternal, writeExternal
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TripleBetaConstraints

public TripleBetaConstraints()

TripleBetaConstraints

public TripleBetaConstraints(BetaNodeFieldConstraint[] constraints,
                             RuleBaseConfiguration conf)

TripleBetaConstraints

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

cloneIfInUse

public TripleBetaConstraints cloneIfInUse()

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)

Drools :: Core 6.1.0.Beta1

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