.


:




:

































 

 

 

 


6.




 

Order.

Order, 12.

. 12. Order.

1. Order.

2. Open State Diagram.

1. Start State ( ).

2. .

3. End State ( ).

4. .

1. State ().

2. .

1. State ().

2. .

3. Cancelled ().

4. State ().

5. .

6. Filled ().

7. State ().

8. .

9. Initialization ().

10. State ().

11. .

12. Pending ( ).

1. Initialization ().

2. Actions ().

3. Insert ().

4. .

5. Store Order Date ( ).

6. , When () On Entry ( ).

7. 3 - 7, :

# Collect Customer Info ( ), When Do

# Add Order Items ( ), When Do

8. , .

9. Cancelled ().

10. 2 - 7, Store Cancellation Data ( ), On Exit ( )

11. , .

12. Filled ().

13. 2 - 7, Bill Customer ( ), Do.

14. , .

1. Transition ().

2. .

3. Initialization ().

4. , :

# Initialization () Pending ( )

# Pending ( ) Filled ()

# Cancelled ()

# Cancelled ()

# Filled ()

5. Transition to Self ( ).

6. Pending ( ).





:


: 2015-11-23; !; : 638 |


:

:

, , .
==> ...

1785 - | 1465 -


© 2015-2024 lektsii.org - -

: 0.009 .