, .
, , , , .
- , . , .
:
< > < >: < > = < >.
in, out, inout , , ( in ).
. , , query (). {concurrency = }. :
sequential ( , );
concurrent (, - );
guarded (, , , ).
, .
( ), ( ).
, . .
4- (, ). , . 3.
3
. , , . . signal. , .
(). :
(dependency relationship);
(association relationship);
(generalization relationship);
(realization relationship).
, , () () .
|
|
, , . , , , . , , , . , : , . ( ) ( ) ( 4).
4
4 ; , ; D .
, UML.
<>:
become | - - |
bind | ( ) |
call | |
copy | ( ) |
create | ( ) |
derive | ( ) |
extend | ( ) |
friend | ( ) |
import | ( ) |
include | ( ) |
instanceOf | ( ) |
instantiate | ( ) |
refine | ( ) |
send | ( ) |
trace | ( ) |
use | ( ). |
(, association) () - , . ( ).
, 2 , , , . .
5 , , .
5
n , -
. - n- . , n- . : : , , .
, () . : , .., .. .
|
|
6
( ). * 0..*, .. .
( , association class), , . , , .
, , , !
- 7.
7 -
. . , (/) .. , ! (. 8).
8
, , .
(, aggregation) () ( / , part of). , . . . UML , ( 9). . .
9 -
.
(composition) , , , , .. - . , ( ). , . .
10
, 10, ( .) .
, , .
(, generalization) () (, , , ). , , (), . . , , , . , ().
|
|
11 -
UML , - ( 12).
12
, ( , incomplete). ( , complete). (, ), , overlapping , . , ( , disjoint).
, , (). , . . UML ( ), .. .
(, realization) , ( ), . , , . , UML - , . ( ). , , :N ( ).
, , , (). , , , . , , -, . ,
, ( ).
13 : , . ChoiceBlock . : setDefault getChoice . PopUpMenu RadioButtonArray , String () Button () . Choice, String Button.
.
13 -
( ), .
|
|
(collaboration) (. 14).
, . - .
14 -
. UML , . , [ ], (, ) :
1) (boundary) : ( , );
2) (entity) : , , ; , , , ;
3) (control): , ; (), , ..;
4) (logic): ; , , ..
, : , , . . .
. , ( , ..). . , .
.
UML . (package) , , , - , . , . , .
( system) . , . .
( subsystem) , ( ). . . , . . UML .
( model) , ( ). , , . . , .
|
|
. , , - , , - . . , . , , .
, , . . : displayWindow: WindowingSystem:: GraphicWindows:: Window ( Window, GraphicWindows ). .
, ( Windows). , . . . 15.
15
, . , ( ) . (, , ). , , (): MS Excel MS Access. , . . .