.


:




:

































 

 

 

 


(collaboration diagram)




, , .

, , - . , , .

, , , . .

. 8.

 

, . , , .

UML - , (, ), - (, , ).

:

(package) - , ;

(class) - ;

(interface) - , , , , .

- (), , , . .

UML .

, 3 :

( ) ( , ).

- , (, ).

( ). - .

, , (Exceptions).

. 9.

, .

UML :

Boundary ();

Entity ();

Control ().

(boundary classes) , . , , ( ) .

, . , , . .

-

- (entity classes) . , . - .

(control classes) . , . , , . . , -.

, . , SecurityManager ( ), , . TransactionManager ( ) , . , , .

.

, . .

, . , . (attribute visibility).

:

Public (, ). , . . UML +.

Private (, ). . UML.

Protected (). . UML #.

Package or Implementation (). , , . .

, . .

, . , . .

. , .

, . .

, . , , .

UML :

(: , 2: 2,...):

:

;

;

;

.

(implementor operations) -. , . -, , , .

. . , , , . , , - .

(manager operations) . .

. , . (access operations). , , . Get Set ( ) .

(helper operations) , , . .

, :

  1. . . .
  2. . .
  3. . , , Get Set.

. , . , , .

, : , , .

(association) . .

. 10.

, , . UML . , .

, . , , . , .

. , .

(dependency) , , , . , A B. B A.

, , , , , , .

. 11.

. , , .

(aggregations) . . , , , . , . . , :

. 11.

UML , . , - , , , , : . .

, , 1..1; , , (, , ).

()

() - - . (generalization) . - . , . , - - (.. ). , - - ( - , , ). .

. 12.

, , .

(multiplicity) , .

, Course () Student (). : , . , : ? ?

, . , , 0 20 .

UML .

1 - UML

. , , . , Person () Company () . , Person , ? , employs ():

. 13.

, . Person Company, , Person Company. , , . , , , . , , , . :

. 14.

.

, - . .

. 15. UML

UML - , . , , , , - .

, (, " "). , , .





:


: 2016-10-27; !; : 843 |


:

:

,
==> ...

1829 - | 1810 -


© 2015-2024 lektsii.org - -

: 0.031 .