org.drools.ruleflow.instance.impl
Class RuleFlowNodeInstanceImpl

java.lang.Object
  extended by org.drools.ruleflow.instance.impl.RuleFlowNodeInstanceImpl
All Implemented Interfaces:
RuleFlowNodeInstance
Direct Known Subclasses:
ActionNodeInstanceImpl, EndNodeInstanceImpl, MilestoneNodeInstanceImpl, RuleFlowJoinInstanceImpl, RuleFlowSequenceNodeInstanceImpl, RuleFlowSplitInstanceImpl, StartNodeInstanceImpl, SubFlowNodeInstanceImpl

public abstract class RuleFlowNodeInstanceImpl
extends java.lang.Object
implements RuleFlowNodeInstance

Default implementation of a RuleFlow node instance.

Author:
Kris Verlaenen

Constructor Summary
RuleFlowNodeInstanceImpl()
           
 
Method Summary
 void cancel()
           
 long getId()
           
protected  Node getNode()
           
 long getNodeId()
           
 RuleFlowProcessInstance getProcessInstance()
           
 void setId(long id)
           
 void setNodeId(long nodeId)
           
 void setProcessInstance(RuleFlowProcessInstance processInstance)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.drools.ruleflow.instance.RuleFlowNodeInstance
trigger
 

Constructor Detail

RuleFlowNodeInstanceImpl

public RuleFlowNodeInstanceImpl()
Method Detail

setId

public void setId(long id)
Specified by:
setId in interface RuleFlowNodeInstance

getId

public long getId()
Specified by:
getId in interface RuleFlowNodeInstance

setNodeId

public void setNodeId(long nodeId)
Specified by:
setNodeId in interface RuleFlowNodeInstance

getNodeId

public long getNodeId()
Specified by:
getNodeId in interface RuleFlowNodeInstance

setProcessInstance

public void setProcessInstance(RuleFlowProcessInstance processInstance)
Specified by:
setProcessInstance in interface RuleFlowNodeInstance

getProcessInstance

public RuleFlowProcessInstance getProcessInstance()
Specified by:
getProcessInstance in interface RuleFlowNodeInstance

getNode

protected Node getNode()

cancel

public void cancel()
Specified by:
cancel in interface RuleFlowNodeInstance