Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.jbpm.workflow.definition.impl
Class NodeImpl  view NodeImpl download NodeImpl.java

java.lang.Object
  extended byorg.jbpm.util.db.PersistentObject
      extended byorg.jbpm.workflow.definition.impl.DefinitionObjectImpl
          extended byorg.jbpm.workflow.definition.impl.NodeImpl
All Implemented Interfaces:
org.jbpm.workflow.definition.DefinitionObject, org.jbpm.workflow.definition.Node, java.io.Serializable
Direct Known Subclasses:
DecisionImpl, ForkImpl, JoinImpl, StateImpl

public class NodeImpl
extends DefinitionObjectImpl
implements org.jbpm.workflow.definition.Node


Field Summary
protected  java.util.Collection arrivingTransitions
           
protected  java.util.Collection leavingTransitions
           
protected  org.jbpm.workflow.definition.ProcessBlock processBlock
           
 
Fields inherited from class org.jbpm.workflow.definition.impl.DefinitionObjectImpl
description, name, processDefinition
 
Fields inherited from class org.jbpm.util.db.PersistentObject
id
 
Constructor Summary
NodeImpl()
           
 
Method Summary
 java.util.Collection getArrivingTransitions()
           
 java.util.Collection getLeavingTransitions()
           
 org.jbpm.workflow.definition.ProcessBlock getProcessBlock()
           
 void readProcessData(org.jbpm.util.xml.XmlElement xmlElement, CreationContext creationContext)
           
 void setArrivingTransitions(java.util.Collection arrivingTransitions)
           
 void setLeavingTransitions(java.util.Collection leavingTransitions)
           
 void setProcessBlock(org.jbpm.workflow.definition.ProcessBlock processBlock)
           
protected  void setTransitionDestinationScope(CreationContext creationContext)
          standard, the transition destination scope it the same scope as the node's scope.
 void validate(ValidationContext validationContext)
           
protected  void validateLeavingTransitions(ValidationContext validationContext)
          standard, a node must have at least one leaving transition.
 
Methods inherited from class org.jbpm.workflow.definition.impl.DefinitionObjectImpl
getDescription, getName, getProcessDefinition, getTypeName, hasName, setDescription, setName, setProcessDefinition, toString
 
Methods inherited from class org.jbpm.util.db.PersistentObject
getId, setId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.jbpm.workflow.definition.DefinitionObject
getDescription, getId, getName, getProcessDefinition, hasName
 

Field Detail

processBlock

protected org.jbpm.workflow.definition.ProcessBlock processBlock

arrivingTransitions

protected java.util.Collection arrivingTransitions

leavingTransitions

protected java.util.Collection leavingTransitions
Constructor Detail

NodeImpl

public NodeImpl()
Method Detail

readProcessData

public void readProcessData(org.jbpm.util.xml.XmlElement xmlElement,
                            CreationContext creationContext)
Overrides:
readProcessData in class DefinitionObjectImpl

validate

public void validate(ValidationContext validationContext)
Overrides:
validate in class DefinitionObjectImpl

validateLeavingTransitions

protected void validateLeavingTransitions(ValidationContext validationContext)
standard, a node must have at least one leaving transition. Only the EndStateImpl will have a different opinion on this :-)


setTransitionDestinationScope

protected void setTransitionDestinationScope(CreationContext creationContext)
standard, the transition destination scope it the same scope as the node's scope. Only the JoinImpl will have a different opinion on this :-)


getProcessBlock

public org.jbpm.workflow.definition.ProcessBlock getProcessBlock()
Specified by:
getProcessBlock in interface org.jbpm.workflow.definition.Node

setProcessBlock

public void setProcessBlock(org.jbpm.workflow.definition.ProcessBlock processBlock)

getArrivingTransitions

public java.util.Collection getArrivingTransitions()
Specified by:
getArrivingTransitions in interface org.jbpm.workflow.definition.Node

setArrivingTransitions

public void setArrivingTransitions(java.util.Collection arrivingTransitions)

getLeavingTransitions

public java.util.Collection getLeavingTransitions()
Specified by:
getLeavingTransitions in interface org.jbpm.workflow.definition.Node

setLeavingTransitions

public void setLeavingTransitions(java.util.Collection leavingTransitions)