Prev | Current Page 368 | Next

Tim Weilkiens

"Systems Engineering with SysML/UML: Modeling, Analysis, Design"

The state Day stands
for all value combinations of the attributes hour , minute , and second , between
the two events, sunrise and sunset. 16 This example shows clearly that a state is
an abstraction of possible value combinations. Not every value combination is a
meaningful state, for example, the state ??? 13:17:31 ??? (HH:MM:SS), which is not modeled
here. What is meaningful and what isn ??™ t eventually depends on the domain
we model, of course.
States are represented by rounded rectangles ( Figure 3.57 ). The name of the
state is within the rectangle. Another compartment shows the internal behavior,
which is triggered by events, similar to transitions, but which does not cause the
state to be exited.
194 CHAPTER 3 UML??”Unifi ed Modeling Language
In addition to the internal behavior, a state can also have three special behaviors
that are triggered on the basis of predefi ned events:
?–  The entry behavior is executed immediately upon entering the state.
?–  The exit behavior is executed immediately before exiting the state.


Pages:
356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380
pokoje nad morzem tanio pomiary wiatru hotel kredyt samochodowy santander remont warszawa