Drools :: Core 6.1.0.Beta1

org.drools.core.reteoo
Class TraitProxyObjectTypeNode

java.lang.Object
  extended by org.drools.core.common.BaseNode
      extended by org.drools.core.reteoo.ObjectSource
          extended by org.drools.core.reteoo.ObjectTypeNode
              extended by org.drools.core.reteoo.TraitProxyObjectTypeNode
All Implemented Interfaces:
Externalizable, Serializable, MemoryFactory, NetworkNode, ObjectSink, Sink

public class TraitProxyObjectTypeNode
extends ObjectTypeNode

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.drools.core.reteoo.ObjectTypeNode
ObjectTypeNode.ExpireJob, ObjectTypeNode.ExpireJobContext, ObjectTypeNode.ExpireJobContextTimerInputMarshaller, ObjectTypeNode.ExpireJobContextTimerOutputMarshaller, ObjectTypeNode.Id, ObjectTypeNode.ObjectTypeNodeMemory
 
Field Summary
 
Fields inherited from class org.drools.core.reteoo.ObjectTypeNode
compiledNetwork, DEFAULT_ID, dirty, idGenerator, job, objectType
 
Fields inherited from class org.drools.core.reteoo.ObjectSource
declaredMask, inferredMask, sink, source
 
Fields inherited from class org.drools.core.common.BaseNode
associations, id, partitionId, partitionsEnabled, streamMode
 
Constructor Summary
TraitProxyObjectTypeNode(int id, EntryPointNode source, ObjectType objectType, BuildContext context)
           
 
Method Summary
 void assertObject(InternalFactHandle factHandle, PropagationContext context, InternalWorkingMemory workingMemory)
          Propagate the FactHandleimpl through the Rete network.
 void modifyObject(InternalFactHandle factHandle, ModifyPreviousTuples modifyPreviousTuples, PropagationContext context, InternalWorkingMemory workingMemory)
           
 
Methods inherited from class org.drools.core.reteoo.ObjectTypeNode
attach, byPassModifyToBetaNode, calculateDeclaredMask, createMemory, doRemove, doRetractObject, equals, getEntryPoint, getExpirationOffset, getObjectType, getOtnIdCounter, getType, hashCode, isAssignableFrom, isObjectMemoryEnabled, networkUpdated, nextOtnId, readExternal, remove, resetIdGenerator, retractObject, setCompiledNetwork, setExpirationOffset, setObjectMemoryEnabled, toString, updateSink, updateTupleSinkId, writeExternal
 
Methods inherited from class org.drools.core.reteoo.ObjectSource
addObjectSink, getDeclaredMask, getObjectTypeNode, getParentObjectSource, getSinkPropagator, initDeclaredMask, isInUse, removeObjectSink, resetInferredMask, updateMask
 
Methods inherited from class org.drools.core.common.BaseNode
addAssociation, attach, getAssociations, getId, getPartitionId, isStreamMode, removeAssociation, setId, setPartitionId
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.drools.core.common.NetworkNode
getAssociations, getId, getPartitionId
 
Methods inherited from interface org.drools.core.common.MemoryFactory
getId
 

Constructor Detail

TraitProxyObjectTypeNode

public TraitProxyObjectTypeNode(int id,
                                EntryPointNode source,
                                ObjectType objectType,
                                BuildContext context)
Method Detail

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

Drools :: Core 6.1.0.Beta1

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