- A state diagram, also called a state machine diagram or statechart diagram, is an illustration of the states an object can attain as well as the transitions between those states in the Unified Modeling Language (UML). In this context, a state defines a stage in the evolution or behavior of an object, which is a specific entity in a program or the unit of code representing that entity. State diagrams are useful in all forms of object-oriented programming (OOP). The concept is more than a decade old but has been refined as OOP modeling paradigms have evolved.
A state diagram resembles a flowchart in which the initial state is represented by a large black dot and subsequent states are portrayed as boxes with rounded corners. There may be one or two horizontal lines through a box, dividing it into stacked sections. In that case, the upper section contains the name of the state, the middle section (if any) contains the state variables and the lower section contains the actions performed in that state. If there are no horizontal lines through a box, only the name of the state is written inside it. External straight lines, each with an arrow at one end, connect various pairs of boxes. These lines define the transitions between states. The final state is portrayed as a large black dot with a circle around it. Historical states are denoted as circles with the letter H inside.
| LAST UPDATED: |
12 Apr 2007
|
 |
Read more about state diagram:
|


 |
Do you have something to add to this definition? Let us know.
Send your comments to techterms@whatis.com
|

');
// -->
 |
 |
|  |
RELATED CONTENT
 |
Making sense of data services mashups
Data services mashups would be easy if all the data was in XML. Since it is not, Kirstan Vandersluis of XAware Inc. explains how open source tools can...
|
 |
XML turns 10
W3C is marking the 10-year anniversary this month of the first release of XML, the standard that basically made all the other Web services standards...
|
 |
SOA helps save 100-year-old business
With its feet firmly planted in 1970s technology, an insurance information provider makes the leap to service-oriented architecture (SOA) to remain...
|
|
 |
 |
|  |
RELATED GLOSSARY TERMS
| Terms from Whatis.com − the technology online dictionary |
 |
class diagram
(SearchSOA.com)
A class diagram is an illustration of the relationships and source code dependencies among classes in the Unified Modeling Language (UML)... ...
|
 |
Fast Infoset (FI)
(SearchSOA.com)
Fast Infoset (FI) is a standard that can serve as an alternative to XML (Extensible Markup Language) document formatting... (Continued)
|
|

|