Java Doc for State.java in  » Library » Apache-commons-scxml-0.6-src » org » apache » commons » scxml » model » 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 » Library » Apache commons scxml 0.6 src » org.apache.commons.scxml.model 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.apache.commons.scxml.model.TransitionTarget
      org.apache.commons.scxml.model.State

State
public class State extends TransitionTarget (Code)
The class in this SCXML object model that corresponds to the <state> SCXML element.



Constructor Summary
public  State()
     Constructor.

Method Summary
final public  voidaddChild(State state)
     Add a child state.
final public  voidaddHistory(History h)
     This method is used by XML digester.
final public  voidaddTransition(Transition transition)
     Add a transition to the map of all outgoing transitions for this state.
final public  MapgetChildren()
     Get the map of child states (may be empty).
final public  ListgetHistory()
     Get the list of history pseudo states for this state.
final public  InitialgetInitial()
     Get the initial state.
final public  InvokegetInvoke()
     Get the Invoke child (may be null).
final public  booleangetIsFinal()
     Is this state a "final" state.
final public  ParallelgetParallel()
     Get the Parallel child (may be null).
final public  MapgetTransitions()
     Get the map of all outgoing transitions from this state.
final public  ListgetTransitionsList(String event)
     Get the list of all outgoing transitions from this state, that will be candidates for being fired on the given event.
final public  ListgetTransitionsList()
     Get the outgoing transitions for this state as a java.util.List. List Returns the transitions (as a list).
final public  booleanhasHistory()
     Does this state have a history pseudo state.
final public  booleanisComposite()
     Check whether this is a composite state (UML terminology).
final public  booleanisDone()
     In case this is a parallel state, check if one its final states is active.
final public  booleanisOrthogonal()
     Checks whether it is a orthogonal state, that is, it owns a parallel (UML terminology).
final public  booleanisRegion()
     Checks whether it is a region state (directly nested to parallel - UML terminology).
final public  booleanisSimple()
     Check whether this is a simple (leaf) state (UML terminology).
final public  voidsetDone(boolean done)
     Update the done property, which is set if this is a parallel state, and one its final states is active.
final public  voidsetInitial(Initial target)
     Set the initial state.
final public  voidsetInvoke(Invoke invoke)
     Set the Invoke child.
final public  voidsetIsFinal(boolean isFinal)
     Set whether this is a "final" state.
final public  voidsetParallel(Parallel parallel)
     Set the Parallel child.


Constructor Detail
State
public State()(Code)
Constructor.




Method Detail
addChild
final public void addChild(State state)(Code)
Add a child state.
Parameters:
  state - a child state



addHistory
final public void addHistory(History h)(Code)
This method is used by XML digester.
Parameters:
  h - History pseudo state



addTransition
final public void addTransition(Transition transition)(Code)
Add a transition to the map of all outgoing transitions for this state.
Parameters:
  transition - The transitions to set.



getChildren
final public Map getChildren()(Code)
Get the map of child states (may be empty). Map Returns the children.



getHistory
final public List getHistory()(Code)
Get the list of history pseudo states for this state. a list of all history pseudo states contained by a given state(can be empty)
See Also:   State.hasHistory()



getInitial
final public Initial getInitial()(Code)
Get the initial state. Initial Returns the initial state.



getInvoke
final public Invoke getInvoke()(Code)
Get the Invoke child (may be null). Invoke Returns the invoke.



getIsFinal
final public boolean getIsFinal()(Code)
Is this state a "final" state. boolean Returns the isFinal.



getParallel
final public Parallel getParallel()(Code)
Get the Parallel child (may be null). Parallel Returns the parallel.



getTransitions
final public Map getTransitions()(Code)
Get the map of all outgoing transitions from this state. Map Returns the transitions Map.



getTransitionsList
final public List getTransitionsList(String event)(Code)
Get the list of all outgoing transitions from this state, that will be candidates for being fired on the given event.
Parameters:
  event - The event List Returns the candidate transitions for given event



getTransitionsList
final public List getTransitionsList()(Code)
Get the outgoing transitions for this state as a java.util.List. List Returns the transitions (as a list). TODO - Check in nextiteration whether both methods need to be retained.



hasHistory
final public boolean hasHistory()(Code)
Does this state have a history pseudo state. boolean true if a given state contains at least onehistory pseudo state



isComposite
final public boolean isComposite()(Code)
Check whether this is a composite state (UML terminology). true if this is a composite state, otherwise false



isDone
final public boolean isDone()(Code)
In case this is a parallel state, check if one its final states is active. Returns the done.



isOrthogonal
final public boolean isOrthogonal()(Code)
Checks whether it is a orthogonal state, that is, it owns a parallel (UML terminology). true if this is a orthogonal state, otherwise false



isRegion
final public boolean isRegion()(Code)
Checks whether it is a region state (directly nested to parallel - UML terminology). true if this is a region state, otherwise false
See Also:   Parallel



isSimple
final public boolean isSimple()(Code)
Check whether this is a simple (leaf) state (UML terminology). true if this is a simple state, otherwise false



setDone
final public void setDone(boolean done)(Code)
Update the done property, which is set if this is a parallel state, and one its final states is active.
Parameters:
  done - The done to set.



setInitial
final public void setInitial(Initial target)(Code)
Set the initial state.
Parameters:
  target - The target to set.



setInvoke
final public void setInvoke(Invoke invoke)(Code)
Set the Invoke child.
Parameters:
  invoke - The invoke to set.



setIsFinal
final public void setIsFinal(boolean isFinal)(Code)
Set whether this is a "final" state.
Parameters:
  isFinal - The isFinal to set.



setParallel
final public void setParallel(Parallel parallel)(Code)
Set the Parallel child.
Parameters:
  parallel - The parallel to set.



Methods inherited from org.apache.commons.scxml.model.TransitionTarget
final public Datamodel getDatamodel()(Code)(Java Doc)
final public String getId()(Code)(Java Doc)
final public OnEntry getOnEntry()(Code)(Java Doc)
final public OnExit getOnExit()(Code)(Java Doc)
final public TransitionTarget getParent()(Code)(Java Doc)
final public State getParentState()(Code)(Java Doc)
final public void setDatamodel(Datamodel datamodel)(Code)(Java Doc)
final public void setId(String id)(Code)(Java Doc)
final public void setOnEntry(OnEntry onEntry)(Code)(Java Doc)
final public void setOnExit(OnExit onExit)(Code)(Java Doc)
final public void setParent(TransitionTarget parent)(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.