Download Object Oriented Modeling & Design Using UML PDF

TitleObject Oriented Modeling & Design Using UML
File Size1.7 MB
Total Pages119
Document Text Contents
Page 60


Exit Actions

The same simplification can be used for actions associated with events
that trigger a transition out of a state. They are called exit actions.


1) Use the keyword exit followed by a slash and the actions
performed every time the state is exited

2) Exit actions are part of the internal transitions compartment Only
when the action takes places every time the state is exited.

For example.

Send Events
Sometimes the object modelled by the statechart needs to send a
message to another object, in this case the outgoing event must define
which is the receiving object. Also, this event must be caught by the
receiving object. A message send to another object is called a send

Notation: provide the object name before the action expression with a
period separating both


Similer Documents