Методы проектирования ИУС в Rational Rose

Учебное пособие. — Таганрог: Технологический институт Южного федерального университета, 2007. — 68 с.Изложены основные с

273 61 1MB

Russian Pages [68]

Report DMCA / Copyright

DOWNLOAD PDF FILE

Recommend Papers

Методы проектирования ИУС в Rational Rose

  • Commentary
  • 1371366
  • 0 0 0
  • Like this paper and download? You can publish your own PDF file online for free in a few minutes! Sign Up
File loading please wait...
Citation preview

ɆɂɇɂɋɌȿɊɋɌȼɈ ɈȻɊȺɁɈȼȺɇɂə ɂ ɇȺɍɄɂ ɊɈɋɋɂɃɋɄɈɃ ɎȿȾȿɊȺɐɂɂ ɎȿȾȿɊȺɅɖɇɈȿ ȺȽȿɇɌɋɌȼɈ ɉɈ ɈȻɊȺɁɈȼȺɇɂɘ

Ɍɟɯɧɨɥɨɝɢɱɟɫɤɢɣ ɢɧɫɬɢɬɭɬ

Ɏɟɞɟɪɚɥɶɧɨɝɨ ɝɨɫɭɞɚɪɫɬɜɟɧɧɨɝɨ ɨɛɪɚɡɨɜɚɬɟɥɶɧɨɝɨ ɭɱɪɟɠɞɟɧɢɹ ɜɵɫɲɟɝɨ ɩɪɨɮɟɫɫɢɨɧɚɥɶɧɨɝɨ ɨɛɪɚɡɨɜɚɧɢɹ “ɘɠɧɨɝɨ ɮɟɞɟɪɚɥɶɧɨɝɨ ɭɧɢɜɟɪɫɢɬɟɬɚ”

ɉɊɂɈɊɂɌȿɌɇɕɃ ɇȺɐɂɈɇȺɅɖɇɕɃ ɉɊɈȿɄɌ “ɈȻɊȺɁɈȼȺɇɂȿ”

Ⱥ.ȼ. ɉɭɲɧɢɧ ȼ.ȼ. əɧɭɲɤɨ Ⱥ.ə. ɇɨɦɟɪɱɭɤ

ɆȿɌɈȾɕ ɉɊɈȿɄɌɂɊɈȼȺɇɂə ɂɍɋ ȼ RATIONAL ROSE ɍɱɟɛɧɨɟ ɩɨɫɨɛɢɟ

Ɍɚɝɚɧɪɨɝ 2007

681.3 Ɋɟɰɟɧɡɟɧɬɵ: “

. . ”»;

,

. . . . .

, - .

.

.

.

,

,

« ,

, . . , . . Rational Rose. — , 2007.— 68 .

:

.

-

.

-

, « », « « « Rational Rose. ,

», », » SADTUML. 180305, 220201, 220301, 230202

.

-

© . . . . ©

, . . , 2007 , 2007

2

,

ɋɨɞɟɪɠɚɧɢɟ ..……………………………………………………...….5 1. 1.1. 1.2. 1.3. 1.4. 1.5.

………………………………………….…..…...6 ……….………..6 ……………….....…6 ..……..…...8 ……….....11 ………………………………………..……12

1.6. 2. 2.1. 2.2. 2.2.1. 2.2.2. 2.2.3. 2.2.4. 2.3. 2.4. 2.5. 2.6. 2.7. 2.8. 2.9. 2.10. 2.11. 2.12. 2.13. 3. 3.1. 3.2. 3.3. 3.4. 3.5. 3.6. 3.7. 3.8.

..……………………………………..……..13 ..…………...…..15 …………….…….15 ………………….….17 ………………………………….......................18 ………………………………………….….18 ……...…19 …………………………………………......21 ……………...…...21 ……………….….…24 …………….....24 …………....25 ………...26 …..27 ………28 ……....28 , …………………………………………..…29 ……………....31 …………………………………………….32 Щ ..………….………...35 ………………….........35 ………...…………….…..36 ………………………….…..37 ……………………..38 ………….…………….…39 …….…40 ………...41 …………....42

3

3.9. 3.10.

4.

3.11. . 4.1. 4.2. 4.3. 4.4. 4.5. 4.6. 4.7. 4.7.1. 4.7.2.

5. 5.1. 5.2. 5.3.

6.

………………..…..43 ……………………………………………...…….….44 …………....47 . …………….……….………….48 ………………………….…………………..48 ……………………………...……….....48 ………………………………..…….48 …………………………………..…..49 ……………………………………..…..53 ………….........….55 …………………………………...57 ………………………………………....58 ………………………………………....59 ………………………...........................59 …………………………………………………...….61 ………………………...…………..…..61 …….......62 ...………………………..62 …………………………….....66

4

ȼɜɟɞɟɧɢɟ ,

,

,

UML,

, -

. , UML.

-

. UML CASE, . Rational Rose. : (actors)

(use cases), . .

, ,



,

. . . .

, ,

.

-

( .

.

5

Rose ),

1. 1.1. ɉɪɟɞɫɬɚɜɥɟɧɢɟ ɜɚɪɢɚɧɬɨɜ ɢɫɩɨɥɶɡɨɜɚɧɢɹ , Rose. • • •

: ; ;



;

• • •

; ; ; . , , . ,

,

. (project , ,

scope), ,

. 1.2. , .

(actor) —

(use case) — .

ё,

. .

6

.1

. 1. . 1

:

,

. ,

:

, ,

,

, . ,

.

,

, .

,

,

. , .

, .

, ,

,

: "

, ". . Rational Rose (

)

, (Main), . . .

.

,

,

7

(

, ). — (

),

(

)

.

, .



. , .

, .

(workflow diagram,).



( ,

). , ,

. .



.

,

, . .



, . ,



. . 1.3. Rose .

8

(Main)

. ɉɨɥɭɱɟɧɢɟ ɢɫɩɨɥɶɡɨɜɚɧɢɹ: •

ɞɨɫɬɭɩɚ

ɤ

, ɞɢɚɝɪɚɦɦɟ

ɝɥɚɜɧɨɣ

. ɜɚɪɢɚɧɬɨɜ "+"

.

-

. .

, Rose







• •

: , . [Use Case Diagram: Use Case view/Main] : / ). Ⱦɥɹ ɫɨɡɞɚɧɢɹ ɧɨɜɨɣ ɞɢɚɝɪɚɦɦɵ ɜɚɪɢɚɧɬɨɜ ɢɫɩɨɥɶɡɨɜɚɧɢɹ: — (

; (

New > Use Case Diagram ),

> . 2; ,

Ɉɬɤɪɵɬɢɟ ɢɫɩɨɥɶɡɨɜɚɧɢɹ: • •

;

, ɢɦɟɸɳɟɣɫɹ

.

ɞɢɚɝɪɚɦɦɵ

ɜɚɪɢɚɧɬɨɜ ;

,



;

Browse > Use Case Diagram ( ).



. 3; ,



;



,

; . :

,

.

9

> ,

. 2. ɋɭɳɟɫɬɜɭɸɬ ɞɜɚ ɫɩɨɫɨɛɚ ɭɞɚɥɟɧɢɹ ɷɥɟɦɟɧɬɚ ɫ ɞɢɚɝɪɚɦɦɵ ɜɚɪɢɚɧɬɨɜ ɢɫɩɨɥɶɡɨɜɚɧɢɹ. , , , . — . Delete. , Delete (

. ). CTRL+D.

10

. 3. 1.4. .

,

"

"

, ,



. —

,

. .

. :

• •

,

. Ⱦɥɹ ɭɞɚɥɟɧɢɹ ɞɢɚɝɪɚɦɦɵ ɜɚɪɢɚɧɬɨɜ ɢɫɩɨɥɶɡɨɜɚɧɢɹ: ; Delete (

).

ȼɇɂɆȺɇɂȿ! ȼ ɫɪɟɞɟ Rose ɧɟɜɨɡɦɨɠɧɨ ɨɬɦɟɧɢɬɶ ɭɞɚɥɟɧɢɟ ɞɢɚɝɪɚɦɦɵ ɢɥɢ ɭɞɚɥɢɬɶ ɝɥɚɜɧɭɸ ɞɢɚɝɪɚɦɦɭ.

11

1.5. Rose (URL).

,

,

, . . , .

Ⱦɥɹ ɩɪɢɤɪɟɩɥɟɧɢɹ ɮɚɣɥɚ ɤ ɞɢɚɝɪɚɦɦɟ ɜɚɪɢɚɧɬɨɜ ɢɫɩɨɥɶɡɨɜɚɧɢɹ: • ; • New > File ( > ); • Open ( ) , ; • Open ( ), . Ⱦɥɹ ɩɪɢɤɪɟɩɥɟɧɢɹ ɫɫɵɥɤɢ ɤ ɞɢɚɝɪɚɦɦɟ ɜɚɪɢɚɧɬɨɜ ɢɫɩɨɥɶɡɨɜɚɧɢɹ: • ; • New >• URL ( >); • . Ɉɬɤɪɵɬɶ ɩɪɢɤɪɟɩɥɟɧɧɵɣ ɮɚɣɥ ɦɨɠɧɨ ɫɥɟɞɭɸɳɢɦ ɨɛɪɚɡɨɦ: • ; • . Rose ; • •

; Open ( .

12

). Rose

• • • • • •

ȿɫɥɢ ɧɭɠɧɨ ɨɬɤɪɵɬɶ ɩɪɢɤɪɟɩɥɟɧɧɭɸ ɫɫɵɥɤɭ: ; . Rose Web-

; ; Open (

). Rose .

WebȾɥɹ ɭɞɚɥɟɧɢɹ ɫɜɹɡɚɧɧɨɝɨ ɮɚɣɥɚ ɢɥɢ ɚɞɪɟɫɚ:

; Delete (

).

1.6. , . 1. , . 1.

Selects or deselects an item ( ) Text Box (

Note (

)

)

Anchor Note to Item ( )

13

,

.1

Package (

)

Use Case ( ) Actor ( ) Uniderectional Association ( ) Dependecy of Instantiates ( ) Generalization ( )

14

2. 2.1. — ,

.

,

, .

,

(ATM) . ,

,

,

, .

,

.

,



.

UML :

, . —

— . ,

,

, . ,

. , ,

. , , , . : ? . .

15

.

,

. • •

: ? (



,

,

,

)? -



? -

? —

,

, . . , .

, Java, C++, Visual Basic

. ,

,

,

. . —

.

, ,

,

3000 . . , ,

. .

20

50

.

,

. , ,

.

,

. . ,

. ATM

16

"

, ".

"

" —

. ,

, .

, , , ,

Visa. . , ,

,

, . ,



?

: ? ,



. ,



?



?



? ,



?

.

,



? ? 2.2 , .

, ,

, (flow of events). , .

, —

17

.

. , .

,

, Java.



• • • • •

C++, PowerBuilder ,

,

.

: ; -conditions); ;

(

; (post-conditions). . 2.2.1. , "

В

: щ

. ATM

" ь

я "П

я

ь ч

ь

,

ь "

ь

я

ч

. "

",

, ,

. (

) , . , ,

. я

2.2.2.

— , .

, ,

. . , .

18

,

.

, ,

. 2.2.3. . , . ,

(

)

, .



: ,

• •

; ; ,



, ; (

• •

); ; , . ,

"

"

.

, ATM. ATM . . ATM

. ,

• • • • • ATM •

1.

ATM

: ; ; ; "

"; ;

, ;

19

• ATM

,

.

,

2. ,

• ATM • ATM • ATM

1; ; ; . . 1:

• ATM

,

• ATM

. . . 2:

• ATM

,

• ATM

. . . 1:

• ATM

, ,

• ATM

. . ,

• ATM

,

. . . , (

), -

, . .

,

,

.

, ,



20

. ,

, . ,

,

.

, :"

. : " . ..."

". . . ,

,

:

"

", ,

. , . я

2.2.4.

, .

, .

. , . ,

,

,

. . 2.3.

: . . ɉɨɦɟɫɬɢɬɶ ɧɨɜɵɣ ɜɚɪɢɚɧɬ ɢɫɩɨɥɶɡɨɜɚɧɢɹ ɧɚ ɞɢɚɝɪɚɦɦɭ ɜɚɪɢɚɧɬɨɜ ɢɫɩɨɥɶɡɨɜɚɧɢɹ ɦɨɠɧɨ ɫɥɟɞɭɸɳɢɦ ɨɛɪɚɡɨɦ: • Use Case ( ) ; •





>

>

.

Tools > Create > Use Case ( ), , New Use Case; ,

21

. 4;

.

, .

. 4. ɉɨɦɟɫɬɢɬɶ ɧɚ ɞɢɚɝɪɚɦɦɭ ɜɚɪɢɚɧɬɨɜ ɢɫɩɨɥɶɡɨɜɚɧɢɹ ɢɦɟɸɳɢɣɫɹ ɜɚɪɢɚɧɬ ɢɫɩɨɥɶɡɨɜɚɧɢɹ ɦɨɠɧɨ ɫɥɟɞɭɸɳɢɦ ɨɛɪɚɡɨɦ: • ; •

Query > Add Use Cases ( ). .5

,



; , (

22

>



); (Use Cases) (Selected Use Cases); .



.

. 5.



ȿɫɥɢ ɧɭɠɧɨ ɩɨɦɟɫɬɢɬɶ ɜɚɪɢɚɧɬ ɢɫɩɨɥɶɡɨɜɚɧɢɹ ɜ ɛɪɚɭɡɟɪ:



• • •

; New > Use Case (

>

); New Use Case . UML; ,

; ,

.

23

2.4. c . , , .

. Ⱦɥɹ ɭɞɚɥɟɧɢɹ ɜɚɪɢɚɧɬɚ

ɢɫɩɨɥɶɡɨɜɚɧɢɹ ɫ ɞɢɚɝɪɚɦɦɵ: • • Delete; • , ,

;

, . Ⱦɥɹ ɭɞɚɥɟɧɢɹ ɜɚɪɢɚɧɬɚ ɢɫɩɨɥɶɡɨɜɚɧɢɹ ɢɡ ɦɨɞɟɥɢ: • ; Edit > Delete from Model ( > • ) CTRL+D. ;





; Delete (

).

. 2.5. Rose . , .

,

. 6 ,

. ,

.

Ɉɬɤɪɵɬɶ ɫɩɟɰɢɮɢɤɚɰɢɸ ɜɚɪɢɚɧɬɚ ɢɫɩɨɥɶɡɨɜɚɧɢɹ ɦɨɠɧɨ ɫɥɟɞɭɸɳɢɦ ɨɛɪɚɡɨɦ: • ; • Open Specification ( ).

24

. 6. •



; Browse > Specification ( CTRL+B.

)

>

2.6. . , .

, ,

. ,

, -

.

. •

. Ⱦɥɹ ɩɪɢɫɜɨɟɧɢɹ ɢɦɟɧɢ ɜɚɪɢɚɧɬɭ ɢɫɩɨɥɶɡɨɜɚɧɢɹ: ;

25



;







; Open Specification (

);

Name ( ) . Ⱦɥɹ ɞɨɛɚɜɥɟɧɢɹ ɤ ɜɚɪɢɚɧɬɭ ɢɫɩɨɥɶɡɨɜɚɧɢɹ ɬɟɤɫɬɨɜɨɝɨ ɨɩɢɫɚɧɢɹ: • .; • ; •





; Open Specification (

); Documentation (

) .

2.7. . , ,

.

ATM,

, ,

, "

".

,

.

. ȼ ɫɪɟɞɟ Rose ɭɱɚɫɬɧɢɤɨɜ ɜɚɪɢɚɧɬɚ ɢɫɩɨɥɶɡɨɜɚɧɢɹ ɦɨɠɧɨ ɩɪɨɫɦɨɬɪɟɬɶ ɫ ɩɨɦɨɳɶɸ ɦɟɧɸ Report (Ɉɬɱɟɬ): • ; • Report > Show Participants in UC ( > ). • ( . 7).

26

. 7. Display Parent (

),

,

, .

. Display Type (

) ,

, .

.

.

(

)

Components ( , .

), Classes ( , Open it (

)

Operations )

, it (

)—

Goto

.

2.8. UML

(stereotypes) . , — ,

,

. —

. —

.

. ɇɚɡɧɚɱɢɬɶ ɫɬɟɪɟɨɬɢɩ ɞɥɹ ɜɚɪɢɚɧɬɚ ɢɫɩɨɥɶɡɨɜɚɧɢɹ ɦɨɠɧɨ ɫɥɟɞɭɸɳɢɦ ɨɛɪɚɡɨɦ: • ; • Open Specification

27



(

); Stereotype (

).

2.9. . , ɩɪɢɨɪɢɬɟɬɚ: • •



Rank (

. Rose ). Ⱦɥɹ ɧɚɡɧɚɱɟɧɢɹ ɜɚɪɢɚɧɬɭ ɢɫɩɨɥɶɡɨɜɚɧɢɹ ; Open Specification

(

); General (

(

)

Rank

).

2.10. . , . ( . "). .

, "

. 8

. 8.

28

ɢɫɩɨɥɶɡɨɜɚɧɢɹ: • • •

.

Ⱦɥɹ

ɫɨɡɞɚɧɢɹ

ɚɛɫɬɪɚɤɬɧɨɝɨ

ɜɚɪɢɚɧɬɚ

; ; Open Specification



(

); Abstract (

2.11.

). ,

, ,

, . Diagrams ( .

)

,

. .

. 9.

Diagrams (

)

29

, . 9

Ⱦɥɹ ɩɪɨɫɦɨɬɪɚ ɫɩɢɫɤɚ ɞɢɚɝɪɚɦɦ, ɫɨɞɟɪɠɚɳɢɯ ɞɚɧɧɵɣ ɜɚɪɢɚɧɬ ɢɫɩɨɥɶɡɨɜɚɧɢɹ: • ; • Open Specification ( ); • Diagrams ( ) ; •

,

. Ɉɬɤɪɵɬɶ ɞɢɚɝɪɚɦɦɭ, ɫɨɞɟɪɠɚɳɭɸ ɜɚɪɢɚɧɬ ɢɫɩɨɥɶɡɨɜɚɧɢɹ, ɦɨɠɧɨ ɫɥɟɞɭɸɳɢɦ ɨɛɪɚɡɨɦ: • Diagrams ;





Diagrams

; Open Diagram (

);



. Ⱦɥɹ ɞɨɛɚɜɥɟɧɢɹ ɞɢɚɝɪɚɦɦɵ ɤ ɜɚɪɢɚɧɬɭ ɢɫɩɨɥɶɡɨɜɚɧɢɹ: • Diagrams ; • ( , , ); ; • •



,

;

New > (Collaboration Diagram, Sequence Diagram, Class Diagram, Use Case Diagram) ( > ( , , , )); • . Ⱦɥɹ ɭɞɚɥɟɧɢɹ ɞɢɚɝɪɚɦɦɵ, ɢɡ ɜɚɪɢɚɧɬɚ ɢɫɩɨɥɶɡɨɜɚɧɢɹ:

30



Diagrams



; Delete (

).

2.12. Relations , , (

. 10). . .

. 10.

Relations

Ⱦɥɹ ɩɪɨɫɦɨɬɪɚ ɫɩɢɫɤɚ ɫɜɹɡɟɣ, ɜ ɤɨɬɨɪɵɯ ɭɱɚɫɬɜɭɟɬ ɜɚɪɢɚɧɬ ɢɫɩɨɥɶɡɨɜɚɧɢɹ: • ; • Open Specification ( ). Relations; •



; Report > Show Usage (

31

>



). Ⱦɥɹ ɩɪɨɫɦɨɬɪɚ ɫɩɟɰɢɮɢɤɚɰɢɣ ɫɜɹɡɢ: . . ;

• •

• • •

; Specifications (

); .

. Ⱦɥɹ ɭɞɚɥɟɧɢɹ ɫɜɹɡɢ: ; Delete (

).

2.13. Files ( ) ( . 11).

, , ,

. Web. ɋɜɹɡɚɬɶ ɮɚɣɥ ɫ ɜɚɪɢɚɧɬɨɦ ɢɫɩɨɥɶɡɨɜɚɧɢɹ ɦɨɠɧɨ ɫɥɟɞɭɸɳɢɦ ɨɛɪɚɡɨɦ: • Files ( ); • Insert File ( ); Open ( ) • ; • Open ; •

• •



; New > File ( Open ( ; Open

32

> )

);

.

. 11.

Files (

)

ɋɜɹɡɚɬɶ ɫɫɵɥɤɭ ɧɚ Web-ɫɬɪɚɧɢɰɭ ɫ ɜɚɪɢɚɧɬɨɦ ɢɫɩɨɥɶɡɨɜɚɧɢɹ ɦɨɠɧɨ ɫɥɟɞɭɸɳɢɦ ɨɛɪɚɡɨɦ: • Files ( ); • Insert URL ( ); • URL; •

• •

• •

; );

New > URL ( > URL. ȿɫɥɢ ɧɭɠɧɨ ɨɬɤɪɵɬɶ ɩɪɢɤɪɟɩɥɟɧɧɵɣ ɮɚɣɥ: ;

, Files. Rose ;





. ; . Rose

33

; • •



; , Files; Open File/URL ( /

). Rose ;



• • • •

. ; ; Open File/URL ( /

). Rose

. ȿɫɥɢ ɧɭɠɧɨ ɨɬɤɪɵɬɶ ɫɫɵɥɤɭ ɧɚ Web-ɫɬɪɚɧɢɰɭ: ; Web-

Files. Rose ;



.



; . Rose Web;

• • •

; Files; Open File/URL. Rose ;

Web-



.

• •

;

; Open. Rose Web. Ⱦɥɹ ɭɞɚɥɟɧɢɹ ɫɜɹɡɚɧɧɨɝɨ ɫ ɜɚɪɢɚɧɬɨɦ ɢɫɩɨɥɶɡɨɜɚɧɢɹ ɮɚɣɥɚ ɢɥɢ ɫɫɵɥɤɢ: •

34



; Delete (

).

Щ

3. 3.1. (actor) —

,

.

, , ,

.

UML

:

: ,

,

,

.



. .

ATM,

, .

,

,

,

. . ATM, . .

, . , ,

.

, .

, . , . . ,

, .

ATM ,

.

35

,

,

,

, ,

. , ,

,

,

. ,

,

,

. — .

, -

.

,

ATM

. ,

.

3.2. , : . . ɉɨɦɟɫɬɢɬɶ ɞɟɣɫɬɜɭɸɳɟɟ ɥɢɰɨ ɧɚ ɞɢɚɝɪɚɦɦɭ ɜɚɪɢɚɧɬɨɜ ɢɫɩɨɥɶɡɨɜɚɧɢɹ ɦɨɠɧɨ ɫɥɟɞɭɸɳɢɦ ɨɛɪɚɡɨɦ: • Actor ( ) ; •



>

• •

.

>

,

,

Ⱦɥɹ ɞɨɛɚɜɥɟɧɢɹ ɞɟɣɫɬɜɭɸɳɟɝɨ ɥɢɰɚ ɜ ɛɪɚɭɡɟɪ:





Tools > Create > Actor ( ), . 12; , New Class; , . .

; New > Actor (

>

); New Class. UML;

36

• •

,

; ,

.

. 12.

3.3 , : .

,

.

37

. Ⱦɥɹ ɭɞɚɥɟɧɢɹ ɞɟɣɫɬɜɭɸɳɟɝɨ ɥɢɰɚ ɫ ɞɢɚɝɪɚɦɦɵ ɜɚɪɢɚɧɬɨɜ ɢɫɩɨɥɶɡɨɜɚɧɢɹ: • ; • Delete. Ⱦɥɹ ɭɞɚɥɟɧɢɹ ɞɟɣɫɬɜɭɸɳɟɝɨ ɥɢɰɚ ɢɡ ɦɨɞɟɥɢ: • ; • Edit > Delete from Model CTRL+D; •



; Delete (

)

. Rose

. 3.4. , Rose

. (

. 13) (

, — cardinality) ,

.

,

. , .

,

Rose . ,

Ɉɬɤɪɵɬɶ ɫɩɟɰɢɮɢɤɚɰɢɸ ɫɥɟɞɭɸɳɢɦ ɨɛɪɚɡɨɦ: • •

(

ɞɟɣɫɬɜɭɸɳɟɝɨ

, (disabled). ɥɢɰɚ ɦɨɠɧɨ

; Open Specification

) ;





; Browse > Specification (

38

>

)

CTRL+B. .

. 13. , . Files (

General ( ).

), Detail (

), Relations (

)

. . 3.5. . •





. . Ⱦɚɬɶ ɢɦɹ ɞɟɣɫɬɜɭɸɳɟɦɭ ɥɢɰɭ ɦɨɠɧɨ ɫɥɟɞɭɸɳɢɦ ɨɛɪɚɡɨɦ: ; Open Specification (

); Name (

)

;

39





ɥɢɰɚ: • •

; . ȿɥɢ ɧɭɠɧɨ ɜɜɟɫɬɢ ɬɟɤɫɬɨɜɨɟ ɨɩɢɫɚɧɢɟ ɞɥɹ ɞɟɣɫɬɜɭɸɳɟɝɨ ; ;







; Open Specification (

); Documentation (

) .

3.6. , . ,

Rose

, . , ,

. ,







Actor (

).

. Ⱦɥɹ ɧɚɡɧɚɱɟɧɢɹ ɞɟɣɫɬɜɭɸɳɟɦɭ ɥɢɰɭ ɫɬɟɪɟɨɬɢɩɚ: ; Open Specification (

); Stereotype (

)

.

ɈɋɌɈɊɈɀɇɈ! Rose

, UML.

,

.

40

3.7. Rose

, .

,

,

, ,

(

, -

)

. Cardinality

. Rose :

Ɇɧɨɠɟɫɬɜɟɧɧɨɫɬɶ n( ) 0…0 0...1 0…n 1...1 1...n

Ɂɧɚɱɟɧɢɟ

: Ɏɨɪɦɚɬ < < < < < < <
1>…< >…n 1>, < 1>, 2> …< 1>…< 3>…


1

2>

1

2 2

1 3> 2>, 4>

2

3 1 3

2 4

Ɇɧɨɠɟɫɬɜɟɧɧɨɫɬɶ ɞɟɣɫɬɜɭɸɳɟɝɨ ɥɢɰɚ ɡɚɞɚɟɬɫɹ ɫɥɟɞɭɸɳɢɦ ɨɛɪɚɡɨɦ: • ; • Open Specification ( );

41

• •

Detail (

);

Cardinality (

)

, .

3.8. , .

,

.

,

: ,

, . —

. —

.

"

"

,

. .

, . 14.

. 14. •



Ⱦɥɹ ɫɨɡɞɚɧɢɹ ɚɛɫɬɪɚɤɬɧɨɝɨ ɞɟɣɫɬɜɭɸɳɟɝɨ ɥɢɰɚ: ;

42



• •

; Open Specification (

); Detail; Abstract (

).

3.9. Relations , (

. 15). .

, . , .

. 15. ɥɢɰɨ: •

Relations

Ⱦɥɹ ɩɪɨɫɦɨɬɪɚ ɫɜɹɡɟɣ, ɜ ɤɨɬɨɪɵɯ ɭɱɚɫɬɜɭɟɬ ɞɟɣɫɬɜɭɸɳɟɟ



; Open Specification

43

( • • •



• •

). Relations. Ⱦɥɹ ɩɪɨɫɦɨɬɪɚ ɫɩɟɰɢɮɢɤɚɰɢɣ ɫɜɹɡɢ: . ; ; Specification (

); .

Ⱦɥɹ ɭɞɚɥɟɧɢɹ ɫɜɹɡɢ:

; Delete (

).

3.10. , Web(

.

)

(

.

Files 16).

Web,

, , ,

. , . .

. ɉɪɢɤɪɟɩɢɬɶ ɤ ɞɟɣɫɬɜɭɸɳɟɦɭ ɥɢɰɭ ɮɚɣɥ ɦɨɠɧɨ ɫɥɟɞɭɸɳɢɦ ɨɛɪɚɡɨɦ: • Files; • Insert File ( ); • , ; • Open ( ), . Files .

44

. 16.

Files

Ⱦɥɹ ɫɜɹɡɵɜɚɧɢɹ ɫ ɞɟɣɫɬɜɭɸɳɢɦ ɥɢɰɨɦ ɫɫɵɥɤɢ ɧɚ Webɫɬɪɚɧɢɰɭ: • Files; • Insert URL ( ); • . . Ɉɬɤɪɵɬɶ ɩɪɢɤɪɟɩɥɟɧɧɵɣ ɮɚɣɥ ɦɨɠɧɨ ɫɥɟɞɭɸɳɢɦ ɨɛɪɚɡɨɦ: ; • • Files. Rose ; •

.



; , Rose ;



;

45

• •

Files; Open File/URL ( /

), Rose ;



.

• •

; ; Open (

). Rose

. Ⱦɥɹ ɩɟɪɟɯɨɞɚ ɩɨ ɫɜɹɡɚɧɧɨɣ ɫ ɞɟɣɫɬɜɭɸɳɢɦ ɥɢɰɨɦ ɫɫɵɥɤɟ ɧɚ Web-ɫɬɪɚɧɢɰɭ: • ; • Files. Rose Web; •

.



; . Rose Web;

• • •

;

/

Files; Open File/URL ( Web-

). Rose .



.

• •

; ; Open (

). Rose

Web-

. Ⱦɥɹ ɭɞɚɥɟɧɢɹ ɫɜɹɡɚɧɧɨɝɨ ɫ ɞɟɣɫɬɜɭɸɳɢɦ ɥɢɰɨɦ ɮɚɣɥɚ ɢɥɢ ɫɫɵɥɤɢ: • ;

46



Delete (

).

3.11. , . Rose Report ( ). Ⱦɥɹ ɩɪɨɫɦɨɬɪɚ ɫɩɢɫɤɚ ɞɢɚɝɪɚɦɦ ɩɨɫɥɟɞɨɜɚɬɟɥɶɧɨɫɬɢ ɢ ɤɨɨɩɟɪɚɬɢɜɧɵɯ ɞɢɚɝɪɚɦɦ, ɫɨɞɟɪɠɚɳɢɯ ɞɚɧɧɨɟ ɞɟɣɫɬɜɭɸɳɟɟ ɥɢɰɨ: • ; • Report > Show Instances ( > ); • Rose (

. 17).

, Browse (

. 17.

47

).

4.

.

.

4.1. UML . (uses), (actor

(communication),

(extends) generalization).

. , —

.

4.2 С

(communicates relationship) — . :

UML

, . “ “

” ”. :

“ “ “

ATM .

48

”. ”, ”,

:

ATM





,

; .

; . Ⱦɥɹ ɞɨɛɚɜɥɟɧɢɹ ɫɜɹɡɢ ɤɨɦɦɭɧɢɤɚɰɢɢ: • Unidirectional Association ( ) ; • , , ; • , . Ⱦɥɹ ɭɞɚɥɟɧɢɹ ɫɜɹɡɢ ɤɨɦɦɭɧɢɤɚɰɢɢ: • ; • Edit > Delete from Model ( > ) CTRL+D. 4.3. С

(uses relationship) . , .



ATM



“ ” ,

.

, ,



”.

, “ uses (

”. UML . 18.

),

" “

"

” “ ,

”. . .

, .

49







” — .

. 18. , .

, “

”, ” (extends relationships)

“ ,

.

. Ⱦɥɹ ɞɨɛɚɜɥɟɧɢɹ ɫɜɹɡɢ ɢɫɩɨɥɶɡɨɜɚɧɢɹ: • Generalization ( ; • •

.

; Open Specification ( . 19.

), •

)

( . 20); Stereotype ( uses (

).

) ,

uses

. ;

ȼɇɂɆȺɇɂȿ!

, .

50

. . 19.

. 20.

51



, .

uses

, .

, ( •

(



. 21)

; Abstract (

. 21. • •

Stereotype Label

);

).

Stereotype Label

Ⱦɥɹ ɭɞɚɥɟɧɢɹ ɫɜɹɡɢ ɢɫɩɨɥɶɡɨɜɚɧɢɹ:

>

; Edit > Delete from Model ( CTRL+D.

)

52

4.4. С

(extends relationship) ,

. . . UML

extends (

),

. 22.

. 22. “



, “

”. ,



$40”



“ ” , “ ”— Ⱦɥɹ ɞɨɛɚɜɥɟɧɢɹ ɫɜɹɡɢ ɪɚɫɲɢɪɟɧɢɹ ɧɚ ɞɢɚɝɪɚɦɦɭ: • Generalization ( ) ; • ( (

)

).



; Open Specification ( . 19.

),

53

”.

.

(

.

. 23);

. 23. •

Stereotype ( extends ( extends

)

).

, . ;

ȼɇɂɆȺɇɂȿ! •

,



• • •

, .

; extends .

, ,

Stereotype Label ( . 21;

),

. Abstract ( Ⱦɥɹ ɭɞɚɥɟɧɢɹ ɫɜɹɡɢ ɪɚɫɲɢɪɟɧɢɹ:

>

).

; Edit > Delete from Model ( CTRL+D.

)

54

4.5. (actor generalization relationship)

, ,

. :

. ,

. 24.

. 24. , “

: .

. ” — .

. , .

55

.

,

: . (

. 25).

. 25. . , ,

.

, , ,

,

. , . ,

,

. . , .

56

,

, .

,

. Ⱦɨɛɚɜɢɬɶ ɨɛɨɛɳɟɧɢɟ ɞɟɣɫɬɜɭɸɳɟɝɨ ɥɢɰɚ ɧɚ ɞɢɚɝɪɚɦɦɭ ɦɨɠɧɨ ɫɥɟɞɭɸɳɢɦ ɨɛɪɚɡɨɦ: • ; • Generalization ( ) ; • ; • ; • Detail; • Abstract ( ). Ⱦɥɹ ɭɞɚɥɟɧɢɹ ɫɜɹɡɢ ɨɛɨɛɳɟɧɢɹ ɞɟɣɫɬɜɭɸɳɟɝɨ ɥɢɰɚ: • ; • Edit > Delete from Model ( > ) CTRL+D. 4.6. (notes)

. ,

, ,

.

Rose Note

(

)

. Ⱦɨɛɚɜɥɟɧɢɟ ɩɪɢɦɟɱɚɧɢɣ ɧɚ ɞɢɚɝɪɚɦɦɭ. : (notes) (text box). , , , . ɉɨɦɟɫɬɢɬɶ ɧɚ ɞɢɚɝɪɚɦɦɭ ɩɪɢɦɟɱɚɧɢɟ ɦɨɠɧɨ ɫɥɟɞɭɸɳɢɦ ɨɛɪɚɡɨɦ: • Note ( );

57



-



, ;

, . Ⱦɥɹ ɩɪɢɤɪɟɩɥɟɧɢɹ ɩɪɢɦɟɱɚɧɢɹ ɤ ɷɥɟɦɟɧɬɭ ɞɢɚɝɪɚɦɦɵ: • Anchor Note to Item ( ) ; • , , . (

. 26).

. 26. , . , , Ⱦɥɹ ɞɨɛɚɜɥɟɧɢɹ ɧɚ ɞɢɚɝɪɚɦɦɭ ɬɟɤɫɬɨɜɨɣ ɨɛɥɚɫɬɢ: • Text Box ( ) ; • ; . • , ɍɞɚɥɟɧɢɟ ɩɪɢɦɟɱɚɧɢɣ: • . ; • Delete. 4.7. UML , (packages).

,

58

,

, ,

,

.

.

UML

:

4.7.1. Rose ,

. .

Rose Package Overview ( ) Ⱦɥɹ ɞɨɛɚɜɥɟɧɢɹ ɩɚɤɟɬɚ ɧɚ ɞɢɚɝɪɚɦɦɭ •





(Associations list). .

ɑɬɨɛɵ ɜɥɨɠɢɬɶ ɩɚɤɟɬ ɜ ɫɭɳɟɫɬɜɭɸɳɢɣ: ;

New > Package ( ),

>

. 27; . ,

. 4.7.2. Rose .

. Ⱦɥɹ ɭɞɚɥɟɧɢɹ ɩɚɤɟɬɚ ɫ

ɞɢɚɝɪɚɦɦɵ ɜɚɪɢɚɧɬɨɜ ɢɫɩɨɥɶɡɨɜɚɧɢɹ: • • Delete. , , • •

Ⱦɥɹ ɭɞɚɥɟɧɢɹ ɩɚɤɟɬɚ ɢɡ ɦɨɞɟɥɢ:

; , .

Delete (

• •

; );

; Edit > Delete from Model (

59

> CTRL+D.

)

. 27. ɈɋɌɈɊɈɀɇɈ! , .

60

5. 5.1. .

ɉɨɫɬɚɧɨɜɤɚ ɩɪɨɛɥɟɦɵ. — ! — , — ? — , , — , — .

,

. :

. . . — , .

.

.

,

, . Robertson's

Cabinets,

Inc.



,

. . , . .

, 50

. a

,

.

.



.

, . :



, . .

— —

. Java, ?



. .



.

61

,



? .



.

, . . .

. — ? —

, . , ,

, .

, ,

.

,

. , .

5.1. .

. , . 28.

5.2. ɋɨɡɞɚɧɢɟ ɞɢɚɝɪɚɦɦɵ ɜɚɪɢɚɧɬɨɜ ɢɫɩɨɥɶɡɨɜɚɧɢɹ, ɜɚɪɢɚɧɬɨɜ ɢɫɩɨɥɶɡɨɜɚɧɢɹ ɢ ɞɟɣɫɬɜɭɸɳɢɯ ɥɢɰ (Main) Use ase (

,

. ) .

" • • • • •

". 2 :

3, ; ; ;

; .

62

Actor

(

) .



”. 6,

5 • • •

: ; ; .

. 28.

Щ “

ɋɨɡɞɚɧɢɟ ɚɛɫɬɪɚɤɬɧɨɝɨ ɜɚɪɢɚɧɬɚ ɢɫɩɨɥɶɡɨɜɚɧɢɹ ”,

. Open Specification

(

). Abstract ( .

63

),

Ⱦɨɛɚɜɥɟɧɢɟ ɚɫɫɨɰɢɚɰɢɣ Unidirectional Association ( ) “





”. 1,

. Ⱦɨɛɚɜɥɟɧɢɟ ɫɜɹɡɢ ɪɚɫɲɢɪɟɧɢɹ Generalization (





)



”. .

,



” “

Щ

”. “

(





”. Open Specification

). extend

(

),

. extend

.

Ⱦɨɛɚɜɥɟɧɢɟ ɨɩɢɫɚɧɢɣ ɤ ɜɚɪɢɚɧɬɚɦ ɢɫɩɨɥɶɡɨɜɚɧɢɹ “

-

”. : “ ”. .



Ⱦɨɛɚɜɥɟɧɢɟ ɨɩɢɫɚɧɢɣ ɤ ɞɟɣɫɬɜɭɸɳɟɦɭ ɥɢɰɭ . :“ , ”. . ɉɪɢɤɪɟɩɥɟɧɢɟ ɮɚɣɥɚ ɤ ɜɚɪɢɚɧɬɭ ɢɫɩɨɥɶɡɨɜɚɧɢɹ Web“ ” (www. lory-press, ru)

64

Order Flow.doc, “

”. ,

,

. 29.

. 29. “



Щ “

”. Open Specification

(

). Щ

Files (

).

Insert File ( OpenFlow. doc (

),

). Open .

65

1. " 2.

. .,

. . J2EE

", 2002. — 272 . ., .UML

UML /

Rational Rose.-

Java. — .:

. .: "

", 2000. —

582 . 3. 4.

"

.— 5. .: " 6. 7.

., . — .: .,

., . , 2000. — 432 . ., .,

UML. . .

", 2001.- 368 . . UML ", 2001. — 496 . . . UML. 2", 2004. — 432 . ., ., . UML: .— :" ", 2001. - 656 .

-

:"

66

. —

.:

67

RATIONAL ROSE ɍɱɟɛɧɨɟ ɩɨɫɨɛɢɟ

. . . . . .

№020565 № ___

23.06.1997 . . . . . - ___

.-

__.___.2007 . . . - ____ ______ .

« »

17 ,

, 28, 17 ,

68

, 44 , 28,

,1