Drools :: Core 6.0.0.Beta5

org.drools.core.reteoo
Class TraitObjectTypeNode

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.TraitObjectTypeNode
All Implemented Interfaces:
Externalizable, Serializable, MemoryFactory, NetworkNode, ObjectSink, Sink

public class TraitObjectTypeNode
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
TraitObjectTypeNode(int id, EntryPointNode source, ObjectType objectType, BuildContext context)
           
 
Method Summary
 void modifyObject(InternalFactHandle factHandle, ModifyPreviousTuples modifyPreviousTuples, PropagationContext context, InternalWorkingMemory workingMemory)
           
 void readExternal(ObjectInput in)
           
 void writeExternal(ObjectOutput out)
           
 
Methods inherited from class org.drools.core.reteoo.ObjectTypeNode
assertObject, attach, byPassModifyToBetaNode, calculateDeclaredMask, createMemory, doCollectAncestors, doRemove, doRetractObject, equals, getEntryPoint, getExpirationOffset, getObjectType, getOtnIdCounter, getType, hashCode, isAssignableFrom, isObjectMemoryEnabled, networkUpdated, nextOtnId, remove, resetIdGenerator, retractObject, setCompiledNetwork, setExpirationOffset, setObjectMemoryEnabled, toString, updateSink, updateTupleSinkId
 
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, collectAncestors, 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

TraitObjectTypeNode

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

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

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.0.0.Beta5

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