.


:




:

































 

 

 

 


. : (use case), (actor) (relationship).

(actor) , , - . , , , . . . .

. 1.

. (, , , , ).

(use case) , . , . , , . , .

. 2.

 

: , , , , ..

3.

(relationship) .

. . , .

: , , ( ).

(association) . .

. 3.

 

(directed association) , , . .

. 4.

 

( ) ( , .. ).

. 5.

 

 

:

1. .

2. , , , .. .

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

. ( ), ( ) .

. 6.

 

. , , , .

:

1. , .

2. ( ).

3. ( ).

.

. 7.

 

, , .

(dependency) , , . , :

(include) , , .

include

. 7.

 

() , (). , . , . , .. .

:

1. .

2. .

3. .

(extend) , . .

() () extend.

. 8.

 

, , .

,

(extension point) . .

. 9.

 

:

1. , .

2. .

3. , , .

4. .

. 10. -


. 11.


8. (2 )

 

, .

, , , . - , , , , , .

 

. : , , . , , use-case. use-case .

, , , . , , , UML 2.0 (http://www.omg.org/spec/UML/2.0/).

 

UML

UML , , . , , . ? . , , , , , , . , , , .

: , (, , ) (, , ). (): , , , . Samsung LE-32B450 1234567 LED BBK LEM1949SD 7654321". , , , . .

UML . , .

UML , . , . , , . , . , , , , , , , , .

, ( ) . UML , , , , , , :

< >< >[]:< > = < >{-}

:

+ (public). , ;

# (protected). , ;

- (private). .

, , , . .

, :

;

, ;

.

, . _ [1..2]: String. _ , . String () , , [1..2] , _ (, )

. .

- , . , age:Integer : {age=today-birthday}.

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

< >< >( ):< >{-}

.

, . .

, :

< >< >:< >=< >.

, , . , in (), out () inout (); ; ; .

, .

-, , , ., - (concurrent), , .

:

+addPhone (phone:String)

deposit (in amount: Ammount): Ammount

#release ():contractStatus

: , .

- , , . , , . - . 1.

. 1.

 

, , . , , .

, , . , . : , , . -, , . , , , , . , . . 2 , . , , . , .

. 2.

 

(multiplicity) , , (. 3).

. 3.

 

: . , -. , . . . 4.

. 4.

(, ) (, ). , - , -, (. 5).

. 5.

, , . 6.


 

. 6.


, , .

, . , , . use-case .

. , .

. , : , . . 6 ( 1.1.1 1.1.j), , , , .

. , . . , , .

, , . , , - , . , 1.1.j 1.1.1 n.i.1 - 1.1.j. , 1.1.1 1.1.j , public.

 



<== | ==>
|
:


: 2018-10-17; !; : 2633 |


:

:

, .
==> ...

1667 - | 1555 -


© 2015-2024 lektsii.org - -

: 0.067 .