12.05.2013 Views

Modelado de Software con UML2.0 - Universidad Autónoma de ...

Modelado de Software con UML2.0 - Universidad Autónoma de ...

Modelado de Software con UML2.0 - Universidad Autónoma de ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Máquinas <strong>de</strong> Estados<br />

Un estado tiene:<br />

Nombre<br />

Transiciones internas: lista <strong>de</strong> acciones ejecutadas en ese<br />

estado (entry/exit/do)<br />

( y )<br />

Ejemplo: j p<br />

Typing Password<br />

entry/set t / t echo h invisible i i ibl<br />

exit/set echo normal<br />

character/handle character<br />

help/display help<br />

Máquinas <strong>de</strong> Estados<br />

Componentes Ortogonales:<br />

Incomplete<br />

lab done<br />

Lab1 Lab2<br />

Nombre<br />

Transiciones<br />

internas<br />

Term<br />

Project<br />

project done<br />

Passed<br />

Final<br />

Test<br />

fail<br />

pass<br />

Failed<br />

86<br />

88<br />

Máquinas <strong>de</strong> Estados<br />

Start<br />

entry/start dial tone<br />

exit/stop dial tone<br />

digit(n)<br />

Partial Dial<br />

entry/number.append(n)<br />

Estado compuesto:<br />

Dialing<br />

Start<br />

entry/start y dial tone<br />

exit/stop dial tone<br />

digit(n)<br />

Máquinas <strong>de</strong> Estados<br />

PPseudo d - estados: t d<br />

Fork / Join.<br />

Initial.<br />

Deep History / Shallow History. H* H<br />

Junction.<br />

Choice.<br />

Entry / Exit point.<br />

Terminate.<br />

digit(n)<br />

Partial Dial [number.isValid()]<br />

entry/number.append(n)<br />

y pp ( )<br />

A1 A2<br />

digit(n)<br />

Setup Cleanup<br />

B1 B2<br />

Fork Join<br />

87<br />

89

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!