Java Doc for Node.java in  » Workflow-Engines » jbpm-jpdl-3.2.2 » org » jbpm » graph » def » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Workflow Engines » jbpm jpdl 3.2.2 » org.jbpm.graph.def 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.jbpm.graph.def.GraphElement
      org.jbpm.graph.def.Node

All known Subclasses:   org.jbpm.graph.def.SuperState,  org.jbpm.graph.node.InterleaveEnd,  org.jbpm.graph.node.InterleaveStart,  org.jbpm.graph.node.MailNode,  org.jbpm.graph.node.MilestoneNode,  org.jbpm.graph.node.Decision,  org.jbpm.graph.node.advanced.ParallelSplit,  org.jbpm.graph.node.State,  org.jbpm.graph.node.Join,  org.jbpm.graph.node.Merge,  org.jbpm.graph.node.TaskNode,  org.jbpm.graph.node.EndState,  org.jbpm.graph.node.StartState,  org.jbpm.graph.node.Fork,  org.jbpm.graph.node.Page,  org.jbpm.graph.node.ProcessState,
Node
public class Node extends GraphElement implements Parsable(Code)


Field Summary
protected  Actionaction
    
protected  SetarrivingTransitions
    
protected  booleanisAsync
    
protected  booleanisAsyncExclusive
    
transient  MapleavingTransitionMap
    
protected  ListleavingTransitions
    
protected  SuperStatesuperState
    
final public static  String[]supportedEventTypes
    

Constructor Summary
public  Node()
     creates an unnamed node.
public  Node(String name)
     creates a node with the given name.

Method Summary
public  TransitionaddArrivingTransition(Transition arrivingTransition)
     add a bidirection relation between this node and the given arriving transition.
public  TransitionaddLeavingTransition(Transition leavingTransition)
     creates a bidirection relation between this node and the given leaving transition.
protected  voidaddNodeLog(Token token)
    
 booleancontainsName(List leavingTransitions, String name)
    
protected  ExecuteNodeJobcreateAsyncContinuationJob(Token token)
    
public  voidenter(ExecutionContext executionContext)
     called by a transition to pass execution to this node.
public  voidexecute(ExecutionContext executionContext)
     override this method to customize the node behaviour.
public  StringgenerateNextLeavingTransitionName()
     generates a new name for a transition that will be added as a leaving transition.
public  ActiongetAction()
    
public  SetgetArrivingTransitions()
     are the arriving transitions.
public  TransitiongetDefaultLeavingTransition()
     is the default leaving transition.
public  StringgetFullyQualifiedName()
     the slash separated name that includes all the superstate names.
public  TransitiongetLeavingTransition(String transitionName)
     retrieves a leaving transition by name.
public  ListgetLeavingTransitions()
    
public  ListgetLeavingTransitionsList()
    
public  MapgetLeavingTransitionsMap()
     are the leaving Transition s, mapped by their name (java.lang.String).
public  ListgetNodes()
     returns a list of child nodes (only applicable for SuperState )s.
public  GraphElementgetParent()
     is the SuperState or the ProcessDefinition in which this node is contained.
public  ProcessDefinitiongetProcessDefinition()
    
public  SuperStategetSuperState()
    
public  String[]getSupportedEventTypes()
    
public  booleanhasLeavingTransition(String transitionName)
     checks for the presence of a leaving transition with the given name.
public  booleanhasNoLeavingTransitions()
     true if this transition has leaving transitions.
public  booleanisAsync()
    
public  booleanisAsyncExclusive()
    
 booleanisDifferent(String name1, String name2)
    
public  booleanisSuperStateNode()
     indicates wether this node is a superstate.
public  voidleave(ExecutionContext executionContext)
     called by the implementation of this node to continue execution over the default transition.
public  voidleave(ExecutionContext executionContext, String transitionName)
     called by the implementation of this node to continue execution over the specified transition.
public  voidleave(ExecutionContext executionContext, Transition transition)
     called by the implementation of this node to continue execution over the given transition.
public  voidread(Element nodeElement, JpdlXmlReader jpdlXmlReader)
    
public  voidremoveArrivingTransition(Transition arrivingTransition)
     removes the bidirection relation between this node and the given arriving transition.
public  voidremoveLeavingTransition(Transition leavingTransition)
     removes the bidirection relation between this node and the given leaving transition.
public  voidreorderLeavingTransition(int oldIndex, int newIndex)
     moves one leaving transition from the oldIndex and inserts it at the newIndex.
public  voidsetAction(Action action)
    
public  voidsetAsync(boolean isAsync)
    
public  voidsetAsyncExclusive(boolean isAsyncExclusive)
    
public  voidsetName(String name)
    
public  voidwrite(Element nodeElement)
    

Field Detail
action
protected Action action(Code)



arrivingTransitions
protected Set arrivingTransitions(Code)



isAsync
protected boolean isAsync(Code)



isAsyncExclusive
protected boolean isAsyncExclusive(Code)



leavingTransitionMap
transient Map leavingTransitionMap(Code)



leavingTransitions
protected List leavingTransitions(Code)



superState
protected SuperState superState(Code)



supportedEventTypes
final public static String[] supportedEventTypes(Code)




Constructor Detail
Node
public Node()(Code)
creates an unnamed node.



Node
public Node(String name)(Code)
creates a node with the given name.




Method Detail
addArrivingTransition
public Transition addArrivingTransition(Transition arrivingTransition)(Code)
add a bidirection relation between this node and the given arriving transition.
throws:
  IllegalArgumentException - if t is null.



addLeavingTransition
public Transition addLeavingTransition(Transition leavingTransition)(Code)
creates a bidirection relation between this node and the given leaving transition.
throws:
  IllegalArgumentException - if leavingTransition is null.



addNodeLog
protected void addNodeLog(Token token)(Code)



containsName
boolean containsName(List leavingTransitions, String name)(Code)



createAsyncContinuationJob
protected ExecuteNodeJob createAsyncContinuationJob(Token token)(Code)



enter
public void enter(ExecutionContext executionContext)(Code)
called by a transition to pass execution to this node.



execute
public void execute(ExecutionContext executionContext)(Code)
override this method to customize the node behaviour.



generateNextLeavingTransitionName
public String generateNextLeavingTransitionName()(Code)
generates a new name for a transition that will be added as a leaving transition.



getAction
public Action getAction()(Code)



getArrivingTransitions
public Set getArrivingTransitions()(Code)
are the arriving transitions.



getDefaultLeavingTransition
public Transition getDefaultLeavingTransition()(Code)
is the default leaving transition.



getFullyQualifiedName
public String getFullyQualifiedName()(Code)
the slash separated name that includes all the superstate names.



getLeavingTransition
public Transition getLeavingTransition(String transitionName)(Code)
retrieves a leaving transition by name. note that also the leaving transitions of the supernode are taken into account.



getLeavingTransitions
public List getLeavingTransitions()(Code)



getLeavingTransitionsList
public List getLeavingTransitionsList()(Code)



getLeavingTransitionsMap
public Map getLeavingTransitionsMap()(Code)
are the leaving Transition s, mapped by their name (java.lang.String).



getNodes
public List getNodes()(Code)
returns a list of child nodes (only applicable for SuperState )s.



getParent
public GraphElement getParent()(Code)
is the SuperState or the ProcessDefinition in which this node is contained.



getProcessDefinition
public ProcessDefinition getProcessDefinition()(Code)



getSuperState
public SuperState getSuperState()(Code)



getSupportedEventTypes
public String[] getSupportedEventTypes()(Code)



hasLeavingTransition
public boolean hasLeavingTransition(String transitionName)(Code)
checks for the presence of a leaving transition with the given name. true if this node has a leaving transition with the given name,false otherwise.



hasNoLeavingTransitions
public boolean hasNoLeavingTransitions()(Code)
true if this transition has leaving transitions.



isAsync
public boolean isAsync()(Code)



isAsyncExclusive
public boolean isAsyncExclusive()(Code)



isDifferent
boolean isDifferent(String name1, String name2)(Code)



isSuperStateNode
public boolean isSuperStateNode()(Code)
indicates wether this node is a superstate.



leave
public void leave(ExecutionContext executionContext)(Code)
called by the implementation of this node to continue execution over the default transition.



leave
public void leave(ExecutionContext executionContext, String transitionName)(Code)
called by the implementation of this node to continue execution over the specified transition.



leave
public void leave(ExecutionContext executionContext, Transition transition)(Code)
called by the implementation of this node to continue execution over the given transition.



read
public void read(Element nodeElement, JpdlXmlReader jpdlXmlReader)(Code)



removeArrivingTransition
public void removeArrivingTransition(Transition arrivingTransition)(Code)
removes the bidirection relation between this node and the given arriving transition.
throws:
  IllegalArgumentException - if t is null.



removeLeavingTransition
public void removeLeavingTransition(Transition leavingTransition)(Code)
removes the bidirection relation between this node and the given leaving transition.
throws:
  IllegalArgumentException - if leavingTransition is null.



reorderLeavingTransition
public void reorderLeavingTransition(int oldIndex, int newIndex)(Code)
moves one leaving transition from the oldIndex and inserts it at the newIndex.



setAction
public void setAction(Action action)(Code)



setAsync
public void setAsync(boolean isAsync)(Code)



setAsyncExclusive
public void setAsyncExclusive(boolean isAsyncExclusive)(Code)



setName
public void setName(String name)(Code)
updates the name of this node



write
public void write(Element nodeElement)(Code)



Fields inherited from org.jbpm.graph.def.GraphElement
protected String description(Code)(Java Doc)
protected Map events(Code)(Java Doc)
protected List exceptionHandlers(Code)(Java Doc)
long id(Code)(Java Doc)
protected String name(Code)(Java Doc)
protected ProcessDefinition processDefinition(Code)(Java Doc)

Methods inherited from org.jbpm.graph.def.GraphElement
public Event addEvent(Event event)(Code)(Java Doc)
public ExceptionHandler addExceptionHandler(ExceptionHandler exceptionHandler)(Code)(Java Doc)
void addParentChain(List parentChain)(Code)(Java Doc)
protected ExecuteActionJob createAsyncActionExecutionJob(Token token, Action action)(Code)(Java Doc)
public boolean equals(Object o)(Code)(Java Doc)
public void executeAction(Action action, ExecutionContext executionContext)(Code)(Java Doc)
void executeActions(List actions, ExecutionContext executionContext, boolean isPropagated)(Code)(Java Doc)
protected ExceptionHandler findExceptionHandler(Throwable exception)(Code)(Java Doc)
public void fireAndPropagateEvent(String eventType, ExecutionContext executionContext)(Code)(Java Doc)
public void fireEvent(String eventType, ExecutionContext executionContext)(Code)(Java Doc)
public String getDescription()(Code)(Java Doc)
public Event getEvent(String eventType)(Code)(Java Doc)
public Map getEvents()(Code)(Java Doc)
public List getExceptionHandlers()(Code)(Java Doc)
public long getId()(Code)(Java Doc)
public String getName()(Code)(Java Doc)
public GraphElement getParent()(Code)(Java Doc)
public List getParentChain()(Code)(Java Doc)
public List getParents()(Code)(Java Doc)
public ProcessDefinition getProcessDefinition()(Code)(Java Doc)
List getRuntimeActionsForEvent(ExecutionContext executionContext, String eventType)(Code)(Java Doc)
abstract public String[] getSupportedEventTypes()(Code)(Java Doc)
public boolean hasEvent(String eventType)(Code)(Java Doc)
public boolean hasEvents()(Code)(Java Doc)
public void raiseException(Throwable exception, ExecutionContext executionContext) throws DelegationException(Code)(Java Doc)
public Event removeEvent(Event event)(Code)(Java Doc)
public void removeExceptionHandler(ExceptionHandler exceptionHandler)(Code)(Java Doc)
public void reorderExceptionHandler(int oldIndex, int newIndex)(Code)(Java Doc)
public void setDescription(String description)(Code)(Java Doc)
public void setName(String name)(Code)(Java Doc)
public void setProcessDefinition(ProcessDefinition processDefinition)(Code)(Java Doc)
public String toString()(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.