From 946ea6984e910aebcf77955c2db25bdf940db0a6 Mon Sep 17 00:00:00 2001 From: Arek Date: Mon, 1 Feb 2021 19:54:40 +0100 Subject: [PATCH] use case 6 diagrams --- models/128013.diagram | 69 +++++++++++++++++++++++++++++++++++++++++++ models/128141.diagram | 54 +++++++++++++++++++++++++++++++++ models/128269.diagram | 54 +++++++++++++++++++++++++++++++++ models/13.session | 8 +++++ models/models.prj | 53 +++++++++++++++++++++++++++++++-- 5 files changed, 235 insertions(+), 3 deletions(-) create mode 100644 models/128013.diagram create mode 100644 models/128141.diagram create mode 100644 models/128269.diagram create mode 100644 models/13.session diff --git a/models/128013.diagram b/models/128013.diagram new file mode 100644 index 0000000..9fa438b --- /dev/null +++ b/models/128013.diagram @@ -0,0 +1,69 @@ +format 224 + +classinstancecanvas 128013 classinstance_ref 128013 // + xyz 35 17 2005 life_line_z 2000 +end +classinstance 128909 class_ref 150708 // Kwota + name "controller" xyz 222 15 2005 life_line_z 2000 +classinstance 129549 class_ref 143028 // Automat + name "" xyz 469 17 2010 life_line_z 2000 +classinstance 129933 class_ref 135476 // Platnosc + name "" xyz 732 22 2005 life_line_z 2000 +classinstancecanvas 130445 classinstance_ref 128397 // + xyz 585 15 2005 life_line_z 2000 +end +durationcanvas 129165 classinstance_ref 128013 // :Klient + xyzwh 54 84 2010 11 45 +end +durationcanvas 129293 classinstance_ref 128909 // controller:Kwota + xyzwh 269 76 2010 11 291 +end +durationcanvas 129677 classinstance_ref 129549 // :Automat + xyzwh 496 122 2010 11 59 +end +durationcanvas 130189 classinstance_ref 129933 // :Platnosc + xyzwh 760 298 2010 11 66 +end +durationcanvas 131213 classinstance_ref 130445 // :Sprzedaz + xyzwh 615 189 2010 11 62 +end +durationcanvas 131469 classinstance_ref 129933 // :Platnosc + xyzwh 760 181 2010 11 83 +end +msg 129421 synchronous + from durationcanvas_ref 129165 + to durationcanvas_ref 129293 + yz 84 2015 explicitmsg "AddCash(int amount)" + show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default + label_xy 111 68 +msg 129805 synchronous + from durationcanvas_ref 129293 + to durationcanvas_ref 129677 + yz 122 2015 explicitmsg "CheckCash()" + show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default + label_xy 308 106 +msg 130061 return + from durationcanvas_ref 129677 + to durationcanvas_ref 129293 + yz 166 2015 explicitmsg "isCorrect" + show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default + label_xy 313 150 +msg 130317 synchronous + from durationcanvas_ref 129293 + to durationcanvas_ref 130189 + yz 350 2015 explicitmsg "AddCash(int amount)" + show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default + label_xy 323 334 +msg 131341 synchronous + from durationcanvas_ref 129293 + to durationcanvas_ref 131213 + yz 204 3005 explicitmsg "CreatePayment()" + show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default + label_xy 388 188 +msg 131597 synchronous + from durationcanvas_ref 131213 + to durationcanvas_ref 131469 + yz 240 2015 explicitmsg "CreatePayment()" + show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default + label_xy 645 224 +end diff --git a/models/128141.diagram b/models/128141.diagram new file mode 100644 index 0000000..10e68eb --- /dev/null +++ b/models/128141.diagram @@ -0,0 +1,54 @@ +format 224 + +classinstancecanvas 128013 classinstance_ref 128013 // + xyz 35 17 2005 life_line_z 2000 +end +classinstance 128909 class_ref 150708 // Kwota + name "controller" xyz 242 17 2005 life_line_z 2000 +classinstance 129549 class_ref 143028 // Automat + name "" xyz 430 17 2010 life_line_z 2000 +classinstance 129933 class_ref 135476 // Platnosc + name "" xyz 694 20 2005 life_line_z 2000 +classinstancecanvas 130573 classinstance_ref 128525 // + xyz 564 21 2015 life_line_z 2000 +end +durationcanvas 129165 classinstance_ref 128013 // :Klient + xyzwh 54 87 2010 11 42 +end +durationcanvas 129293 classinstance_ref 128909 // controller:Kwota + xyzwh 289 87 2010 11 168 +end +durationcanvas 129677 classinstance_ref 129549 // :Automat + xyzwh 457 125 2010 11 56 +end +durationcanvas 130701 classinstance_ref 130573 // :Sprzedaz + xyzwh 594 228 2010 11 25 +end +durationcanvas 130957 classinstance_ref 129933 // :Platnosc + xyzwh 722 238 2010 11 25 +end +msg 129421 synchronous + from durationcanvas_ref 129165 + to durationcanvas_ref 129293 + yz 87 2015 explicitmsg "CancelPayment()" + show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default + label_xy 111 71 +msg 129805 synchronous + from durationcanvas_ref 129293 + to durationcanvas_ref 129677 + yz 125 2015 explicitmsg "ReturnMoney()" + show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default + label_xy 328 109 +msg 130829 synchronous + from durationcanvas_ref 129293 + to durationcanvas_ref 130701 + yz 228 2015 explicitmsg "CancelPayment()" + show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default + label_xy 397 212 +msg 131085 synchronous + from durationcanvas_ref 130701 + to durationcanvas_ref 130957 + yz 238 2020 explicitmsg "DeletePayment()" + show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default + label_xy 615 222 +end diff --git a/models/128269.diagram b/models/128269.diagram new file mode 100644 index 0000000..d1dae32 --- /dev/null +++ b/models/128269.diagram @@ -0,0 +1,54 @@ +format 224 + +classinstancecanvas 128013 classinstance_ref 128013 // + xyz 35 17 2005 life_line_z 2000 +end +classinstance 128909 class_ref 150708 // Kwota + name "controller" xyz 242 17 2005 life_line_z 2000 +classinstance 129549 class_ref 143028 // Automat + name "" xyz 430 17 2010 life_line_z 2000 +classinstance 129933 class_ref 135476 // Platnosc + name "" xyz 694 20 2005 life_line_z 2000 +classinstancecanvas 130573 classinstance_ref 128525 // + xyz 564 21 2015 life_line_z 2000 +end +durationcanvas 129165 classinstance_ref 128013 // :Klient + xyzwh 54 87 2010 11 42 +end +durationcanvas 129293 classinstance_ref 128909 // controller:Kwota + xyzwh 289 87 2010 11 168 +end +durationcanvas 129677 classinstance_ref 129549 // :Automat + xyzwh 457 125 2010 11 56 +end +durationcanvas 130701 classinstance_ref 130573 // :Sprzedaz + xyzwh 594 228 2010 11 25 +end +durationcanvas 130957 classinstance_ref 129933 // :Platnosc + xyzwh 722 238 2010 11 25 +end +msg 129421 synchronous + from durationcanvas_ref 129165 + to durationcanvas_ref 129293 + yz 87 2015 explicitmsg "ChangePayment()" + show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default + label_xy 111 71 +msg 129805 synchronous + from durationcanvas_ref 129293 + to durationcanvas_ref 129677 + yz 125 2015 explicitmsg "ReturnMoney()" + show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default + label_xy 328 109 +msg 130829 synchronous + from durationcanvas_ref 129293 + to durationcanvas_ref 130701 + yz 228 2015 explicitmsg "CancelPayment()" + show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default + label_xy 397 212 +msg 131085 synchronous + from durationcanvas_ref 130701 + to durationcanvas_ref 130957 + yz 238 2020 explicitmsg "DeletePayment()" + show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default + label_xy 615 222 +end diff --git a/models/13.session b/models/13.session new file mode 100644 index 0000000..06e34ce --- /dev/null +++ b/models/13.session @@ -0,0 +1,8 @@ +window_sizes 1920 1001 450 1464 819 128 + +show_stereotypes +selected classdiagram_ref 147764 // design-model +open + classview_ref 134708 // design +end +end diff --git a/models/models.prj b/models/models.prj index aca4f35..6670447 100644 --- a/models/models.prj +++ b/models/models.prj @@ -1,7 +1,7 @@ -format 223 +format 224 "models" - revision 9 - modified_by 52 "KSzostak" + revision 10 + modified_by 13 "Arek" @@ -1297,5 +1297,52 @@ format 223 pseudostate 128180 final "" end end + + sequencediagram 128013 "use_case_6_1" + sequencediagramsettings end + overlapping_bars size A4 + end + + classinstance 128013 "" + type class_ref 135860 // Klient + attributes + end + relations + end + end + + classinstance 128141 "controller" + type class_ref 143028 // Automat + attributes + end + relations + end + end + + sequencediagram 128141 "use_case_6_2" + sequencediagramsettings end + overlapping_bars size A4 + end + + classinstance 128397 "" + type class_ref 143412 // Sprzedaz + attributes + end + relations + end + end + + classinstance 128525 "" + type class_ref 143412 // Sprzedaz + attributes + end + relations + end + end + + sequencediagram 128269 "use_case_6_3" + sequencediagramsettings end + overlapping_bars size A4 + end end end