org.drools.reteoo
Class BetaMemory
java.lang.Object
org.drools.reteoo.BetaMemory
- All Implemented Interfaces:
- Externalizable, Serializable, Memory, Unlinkable
public class BetaMemory
- extends Object
- implements Externalizable, Unlinkable, Memory
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BetaMemory
public BetaMemory()
BetaMemory
public BetaMemory(LeftTupleMemory tupleMemory,
RightTupleMemory objectMemory,
ContextEntry[] context,
short nodeType)
readExternal
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
- Specified by:
readExternal
in interface Externalizable
- Throws:
IOException
ClassNotFoundException
writeExternal
public void writeExternal(ObjectOutput out)
throws IOException
- Specified by:
writeExternal
in interface Externalizable
- Throws:
IOException
getRightTupleMemory
public RightTupleMemory getRightTupleMemory()
getLeftTupleMemory
public LeftTupleMemory getLeftTupleMemory()
getContext
public ContextEntry[] getContext()
- Returns:
- the context
getBehaviorContext
public Object getBehaviorContext()
setBehaviorContext
public void setBehaviorContext(Object behaviorContext)
isLeftUnlinked
public boolean isLeftUnlinked()
- Description copied from interface:
Unlinkable
- Whether or not the left side is unlinked.
- Specified by:
isLeftUnlinked
in interface Unlinkable
isRightUnlinked
public boolean isRightUnlinked()
- Description copied from interface:
Unlinkable
- Whether or not the right side is unlinked.
- Specified by:
isRightUnlinked
in interface Unlinkable
linkLeft
public void linkLeft()
- Specified by:
linkLeft
in interface Unlinkable
linkRight
public void linkRight()
- Specified by:
linkRight
in interface Unlinkable
unlinkLeft
public void unlinkLeft()
- Specified by:
unlinkLeft
in interface Unlinkable
unlinkRight
public void unlinkRight()
- Specified by:
unlinkRight
in interface Unlinkable
getNodeType
public short getNodeType()
- Specified by:
getNodeType
in interface Memory
Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.