org.drools.reteoo
Class TraitObjectTypeNode
java.lang.Object
org.drools.common.BaseNode
org.drools.reteoo.ObjectSource
org.drools.reteoo.ObjectTypeNode
org.drools.reteoo.TraitObjectTypeNode
- All Implemented Interfaces:
- Externalizable, Serializable, NetworkNode, NodeMemory, ObjectSink, Sink
public class TraitObjectTypeNode
- extends ObjectTypeNode
- See Also:
- Serialized Form
| Methods inherited from class org.drools.reteoo.ObjectTypeNode |
attach, byPassModifyToBetaNode, calculateDeclaredMask, createMemory, doCollectAncestors, doRemove, equals, getEntryPoint, getExpirationOffset, getObjectType, getOtnIdCounter, getType, hashCode, isAssignableFrom, isObjectMemoryEnabled, networkUpdated, nextOtnId, remove, resetIdGenerator, retractObject, setCompiledNetwork, setExpirationOffset, setObjectMemoryEnabled, toString, updateSink, updateSinkOnAttach, updateTupleSinkId |
TraitObjectTypeNode
public TraitObjectTypeNode(int id,
EntryPointNode source,
ObjectType objectType,
BuildContext context)
readExternal
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
- Specified by:
readExternal in interface Externalizable- Overrides:
readExternal in class ObjectTypeNode
- Throws:
IOException
ClassNotFoundException
writeExternal
public void writeExternal(ObjectOutput out)
throws IOException
- Specified by:
writeExternal in interface Externalizable- Overrides:
writeExternal in class ObjectTypeNode
- Throws:
IOException
assertObject
public void assertObject(InternalFactHandle factHandle,
PropagationContext context,
InternalWorkingMemory workingMemory)
- Description copied from class:
ObjectTypeNode
- Propagate the
FactHandleimpl through the Rete network. All
FactHandleImpl should be remembered in the node memory, so that later runtime rule attachmnents
can have the matched facts propagated to them.
- Specified by:
assertObject in interface ObjectSink- Overrides:
assertObject in class ObjectTypeNode
- Parameters:
factHandle - The fact handle.context - The propagation context.workingMemory - The working memory session.
modifyObject
public void modifyObject(InternalFactHandle factHandle,
ModifyPreviousTuples modifyPreviousTuples,
PropagationContext context,
InternalWorkingMemory workingMemory)
- Specified by:
modifyObject in interface ObjectSink- Overrides:
modifyObject in class ObjectTypeNode
needsMaskUpdate
public boolean needsMaskUpdate()
- Overrides:
needsMaskUpdate in class ObjectTypeNode
updateMask
public long updateMask(long mask)
- Overrides:
updateMask in class ObjectSource
Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.