From 5943a74efba10820f7161bfee8b8640afcdd7163 Mon Sep 17 00:00:00 2001 From: Klaudia Marciniak Date: Tue, 26 Jan 2021 22:05:40 +0100 Subject: [PATCH] add usecase5 diagrams 'done' --- models/128002.diagram | 50 ++++++------- models/134533_5.d | 3 + models/134661.diagram | 21 ++++++ models/134661_5.d | 21 ++++++ models/134789.diagram | 21 ++++++ models/134917.diagram | 90 +++++++++++++++++++++++ models/135045.diagram | 36 ++++++++++ models/141573.diagram | 21 ++++++ models/141573_5.d | 21 ++++++ models/5.session | 2 +- models/models.prj | 162 +++++++++++++++++++++++++++++++++++++++--- 11 files changed, 412 insertions(+), 36 deletions(-) create mode 100644 models/134533_5.d create mode 100644 models/134661.diagram create mode 100644 models/134661_5.d create mode 100644 models/134789.diagram create mode 100644 models/134917.diagram create mode 100644 models/135045.diagram create mode 100644 models/141573.diagram create mode 100644 models/141573_5.d diff --git a/models/128002.diagram b/models/128002.diagram index ff97cc1..531fee9 100644 --- a/models/128002.diagram +++ b/models/128002.diagram @@ -1,4 +1,4 @@ -format 223 +format 224 classcanvas 128130 class_ref 128002 // Bankomat classdiagramsettings member_max_width 0 end @@ -69,42 +69,42 @@ classcanvas 130178 class_ref 130050 // Ekran_Bankomatu xyzwh 862.25 642.9 2005 173 99 end relationcanvas 128762 relation_ref 128122 // posiada - from ref 130178 z 2006 label "posiada" italic max_width 255 xyz 916 572 3000 to ref 128130 + from ref 130178 z 2006 label "posiada" italic max_width 255 xyz 916 572 2006 to ref 128130 no_role_a no_role_b multiplicity_a_pos 926 556 3000 multiplicity_b_pos 925 613 3000 end relationcanvas 130042 relation_ref 128250 // wplaca - from ref 129026 z 2006 label "wplaca" italic max_width 255 xyz 1198 341.5 3000 to ref 128258 + from ref 129026 z 2006 label "wplaca" italic max_width 255 xyz 1198 341 2006 to ref 128258 no_role_a no_role_b multiplicity_a_pos 1206 407 3000 multiplicity_b_pos 1203 299 3000 end relationcanvas 132610 relation_ref 128770 // posiada geometry HV unfixed decenter_begin 537 - from ref 129410 z 2001 label "posiada" italic max_width 255 xyz 481 262 3000 to point 584 285 + from ref 129410 z 2001 label "posiada" italic max_width 255 xyz 481 262 2001 to point 584 285 line 130298 z 2001 to ref 128898 no_role_a no_role_b - multiplicity_a_pos 566 296 3000 multiplicity_b_pos 454 297 3000 + multiplicity_a_pos 570 294 3000 multiplicity_b_pos 454 297 3000 end relationcanvas 132738 relation_ref 128898 // daje_dostep - from ref 128386 z 2006 label "daje_dostep" italic max_width 255 xyz 332.5 160 3000 to ref 129410 + from ref 128386 z 2006 label "daje_dostep" italic max_width 255 xyz 332 160 2006 to ref 129410 no_role_a no_role_b multiplicity_a_pos 351 204 3000 multiplicity_b_pos 348 144 3000 end relationcanvas 132866 relation_ref 129026 // posiada decenter_begin 532 decenter_end 537 - from ref 129282 z 2001 label "posiada" italic max_width 255 xyz 210.5 269.5 3000 to ref 129410 + from ref 129282 z 2001 label "posiada" italic max_width 255 xyz 210 269 2001 to ref 129410 no_role_a no_role_b multiplicity_a_pos 278 297 3000 multiplicity_b_pos 201 305 3000 end relationcanvas 132994 relation_ref 129154 // posiada - from ref 129922 z 2006 label "posiada" italic max_width 255 xyz 482.5 55.5 3000 to ref 128386 + from ref 129922 z 2006 label "posiada" italic max_width 255 xyz 482 55 2006 to ref 128386 no_role_a no_role_b multiplicity_a_pos 457 86 3000 multiplicity_b_pos 563 85 3000 end relationcanvas 133122 relation_ref 129282 // posiada - from ref 129794 z 2001 label "posiada" italic max_width 255 xyz 170 967 3000 to point 111.71 987.63 + from ref 129794 z 2001 label "posiada" italic max_width 255 xyz 170 967 2001 to point 111 987 line 138754 z 2001 to ref 128642 no_role_a no_role_b multiplicity_a_pos 90 912 3000 multiplicity_b_pos 269 999 3000 @@ -112,81 +112,81 @@ end relationcanvas 133250 relation_ref 129410 // posiada decenter_begin 456 decenter_end 430 - from ref 129794 z 2001 label "posiada" italic max_width 255 xyz 479 965 3000 to point 583.28 983.95 - line 138626 z 2001 to point 582.92 889.2 + from ref 129794 z 2001 label "posiada" italic max_width 255 xyz 479 965 2001 to point 583 983 + line 138626 z 2001 to point 582 889 line 139138 z 2001 to ref 128770 no_role_a no_role_b multiplicity_a_pos 561 890 3000 multiplicity_b_pos 452 996 3000 end relationcanvas 133506 relation_ref 129666 // naprawia - from ref 128130 z 2001 label "naprawia" italic max_width 255 xyz 912.5 352.5 3000 to ref 129154 + from ref 128130 z 2001 label "naprawia" italic max_width 255 xyz 912 352 2001 to ref 129154 no_role_a no_role_b multiplicity_a_pos 924 324 3000 multiplicity_b_pos 931 405 3000 end relationcanvas 134402 relation_ref 130562 // posiada - from ref 128130 z 2006 label "posiada" italic max_width 255 xyz 1073.5 467 3000 to ref 128258 + from ref 128130 z 2006 label "posiada" italic max_width 255 xyz 1073 467 2006 to ref 128258 no_role_a no_role_b multiplicity_a_pos 1157 500 3000 multiplicity_b_pos 1046 500 3000 end relationcanvas 134530 relation_ref 130690 // posiada - from ref 128514 z 2001 label "posiada" italic max_width 255 xyz 214 825 3000 to ref 128642 + from ref 128514 z 2001 label "posiada" italic max_width 255 xyz 214 825 2001 to ref 128642 no_role_a no_role_b multiplicity_a_pos 180 856 3000 multiplicity_b_pos 300 856 3000 end relationcanvas 134658 relation_ref 130818 // posiada - from ref 128514 z 2001 label "posiada" italic max_width 255 xyz 440.5 822.5 3000 to ref 128770 + from ref 128514 z 2001 label "posiada" italic max_width 255 xyz 440 822 2001 to ref 128770 no_role_a no_role_b multiplicity_a_pos 506 852 3000 multiplicity_b_pos 430 855 3000 end relationcanvas 134914 relation_ref 131074 // obsluguje - from ref 129666 z 2001 label "obsluguje" italic max_width 255 xyz 334 370.5 3000 to ref 129410 + from ref 129666 z 2001 label "obsluguje" italic max_width 255 xyz 334 370 2001 to ref 129410 no_role_a no_role_b multiplicity_a_pos 348 345 3000 multiplicity_b_pos 351 396 3000 end relationcanvas 135042 relation_ref 131202 // posiada geometry HV unfixed decenter_end 458 - from ref 129666 z 2001 label "posiada" italic max_width 255 xyz 164.5 460 3000 to point 118 463 + from ref 129666 z 2001 label "posiada" italic max_width 255 xyz 164 470.5 2001 to point 118 478 line 130170 z 2001 to ref 129282 no_role_a no_role_b - multiplicity_a_pos 97 356 3000 multiplicity_b_pos 250 490 3000 + multiplicity_a_pos 102 355 3000 multiplicity_b_pos 255 488 3000 end relationcanvas 136706 relation_ref 131330 // nadzoruje decenter_end 465 - from ref 129666 z 2001 label "nadzoruje" italic max_width 255 xyz 332.5 535 3000 to ref 130050 + from ref 129666 z 2001 label "nadzoruje" italic max_width 255 xyz 332 535 2001 to ref 130050 no_role_a no_role_b multiplicity_a_pos 351 551 3000 multiplicity_b_pos 352 546 3000 end relationcanvas 137218 relation_ref 131586 // posiada decenter_end 85 - from ref 129538 z 2001 label "posiada" italic max_width 255 xyz 193.5 559 3000 to ref 130050 + from ref 129538 z 2001 label "posiada" italic max_width 255 xyz 193 559 2001 to ref 130050 no_role_a no_role_b multiplicity_a_pos 263 602 3000 multiplicity_b_pos 180 584 3000 end relationcanvas 137346 relation_ref 131714 // posiada geometry HV unfixed decenter_begin 532 - from ref 130050 z 2001 label "posiada" italic max_width 255 xyz 166.5 627 3000 to point 112 649 + from ref 130050 z 2001 label "posiada" italic max_width 255 xyz 166 627 2001 to point 112 649 line 128634 z 2001 to ref 128642 no_role_a no_role_b multiplicity_a_pos 91 762 3000 multiplicity_b_pos 263 661 3000 end relationcanvas 137474 relation_ref 131842 // autoryzuje decenter_begin 465 - from ref 130050 z 2001 label "autoryzuje" italic max_width 255 xyz 331 725.5 3000 to ref 128514 + from ref 130050 z 2001 label "autoryzuje" italic max_width 255 xyz 331 725 2001 to ref 128514 no_role_a no_role_b multiplicity_a_pos 347 755 3000 multiplicity_b_pos 348 725 3000 end relationcanvas 137602 relation_ref 138370 // posiada decenter_begin 536 - from ref 130050 z 2001 label "posiada" italic max_width 255 xyz 494.5 631.5 3000 to point 586.29 654.25 - line 137730 z 2001 to point 586.29 754.52 + from ref 130050 z 2001 label "posiada" italic max_width 255 xyz 494 631 2001 to point 586 654 + line 137730 z 2001 to point 586 754 line 137858 z 2001 to ref 128770 no_role_a no_role_b multiplicity_a_pos 566 776 3000 multiplicity_b_pos 480 662 3000 end relationcanvas 139010 relation_ref 138498 // obsluguje - from ref 129666 z 2001 label "obsluguje" italic max_width 255 xyz 630 462 3000 to ref 128130 + from ref 129666 z 2001 label "obsluguje" italic max_width 255 xyz 630 462 2001 to ref 128130 no_role_a no_role_b multiplicity_a_pos 850 496 3000 multiplicity_b_pos 481 490 3000 end diff --git a/models/134533_5.d b/models/134533_5.d new file mode 100644 index 0000000..e8dd282 --- /dev/null +++ b/models/134533_5.d @@ -0,0 +1,3 @@ +format 224 + +end diff --git a/models/134661.diagram b/models/134661.diagram new file mode 100644 index 0000000..765e3be --- /dev/null +++ b/models/134661.diagram @@ -0,0 +1,21 @@ +format 224 + +classinstancecanvas 128005 classinstance_ref 134533 // + xyz 59 4 2005 life_line_z 2000 +end +classinstancecanvas 128133 classinstance_ref 134917 // + xyz 162 4 2005 life_line_z 2000 +end +durationcanvas 128261 classinstance_ref 128005 // :Klient + xyzwh 75 82 2010 11 40 +end +durationcanvas 128389 classinstance_ref 128133 // :Bankomat + xyzwh 197 82 2010 11 25 +end +msg 128517 synchronous + from durationcanvas_ref 128261 + to durationcanvas_ref 128389 + yz 82 2015 explicitmsg "wybierzWyplata()" + show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default + label_xy 85 65 +end diff --git a/models/134661_5.d b/models/134661_5.d new file mode 100644 index 0000000..765e3be --- /dev/null +++ b/models/134661_5.d @@ -0,0 +1,21 @@ +format 224 + +classinstancecanvas 128005 classinstance_ref 134533 // + xyz 59 4 2005 life_line_z 2000 +end +classinstancecanvas 128133 classinstance_ref 134917 // + xyz 162 4 2005 life_line_z 2000 +end +durationcanvas 128261 classinstance_ref 128005 // :Klient + xyzwh 75 82 2010 11 40 +end +durationcanvas 128389 classinstance_ref 128133 // :Bankomat + xyzwh 197 82 2010 11 25 +end +msg 128517 synchronous + from durationcanvas_ref 128261 + to durationcanvas_ref 128389 + yz 82 2015 explicitmsg "wybierzWyplata()" + show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default + label_xy 85 65 +end diff --git a/models/134789.diagram b/models/134789.diagram new file mode 100644 index 0000000..f9080e1 --- /dev/null +++ b/models/134789.diagram @@ -0,0 +1,21 @@ +format 224 + +classinstancecanvas 128005 classinstance_ref 135045 // + xyz 81 4 2005 life_line_z 2000 +end +classinstancecanvas 128133 classinstance_ref 135173 // + xyz 227 4 2005 life_line_z 2000 +end +durationcanvas 128389 classinstance_ref 128005 // :Klient + xyzwh 97 98 2010 11 40 +end +durationcanvas 128517 classinstance_ref 128133 // :Bankomat + xyzwh 262 98 2010 11 25 +end +msg 128645 synchronous + from durationcanvas_ref 128389 + to durationcanvas_ref 128517 + yz 98 2015 explicitmsg "wyborKwoty()" + show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default + label_xy 141 81 +end diff --git a/models/134917.diagram b/models/134917.diagram new file mode 100644 index 0000000..49d14e2 --- /dev/null +++ b/models/134917.diagram @@ -0,0 +1,90 @@ +format 224 + +classinstancecanvas 128005 classinstance_ref 135429 // + xyz 68 4 2005 life_line_z 2000 +end +classinstancecanvas 128133 classinstance_ref 135557 // + xyz 224 4 2005 life_line_z 2000 +end +classinstancecanvas 128261 classinstance_ref 135685 // + xyz 345 4 2005 life_line_z 2000 +end +classinstancecanvas 128389 classinstance_ref 135813 // + xyz 553 4 2005 life_line_z 2000 +end +classinstancecanvas 129669 classinstance_ref 136581 // + xyz 722 4 2005 life_line_z 2000 +end +durationcanvas 128517 classinstance_ref 128133 // :Bankomat + xyzwh 259 85 2010 11 40 +end +durationcanvas 128645 classinstance_ref 128261 // :System_Transakcji + xyzwh 410 85 2010 11 25 +end +durationcanvas 128901 classinstance_ref 128261 // :System_Transakcji + xyzwh 410 115 2010 11 40 +end +durationcanvas 129029 classinstance_ref 128389 // :Transakcja + xyzwh 591 115 2010 11 25 +end +durationcanvas 129285 classinstance_ref 128005 // :Klient + xyzwh 84 65 2010 11 41 +end +durationcanvas 129413 classinstance_ref 128133 // :Bankomat + xyzwh 259 65 2010 11 26 +end +durationcanvas 129797 classinstance_ref 128389 // :Transakcja + xyzwh 591 149 2010 11 40 +end +durationcanvas 129925 classinstance_ref 129669 // :BLIK + xyzwh 741 149 2010 11 25 +end +durationcanvas 130181 classinstance_ref 129669 // :BLIK + xyzwh 741 205 2010 11 40 +end +durationcanvas 130309 classinstance_ref 128389 // :Transakcja + xyzwh 591 205 2010 11 25 +end +durationcanvas 130565 classinstance_ref 128389 // :Transakcja + xyzwh 591 253 2010 11 40 +end +durationcanvas 130693 classinstance_ref 128261 // :System_Transakcji + xyzwh 410 253 2010 11 25 +end +msg 128773 synchronous + from durationcanvas_ref 128517 + to durationcanvas_ref 128645 + yz 85 2015 explicitmsg "wyplata(kwota)" + show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default + label_xy 292 68 +msg 129157 synchronous + from durationcanvas_ref 128901 + to durationcanvas_ref 129029 + yz 115 2015 explicitmsg "newWyplata(kwota, kod)" + show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default + label_xy 427 98 +msg 129541 synchronous + from durationcanvas_ref 129285 + to durationcanvas_ref 129413 + yz 65 2015 explicitmsg "podanieKodu()" + show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default + label_xy 129 51 +msg 130053 synchronous + from durationcanvas_ref 129797 + to durationcanvas_ref 129925 + yz 149 2015 explicitmsg "potwierdzKod(kod)" + show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default + label_xy 610 132 +msg 130437 synchronous + from durationcanvas_ref 130181 + to durationcanvas_ref 130309 + yz 205 2015 explicitmsg "potwierdzenieKodu" + show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default + label_xy 609 188 +msg 130821 synchronous + from durationcanvas_ref 130565 + to durationcanvas_ref 130693 + yz 253 2015 explicitmsg "wykonajTransakcje(potwierdzenieKodu)" + show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default + label_xy 377 236 +end diff --git a/models/135045.diagram b/models/135045.diagram new file mode 100644 index 0000000..d0ef360 --- /dev/null +++ b/models/135045.diagram @@ -0,0 +1,36 @@ +format 224 + +classinstancecanvas 128005 classinstance_ref 135941 // + xyz 22 4 2005 life_line_z 2000 +end +classinstancecanvas 128133 classinstance_ref 136069 // + xyz 169 4 2005 life_line_z 2000 +end +classinstancecanvas 128645 classinstance_ref 136709 // + xyz 304 4 2005 life_line_z 2000 +end +durationcanvas 128773 classinstance_ref 128645 // :System_Transakcji + xyzwh 369 82 2010 11 40 +end +durationcanvas 128901 classinstance_ref 128133 // :Bankomat + xyzwh 204 82 2010 11 25 +end +durationcanvas 129157 classinstance_ref 128133 // :Bankomat + xyzwh 204 133 2010 11 40 +end +durationcanvas 129285 classinstance_ref 128005 // :Klient + xyzwh 38 133 2010 11 25 +end +msg 129029 synchronous + from durationcanvas_ref 128773 + to durationcanvas_ref 128901 + yz 82 2015 explicitmsg "potwierdzenieTransakcji(status)" + show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default + label_xy 189 65 +msg 129413 synchronous + from durationcanvas_ref 129157 + to durationcanvas_ref 129285 + yz 133 2015 explicitmsg "wyplata(kwota)" + show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default + label_xy 78 116 +end diff --git a/models/141573.diagram b/models/141573.diagram new file mode 100644 index 0000000..0e1fd11 --- /dev/null +++ b/models/141573.diagram @@ -0,0 +1,21 @@ +format 224 + +classinstancecanvas 128005 classinstance_ref 134661 // + xyz 56 4 2005 life_line_z 2000 +end +classinstancecanvas 128133 classinstance_ref 134789 // + xyz 188 4 2005 life_line_z 2000 +end +durationcanvas 128261 classinstance_ref 128005 // :Klient + xyzwh 72 91 2010 11 40 +end +durationcanvas 128389 classinstance_ref 128133 // :Bankomat + xyzwh 223 91 2010 11 25 +end +msg 128517 synchronous + from durationcanvas_ref 128261 + to durationcanvas_ref 128389 + yz 91 2015 explicitmsg "wybierzBlik()" + show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default + label_xy 112 74 +end diff --git a/models/141573_5.d b/models/141573_5.d new file mode 100644 index 0000000..0e1fd11 --- /dev/null +++ b/models/141573_5.d @@ -0,0 +1,21 @@ +format 224 + +classinstancecanvas 128005 classinstance_ref 134661 // + xyz 56 4 2005 life_line_z 2000 +end +classinstancecanvas 128133 classinstance_ref 134789 // + xyz 188 4 2005 life_line_z 2000 +end +durationcanvas 128261 classinstance_ref 128005 // :Klient + xyzwh 72 91 2010 11 40 +end +durationcanvas 128389 classinstance_ref 128133 // :Bankomat + xyzwh 223 91 2010 11 25 +end +msg 128517 synchronous + from durationcanvas_ref 128261 + to durationcanvas_ref 128389 + yz 91 2015 explicitmsg "wybierzBlik()" + show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default + label_xy 112 74 +end diff --git a/models/5.session b/models/5.session index 0a16569..0d4e8cd 100644 --- a/models/5.session +++ b/models/5.session @@ -1,7 +1,7 @@ window_sizes 1278 1368 450 823 1187 128 show_stereotypes -selected classdiagram_ref 134533 // 5-1-wybranieOpcjiBlik +selected sequencediagram_ref 134661 // 5-2-wybranieOpcjiWyplata open classview_ref 128002 // domain classview_ref 134530 // design diff --git a/models/models.prj b/models/models.prj index 81e6986..ed75843 100644 --- a/models/models.prj +++ b/models/models.prj @@ -1,7 +1,7 @@ format 224 "models" - revision 10 - modified_by 121 "kacpe" + revision 11 + modified_by 5 "Klaudia" @@ -412,11 +412,9 @@ ${members}} end class 128770 "Klient" - visibility package + visibility package stereotype "actor" cpp_decl "" - java_decl "${comment}${@}${visibility}${static}${final}${abstract}class ${name}${extends}${implements} { -${members}} -" + java_decl "" php_decl "" python_2_2 python_decl "" idl_decl "" @@ -1078,14 +1076,14 @@ ${members}} overlapping_bars size A4 end - classdiagram 134533 "5-1-wybranieOpcjiBlik" - classdiagramsettings member_max_width 0 end - size A4 + sequencediagram 141573 "5-1-wybranieOpcjiBlik" + sequencediagramsettings end + overlapping_bars size A4 end sequencediagram 134661 "5-2-wybranieOpcjiWyplata" sequencediagramsettings end - overlapping_bars size A4 + size A4 end sequencediagram 134789 "5-3-wprowadzenieKwoty" @@ -1107,5 +1105,149 @@ ${members}} sequencediagramsettings end overlapping_bars size A4 end + + classinstance 134533 "" + type class_ref 128770 // Klient + attributes + end + relations + end + end + + classinstance 134661 "" + type class_ref 128770 // Klient + attributes + end + relations + end + end + + classinstance 134789 "" + type class_ref 128002 // Bankomat + attributes + end + relations + end + end + + classinstance 134917 "" + type class_ref 128002 // Bankomat + attributes + end + relations + end + end + + classinstance 135045 "" + type class_ref 128770 // Klient + attributes + end + relations + end + end + + classinstance 135173 "" + type class_ref 128002 // Bankomat + attributes + end + relations + end + end + + classinstance 135301 "" + type class_ref 129538 // System_Transakcji + attributes + end + relations + end + end + + classinstance 135429 "" + type class_ref 128770 // Klient + attributes + end + relations + end + end + + classinstance 135557 "" + type class_ref 128002 // Bankomat + attributes + end + relations + end + end + + classinstance 135685 "" + type class_ref 129538 // System_Transakcji + attributes + end + relations + end + end + + classinstance 135813 "" + type class_ref 129922 // Transakcja + attributes + end + relations + end + end + + classinstance 135941 "" + type class_ref 128770 // Klient + attributes + end + relations + end + end + + classinstance 136069 "" + type class_ref 128002 // Bankomat + attributes + end + relations + end + end + + classinstance 136197 "" + type class_ref 129538 // System_Transakcji + attributes + end + relations + end + end + + classinstance 136325 "" + type class_ref 128514 // Wyplata + attributes + end + relations + end + end + + classinstance 136453 "" + type class_ref 128386 // BLIK + attributes + end + relations + end + end + + classinstance 136581 "" + type class_ref 128386 // BLIK + attributes + end + relations + end + end + + classinstance 136709 "" + type class_ref 129538 // System_Transakcji + attributes + end + relations + end + end end end