uci.uml.test.omg
Class PasswordExample

java.lang.Object
  |
  +--uci.uml.test.omg.PasswordExample

public class PasswordExample
extends Object

This is a very simple demo of how to represent a UML state machine that deals with dialing a telephone. This example is taken from page 106 of the UML 1.1 notation guide (OMG document ad/97-08-05).


Field Summary
 Transition character
           
 Transition help
           
 Model model
           
 MMClass passwordClass
           
 StateMachine sm
           
 CompositeState top
           
 State typingPassword
           
 
Constructor Summary
PasswordExample()
           
 
Method Summary
 void print()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

model

public Model model

passwordClass

public MMClass passwordClass

top

public CompositeState top

typingPassword

public State typingPassword

character

public Transition character

help

public Transition help

sm

public StateMachine sm
Constructor Detail

PasswordExample

public PasswordExample()
Method Detail

print

public void print()