From 8f40d1f028c6f8bd704700d977329fbf853d2899 Mon Sep 17 00:00:00 2001 From: Marcin Kostrzewski Date: Sat, 30 Jan 2021 23:46:52 +0100 Subject: [PATCH] Merged 3-* --- models/119.session | 14 +++ models/128119.diagram | 92 +++++++++++++++ models/128119_119.d | 92 +++++++++++++++ models/128247.diagram | 64 +++++++++++ models/128247_119.d | 64 +++++++++++ models/128375.diagram | 33 ++++++ models/128375_119.d | 33 ++++++ models/128503.diagram | 42 +++++++ models/128503_119.d | 42 +++++++ models/128631.diagram | 43 +++++++ models/128631_119.d | 7 ++ models/128759.diagram | 33 ++++++ models/models.prj | 255 ++++++++++++++++++++++++++++++++++++++++-- 13 files changed, 807 insertions(+), 7 deletions(-) create mode 100644 models/119.session create mode 100644 models/128119.diagram create mode 100644 models/128119_119.d create mode 100644 models/128247.diagram create mode 100644 models/128247_119.d create mode 100644 models/128375.diagram create mode 100644 models/128375_119.d create mode 100644 models/128503.diagram create mode 100644 models/128503_119.d create mode 100644 models/128631.diagram create mode 100644 models/128631_119.d create mode 100644 models/128759.diagram diff --git a/models/119.session b/models/119.session new file mode 100644 index 0000000..b118274 --- /dev/null +++ b/models/119.session @@ -0,0 +1,14 @@ +window_sizes 2552 1362 600 1946 1173 128 +cleanlooks_style +show_stereotypes +selected sequencediagram_ref 141221 // 2-3-cofnijOstatniaModyfikacjeStatusuZamowienia +open + class_ref 135032 // Zamowienie + class_ref 135160 // Potrawa + class_ref 135288 // Kucharz + class_ref 136824 // SystemZamowien + class_ref 128038 // Pozycja_w_Menu + class_ref 146936 // Status + classview_ref 128037 // design +end +end diff --git a/models/128119.diagram b/models/128119.diagram new file mode 100644 index 0000000..074f5ce --- /dev/null +++ b/models/128119.diagram @@ -0,0 +1,92 @@ +format 224 + +classinstance 128119 class_ref 128119 // ZamowienieController + name "" xyz 259.6 3 2005 life_line_z 2000 +classinstance 128247 class_ref 134648 // Kelner + name "" xyz 54.8 4 2000 life_line_z 2000 +classinstance 128375 class_ref 136824 // SystemZamowien + name "systemZamowien" xyz 482.2 3 2000 life_line_z 2000 +classinstance 128503 class_ref 135032 // Zamowienie + name "" xyz 779.1 4.5 2000 life_line_z 2000 +classinstance 128631 class_ref 146936 // Status + name "" xyz 964.6 3 2000 life_line_z 2000 +classinstance 128759 class_ref 138488 // HistoriaZamowien + name "" xyz 1118 3 2000 life_line_z 2000 +durationcanvas 128887 classinstance_ref 128247 // :Kelner + xyzwh 74 127 2010 11 225 +end +durationcanvas 129015 classinstance_ref 128119 // :ZamowienieController + xyzwh 333 128 2010 11 216 +end +durationcanvas 129271 classinstance_ref 128375 // systemZamowien:SystemZamowien + xyzwh 601 137 2010 11 195 +end +durationcanvas 129527 classinstance_ref 128503 // :Zamowienie + xyzwh 821 146 2010 11 80 +end +durationcanvas 129911 classinstance_ref 128631 // :Status + xyzwh 987 159 2010 11 41 + overlappingdurationcanvas 130167 + xyzwh 993 169 2020 11 25 + end +end +durationcanvas 130423 classinstance_ref 128759 // :HistoriaZamowien + xyzwh 1179 289 2010 11 25 +end +msg 129143 synchronous + from durationcanvas_ref 128887 + to durationcanvas_ref 129015 + yz 129 2015 msg operation_ref 128119 // "createZamowienie(in tableNumber : int, in kelner : Kelner)" + show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default + args "tableNumber:int, +kelner:Kelner" + label_xy 89 98 +msg 129399 synchronous + from durationcanvas_ref 129015 + to durationcanvas_ref 129271 + yz 139 2015 msg operation_ref 128247 // "newZamowienie(in tableNumber : int, in kelner : Kelner)" + show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default + args "tableNumber:int, +kelner:Kelner" + label_xy 361 109 +msg 129655 synchronous + from durationcanvas_ref 129271 + to durationcanvas_ref 129527 + yz 147 2015 msg operation_ref 128375 // "create(in tableNumber : int, in kelner : Kelner)" + stereotype "<>" xyz 673 151 3000 + show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default + args "tableNumber:int, +kelner:Kelner" + label_xy 629 113 +msg 129783 return + from durationcanvas_ref 129527 + to durationcanvas_ref 129271 + yz 204 2015 explicitmsg "zamowienie:Zamowienie" + show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default + label_xy 628 187 +msg 130039 synchronous + from durationcanvas_ref 129527 + to durationcanvas_ref 129911 + yz 157 2015 msg operation_ref 128503 // "create()" + stereotype "<>" xyz 875 165 3000 + show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default + label_xy 886 143 +reflexivemsg 130295 synchronous + to durationcanvas_ref 130167 + yz 169 2025 msg operation_ref 128631 // "setStarted()" + show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default + label_xy 1013 149 +msg 130551 synchronous + from durationcanvas_ref 129271 + to durationcanvas_ref 130423 + yz 288 2015 msg operation_ref 128759 // "newZamowienie(in zamowienie : Zamowienie)" + show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default + args "zamowienie:Zamowienie" + label_xy 756 272 +msg 130679 return + from durationcanvas_ref 129271 + to durationcanvas_ref 129015 + yz 312 2015 explicitmsg "zamowienie:Zamowienie" + show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default + label_xy 391 297 +end diff --git a/models/128119_119.d b/models/128119_119.d new file mode 100644 index 0000000..6d86a25 --- /dev/null +++ b/models/128119_119.d @@ -0,0 +1,92 @@ +format 224 + +classinstance 128119 class_ref 128119 // ZamowienieController + name "" xyz 258.6 3.4 2005 life_line_z 2000 +classinstance 128247 class_ref 134648 // Kelner + name "" xyz 54.8 3.8 2000 life_line_z 2000 +classinstance 128375 class_ref 136824 // SystemZamowien + name "systemZamowien" xyz 482.2 3.6 2000 life_line_z 2000 +classinstance 128503 class_ref 135032 // Zamowienie + name "" xyz 779.1 4.5 2000 life_line_z 2000 +classinstance 128631 class_ref 146936 // Status + name "" xyz 964.6 3.6 2000 life_line_z 2000 +classinstance 128759 class_ref 138488 // HistoriaZamowien + name "" xyz 1118 3.6 2000 life_line_z 2000 +durationcanvas 128887 classinstance_ref 128247 // :Kelner + xyzwh 73 127.8 2010 11 225 +end +durationcanvas 129015 classinstance_ref 128119 // :ZamowienieController + xyzwh 332 128 2010 11 216 +end +durationcanvas 129271 classinstance_ref 128375 // systemZamowien:SystemZamowien + xyzwh 600 137.8 2010 11 195 +end +durationcanvas 129527 classinstance_ref 128503 // :Zamowienie + xyzwh 821 146 2010 11 80 +end +durationcanvas 129911 classinstance_ref 128631 // :Status + xyzwh 987 159.8 2010 11 41 + overlappingdurationcanvas 130167 + xyzwh 993 169 2020 11 25 + end +end +durationcanvas 130423 classinstance_ref 128759 // :HistoriaZamowien + xyzwh 1180 289.2 2010 11 25 +end +msg 129143 synchronous + from durationcanvas_ref 128887 + to durationcanvas_ref 129015 + yz 129 2015 msg operation_ref 128119 // "createZamowienie(in tableNumber : int, in kelner : Kelner)" + show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default + args "tableNumber:int, +kelner:Kelner" + label_xy 89 98 +msg 129399 synchronous + from durationcanvas_ref 129015 + to durationcanvas_ref 129271 + yz 139 2015 msg operation_ref 128247 // "newZamowienie(in tableNumber : int, in kelner : Kelner)" + show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default + args "tableNumber:int, +kelner:Kelner" + label_xy 361 109 +msg 129655 synchronous + from durationcanvas_ref 129271 + to durationcanvas_ref 129527 + yz 147 2015 msg operation_ref 128375 // "create(in tableNumber : int, in kelner : Kelner)" + stereotype "<>" xyz 673 151 3000 + show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default + args "tableNumber:int, +kelner:Kelner" + label_xy 629 113 +msg 129783 return + from durationcanvas_ref 129527 + to durationcanvas_ref 129271 + yz 204 2015 explicitmsg "zamowienie:Zamowienie" + show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default + label_xy 628 187 +msg 130039 synchronous + from durationcanvas_ref 129527 + to durationcanvas_ref 129911 + yz 157 2015 msg operation_ref 128503 // "create()" + stereotype "<>" xyz 875 165 3000 + show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default + label_xy 886 143 +reflexivemsg 130295 synchronous + to durationcanvas_ref 130167 + yz 168 2025 msg operation_ref 128631 // "setStarted()" + show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default + label_xy 1013 149 +msg 130551 synchronous + from durationcanvas_ref 129271 + to durationcanvas_ref 130423 + yz 288 2015 msg operation_ref 128759 // "newZamowienie(in zamowienie : Zamowienie)" + show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default + args "zamowienie:Zamowienie" + label_xy 756 272 +msg 130679 return + from durationcanvas_ref 129271 + to durationcanvas_ref 129015 + yz 312 2015 explicitmsg "zamowienie:Zamowienie" + show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default + label_xy 391 297 +end diff --git a/models/128247.diagram b/models/128247.diagram new file mode 100644 index 0000000..73dc2f3 --- /dev/null +++ b/models/128247.diagram @@ -0,0 +1,64 @@ +format 224 + +classinstance 128119 class_ref 134648 // Kelner + name "" xyz 50.5 4.4 2000 life_line_z 2000 +classinstance 128247 class_ref 128119 // ZamowienieController + name "" xyz 285.5 4.8 2000 life_line_z 2000 +classinstance 128375 class_ref 128038 // Pozycja_w_Menu + name "pozycja" xyz 681.1 4.8 2000 life_line_z 2000 +classinstance 128503 class_ref 135160 // Potrawa + name "" xyz 990 3.8 2000 life_line_z 2000 +classinstance 128631 class_ref 135032 // Zamowienie + name "zamowienie" xyz 1104 3.8 2000 life_line_z 2000 +durationcanvas 128759 classinstance_ref 128119 // :Kelner + xyzwh 70 86.4 2010 11 198 +end +durationcanvas 128887 classinstance_ref 128247 // :ZamowienieController + xyzwh 358 92.8 2010 11 173 +end +durationcanvas 129143 classinstance_ref 128375 // pozycja:Pozycja_w_Menu + xyzwh 766 109.4 2010 11 161 +end +durationcanvas 129399 classinstance_ref 128503 // :Potrawa + xyzwh 1019 122.2 2010 11 82 +end +durationcanvas 129783 classinstance_ref 128631 // zamowienie:Zamowienie + xyzwh 1185 245.2 2010 11 25 +end +msg 129015 synchronous + from durationcanvas_ref 128759 + to durationcanvas_ref 128887 + yz 92 2015 msg operation_ref 128887 // "addPotrawa(in pozycja : Pozycja_w_Menu, in zamowienie : Zamowienie)" + show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default + args "pozycja:Pozycja_w_Menu, +zamowienie:Zamowienie" + label_xy 94 63 +msg 129271 synchronous + from durationcanvas_ref 128887 + to durationcanvas_ref 129143 + yz 107 2015 msg operation_ref 129015 // "dodajPotraweDoZamowienia(in zamowienie : Zamowienie)" + show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default + args "zamowienie:Zamowienie" + label_xy 380 91 +msg 129527 synchronous + from durationcanvas_ref 129143 + to durationcanvas_ref 129399 + yz 120 2015 msg operation_ref 129143 // "create(in pozycja : Pozycja_w_Menu)" + stereotype "<>" xyz 852 129 3000 + show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default + args "pozycja:Pozycja_w_Menu" + label_xy 791 104 +msg 129655 return + from durationcanvas_ref 129399 + to durationcanvas_ref 129143 + yz 194 2015 explicitmsg "potrawa:Potrawa" + show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default + label_xy 841 179 +msg 129911 synchronous + from durationcanvas_ref 129143 + to durationcanvas_ref 129783 + yz 244 2015 msg operation_ref 129271 // "dodajPotrawe(in potrawa : Potrawa)" + show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default + args "potrawa:Potrawa" + label_xy 876 228 +end diff --git a/models/128247_119.d b/models/128247_119.d new file mode 100644 index 0000000..90ff5e4 --- /dev/null +++ b/models/128247_119.d @@ -0,0 +1,64 @@ +format 224 + +classinstance 128119 class_ref 134648 // Kelner + name "" xyz 50.5 4 2000 life_line_z 2000 +classinstance 128247 class_ref 128119 // ZamowienieController + name "" xyz 285.5 4 2000 life_line_z 2000 +classinstance 128375 class_ref 128038 // Pozycja_w_Menu + name "pozycja" xyz 680.5 4 2000 life_line_z 2000 +classinstance 128503 class_ref 135160 // Potrawa + name "" xyz 990 4 2000 life_line_z 2000 +classinstance 128631 class_ref 135032 // Zamowienie + name "zamowienie" xyz 1104 4 2000 life_line_z 2000 +durationcanvas 128759 classinstance_ref 128119 // :Kelner + xyzwh 70 86.5 2010 11 198 +end +durationcanvas 128887 classinstance_ref 128247 // :ZamowienieController + xyzwh 360 92 2010 11 173 +end +durationcanvas 129143 classinstance_ref 128375 // pozycja:Pozycja_w_Menu + xyzwh 766 109 2010 11 161 +end +durationcanvas 129399 classinstance_ref 128503 // :Potrawa + xyzwh 1020 122 2010 11 82 +end +durationcanvas 129783 classinstance_ref 128631 // zamowienie:Zamowienie + xyzwh 1186 245 2010 11 25 +end +msg 129015 synchronous + from durationcanvas_ref 128759 + to durationcanvas_ref 128887 + yz 92 2015 msg operation_ref 128887 // "addPotrawa(in pozycja : Pozycja_w_Menu, in zamowienie : Zamowienie)" + show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default + args "pozycja:Pozycja_w_Menu, +zamowienie:Zamowienie" + label_xy 94 63 +msg 129271 synchronous + from durationcanvas_ref 128887 + to durationcanvas_ref 129143 + yz 107 2015 msg operation_ref 129015 // "dodajPotraweDoZamowienia(in zamowienie : Zamowienie)" + show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default + args "zamowienie:Zamowienie" + label_xy 380 91 +msg 129527 synchronous + from durationcanvas_ref 129143 + to durationcanvas_ref 129399 + yz 120 2015 msg operation_ref 129143 // "create(in pozycja : Pozycja_w_Menu)" + stereotype "<>" xyz 852 129 3000 + show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default + args "pozycja:Pozycja_w_Menu" + label_xy 791 104 +msg 129655 return + from durationcanvas_ref 129399 + to durationcanvas_ref 129143 + yz 194 2015 explicitmsg "potrawa:Potrawa" + show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default + label_xy 841 179 +msg 129911 synchronous + from durationcanvas_ref 129143 + to durationcanvas_ref 129783 + yz 244 2015 msg operation_ref 129271 // "dodajPotrawe(in potrawa : Potrawa)" + show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default + args "potrawa:Potrawa" + label_xy 876 228 +end diff --git a/models/128375.diagram b/models/128375.diagram new file mode 100644 index 0000000..a344fdf --- /dev/null +++ b/models/128375.diagram @@ -0,0 +1,33 @@ +format 224 + +classinstance 128119 class_ref 134648 // Kelner + name "" xyz 63.6 5 2005 life_line_z 2000 +classinstance 128247 class_ref 128119 // ZamowienieController + name "" xyz 323.2 5.4 2000 life_line_z 2000 +classinstance 128375 class_ref 135032 // Zamowienie + name "zamowienie" xyz 579 5.4 2000 life_line_z 2000 +durationcanvas 128503 classinstance_ref 128119 // :Kelner + xyzwh 83 66 2010 11 40 +end +durationcanvas 128631 classinstance_ref 128247 // :ZamowienieController + xyzwh 397 82.2 2010 11 25 +end +durationcanvas 128887 classinstance_ref 128375 // zamowienie:Zamowienie + xyzwh 660 94.8 2010 11 25 +end +msg 128759 synchronous + from durationcanvas_ref 128503 + to durationcanvas_ref 128631 + yz 79 2015 msg operation_ref 129399 // "deletePotrawa(in potrawa : Potrawa, in zamowienie : Zamowienie)" + show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default + args "potrawa:Potrawa, +zamowienie:Zamowienie" + label_xy 110 48 +msg 129015 synchronous + from durationcanvas_ref 128631 + to durationcanvas_ref 128887 + yz 91 2015 msg operation_ref 129527 // "deletePotrawa(in potrawa : Potrawa)" + show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default + args "potrawa:Potrawa" + label_xy 426 77 +end diff --git a/models/128375_119.d b/models/128375_119.d new file mode 100644 index 0000000..ad69570 --- /dev/null +++ b/models/128375_119.d @@ -0,0 +1,33 @@ +format 224 + +classinstance 128119 class_ref 134648 // Kelner + name "" xyz 63.2 5 2005 life_line_z 2000 +classinstance 128247 class_ref 128119 // ZamowienieController + name "" xyz 322.6 5.2 2000 life_line_z 2000 +classinstance 128375 class_ref 135032 // Zamowienie + name "zamowienie" xyz 579 5.2 2000 life_line_z 2000 +durationcanvas 128503 classinstance_ref 128119 // :Kelner + xyzwh 83 66 2010 11 40 +end +durationcanvas 128631 classinstance_ref 128247 // :ZamowienieController + xyzwh 396 82.2 2010 11 25 +end +durationcanvas 128887 classinstance_ref 128375 // zamowienie:Zamowienie + xyzwh 660 94.6 2010 11 25 +end +msg 128759 synchronous + from durationcanvas_ref 128503 + to durationcanvas_ref 128631 + yz 79 2015 msg operation_ref 129399 // "deletePotrawa(in potrawa : Potrawa, in zamowienie : Zamowienie)" + show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default + args "potrawa:Potrawa, +zamowienie:Zamowienie" + label_xy 110 48 +msg 129015 synchronous + from durationcanvas_ref 128631 + to durationcanvas_ref 128887 + yz 91 2015 msg operation_ref 129527 // "deletePotrawa(in potrawa : Potrawa)" + show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default + args "potrawa:Potrawa" + label_xy 426 77 +end diff --git a/models/128503.diagram b/models/128503.diagram new file mode 100644 index 0000000..1b78954 --- /dev/null +++ b/models/128503.diagram @@ -0,0 +1,42 @@ +format 224 + +classinstance 128119 class_ref 134648 // Kelner + name "" xyz 61.4 4.2 2005 life_line_z 2000 +classinstance 128247 class_ref 128119 // ZamowienieController + name "" xyz 339.2 3.8 2000 life_line_z 2000 +durationcanvas 128375 classinstance_ref 128119 // :Kelner + xyzwh 81 95.2 2010 11 40 +end +durationcanvas 128503 classinstance_ref 128247 // :ZamowienieController + xyzwh 413 102 2010 11 127 + overlappingdurationcanvas 128759 + xyzwh 419 124.8 2020 11 25 + end + overlappingdurationcanvas 129015 + xyzwh 419 171.4 2020 11 25 + end +end +msg 128631 synchronous + from durationcanvas_ref 128375 + to durationcanvas_ref 128503 + yz 105 2015 msg operation_ref 129655 // "swapPotrawa(in oldPotrawa : Potrawa, in newPozycja : Pozycja_w_Menu, in zamowienie : Zamowienie)" + show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default + args "oldPotrawa:Potrawa, +newPozycja:Pozycja_w_Menu, +zamowienie:Zamowienie" + label_xy 105 56 +reflexivemsg 128887 synchronous + to durationcanvas_ref 128759 + yz 124 2025 msg operation_ref 129399 // "deletePotrawa(in potrawa : Potrawa, in zamowienie : Zamowienie)" + show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default + args "potrawa : Potrawa, +zamowienie : Zamowienie" + label_xy 452 91 +reflexivemsg 129143 synchronous + to durationcanvas_ref 129015 + yz 171 2025 msg operation_ref 128887 // "addPotrawa(in pozycja : Pozycja_w_Menu, in zamowienie : Zamowienie)" + show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default + args "pozycja : Pozycja_w_Menu, +zamowienie : Zamowienie" + label_xy 448 153 +end diff --git a/models/128503_119.d b/models/128503_119.d new file mode 100644 index 0000000..b412f00 --- /dev/null +++ b/models/128503_119.d @@ -0,0 +1,42 @@ +format 224 + +classinstance 128119 class_ref 134648 // Kelner + name "" xyz 61.6 4 2005 life_line_z 2000 +classinstance 128247 class_ref 128119 // ZamowienieController + name "" xyz 338.8 4.4 2000 life_line_z 2000 +durationcanvas 128375 classinstance_ref 128119 // :Kelner + xyzwh 81 95.4 2010 11 40 +end +durationcanvas 128503 classinstance_ref 128247 // :ZamowienieController + xyzwh 412 102.2 2010 11 127 + overlappingdurationcanvas 128759 + xyzwh 418 124.8 2020 11 25 + end + overlappingdurationcanvas 129015 + xyzwh 418 171.4 2020 11 25 + end +end +msg 128631 synchronous + from durationcanvas_ref 128375 + to durationcanvas_ref 128503 + yz 105 2015 msg operation_ref 129655 // "swapPotrawa()" + show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default + args "oldPotrawa:Potrawa, +newPozycja:Pozycja_w_Menu, +zamowienie:Zamowienie" + label_xy 105 56 +reflexivemsg 128887 synchronous + to durationcanvas_ref 128759 + yz 124 2025 msg operation_ref 129399 // "deletePotrawa(in potrawa : Potrawa, in zamowienie : Zamowienie)" + show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default + args "potrawa : Potrawa, +zamowienie : Zamowienie" + label_xy 452 91 +reflexivemsg 129143 synchronous + to durationcanvas_ref 129015 + yz 171 2025 msg operation_ref 128887 // "addPotrawa(in pozycja : Pozycja_w_Menu, in zamowienie : Zamowienie)" + show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default + args "pozycja : Pozycja_w_Menu, +zamowienie : Zamowienie" + label_xy 448 153 +end diff --git a/models/128631.diagram b/models/128631.diagram new file mode 100644 index 0000000..040b655 --- /dev/null +++ b/models/128631.diagram @@ -0,0 +1,43 @@ +format 224 + +classinstance 128119 class_ref 134648 // Kelner + name "" xyz 54 4.5 2005 life_line_z 2000 +classinstance 128247 class_ref 128119 // ZamowienieController + name "" xyz 355.3 4.6 2000 life_line_z 2000 +classinstance 128375 class_ref 135032 // Zamowienie + name "zamowienie" xyz 567.2 4.6 2000 life_line_z 2000 +classinstancecanvas 128503 classinstance_ref 129574 // status + xyz 818.4 4.6 2000 life_line_z 2000 +end +durationcanvas 128631 classinstance_ref 128119 // :Kelner + xyzwh 74 76.4 2010 11 71 +end +durationcanvas 128759 classinstance_ref 128247 // :ZamowienieController + xyzwh 429 75.4 2010 11 73 +end +durationcanvas 129015 classinstance_ref 128375 // zamowienie:Zamowienie + xyzwh 646 87.6 2010 11 54 +end +durationcanvas 129271 classinstance_ref 128503 // status:Status + xyzwh 861 100.8 2010 11 25 +end +msg 128887 synchronous + from durationcanvas_ref 128631 + to durationcanvas_ref 128759 + yz 76 2015 msg operation_ref 129783 // "zamowienieAccepted(in zamowienie : Zamowienie)" + show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default + args "zamowienie:Zamowienie" + label_xy 95 59 +msg 129143 synchronous + from durationcanvas_ref 128759 + to durationcanvas_ref 129015 + yz 87 2020 msg operation_ref 129911 // "accept()" + show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default + label_xy 517 71 +msg 129399 synchronous + from durationcanvas_ref 129015 + to durationcanvas_ref 129271 + yz 99 2015 msg operation_ref 130039 // "setInProgress()" + show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default + label_xy 710 83 +end diff --git a/models/128631_119.d b/models/128631_119.d new file mode 100644 index 0000000..1d981c1 --- /dev/null +++ b/models/128631_119.d @@ -0,0 +1,7 @@ +format 224 + +classinstance 128119 class_ref 134648 // Kelner + name "" xyz 54.5 5 2005 life_line_z 2000 +classinstance 128247 class_ref 128119 // ZamowienieController + name "" xyz 288 3.6 2000 life_line_z 2000 +end diff --git a/models/128759.diagram b/models/128759.diagram new file mode 100644 index 0000000..23ab881 --- /dev/null +++ b/models/128759.diagram @@ -0,0 +1,33 @@ +format 224 + +classinstance 128119 class_ref 134648 // Kelner + name "" xyz 82.7 4.4 2000 life_line_z 2000 +classinstance 128247 class_ref 128119 // ZamowienieController + name "" xyz 369.2 4.6 2000 life_line_z 2000 +classinstance 128375 class_ref 135032 // Zamowienie + name "zamowienie" xyz 603.6 4.6 2000 life_line_z 2000 +durationcanvas 128631 classinstance_ref 128119 // :Kelner + xyzwh 102 67.4 2010 11 40 +end +durationcanvas 128759 classinstance_ref 128247 // :ZamowienieController + xyzwh 443 77.6 2010 11 25 +end +durationcanvas 129015 classinstance_ref 128375 // zamowienie:Zamowienie + xyzwh 684 84.2 2010 11 25 +end +msg 128887 synchronous + from durationcanvas_ref 128631 + to durationcanvas_ref 128759 + yz 75 2015 msg operation_ref 130167 // "changeStolikNumber(in zamowienie : Zamowienie, in tableNumber : int)" + show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default + args "zamowienie:Zamowienie, +tableNumber:int" + label_xy 118 44 +msg 129143 synchronous + from durationcanvas_ref 128759 + to durationcanvas_ref 129015 + yz 83 2015 msg operation_ref 130295 // "setStolikNumber(in newStolik : int)" + show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default + args "newStolik:int" + label_xy 470 67 +end diff --git a/models/models.prj b/models/models.prj index 4263801..eed5291 100644 --- a/models/models.prj +++ b/models/models.prj @@ -1,7 +1,7 @@ -format 223 +format 224 "models" - revision 19 - modified_by 38 "Mateusz" + revision 20 + modified_by 119 "marcin" @@ -70,7 +70,7 @@ format 223 end class 134648 "Kelner" - visibility package + visibility package stereotype "actor" cpp_decl "" java_decl "" php_decl "" @@ -270,6 +270,61 @@ format 223 + end + + operation 128375 "create" + public explicit_return_type "" + nparams 2 + param in name "tableNumber" explicit_type "int" + param in name "kelner" type class_ref 134648 // Kelner + + + + + + end + + operation 129271 "dodajPotrawe" + public explicit_return_type "" + nparams 1 + param in name "potrawa" type class_ref 135160 // Potrawa + + + + + + end + + operation 129527 "deletePotrawa" + public explicit_return_type "" + nparams 1 + param in name "potrawa" type class_ref 135160 // Potrawa + + + + + + end + + operation 129911 "accept" + public explicit_return_type "" + nparams 0 + + + + + + end + + operation 130295 "setStolikNumber" + public explicit_return_type "" + nparams 1 + param in name "newStolik" explicit_type "int" + + + + + end end @@ -305,6 +360,17 @@ format 223 classrelation 128421 // < robionaWedlug relation_ref 128165 // < robionaWedlug + end + + operation 129143 "create" + public explicit_return_type "" + nparams 1 + param in name "pozycja" type class_ref 128038 // Pozycja_w_Menu + + + + + end end @@ -690,6 +756,18 @@ format 223 + end + + operation 128247 "newZamowienie" + public explicit_return_type "" + nparams 2 + param in name "tableNumber" explicit_type "int" + param in name "kelner" type class_ref 134648 // Kelner + + + + + end end @@ -1029,6 +1107,17 @@ format 223 classrelation_ref 130342 // (zawiera >) b role_name "" multiplicity "1" private classrelation_ref 130470 // zawiera > + end + + operation 128759 "newZamowienie" + public explicit_return_type "" + nparams 1 + param in name "zamowienie" type class_ref 135032 // Zamowienie + + + + + end end @@ -1354,6 +1443,17 @@ format 223 idl_decl "" mysql_decl "" MysqlColumn + end + + operation 129015 "dodajPotraweDoZamowienia" + public explicit_return_type "" + nparams 1 + param in name "zamowienie" type class_ref 135032 // Zamowienie + + + + + end end @@ -1546,6 +1646,36 @@ format 223 + end + + operation 128503 "create" + public explicit_return_type "" + nparams 0 + + + + + + end + + operation 128631 "setStarted" + public explicit_return_type "" + nparams 0 + + + + + + end + + operation 130039 "setInProgress" + public explicit_return_type "" + nparams 0 + + + + + end end end @@ -1672,7 +1802,6 @@ format 223 end - end classinstance 141477 "" @@ -1884,7 +2013,6 @@ format 223 end - end classinstance 155813 "" @@ -2245,7 +2373,7 @@ format 223 end end - classinstance 129574 "" + classinstance 129574 "status" type class_ref 146936 // Status attributes end @@ -2260,5 +2388,118 @@ format 223 relations end end + + sequencediagram 128119 "3-1-stworzenieZamowienia" + sequencediagramsettings end + overlapping_bars size A0 + end + + class 128119 "ZamowienieController" + visibility package + cpp_decl "" + java_decl "" + php_decl "" + python_2_2 python_decl "" + idl_decl "" + explicit_switch_type "" + mysql_decl "" + + operation 128119 "createZamowienie" + public explicit_return_type "" + nparams 2 + param in name "tableNumber" explicit_type "int" + param in name "kelner" type class_ref 134648 // Kelner + + + + + + end + + operation 128887 "addPotrawa" + public explicit_return_type "" + nparams 2 + param in name "pozycja" type class_ref 128038 // Pozycja_w_Menu + param in name "zamowienie" type class_ref 135032 // Zamowienie + + + + + + end + + operation 129399 "deletePotrawa" + public explicit_return_type "" + nparams 2 + param in name "potrawa" type class_ref 135160 // Potrawa + param in name "zamowienie" type class_ref 135032 // Zamowienie + + + + + + end + + operation 129655 "swapPotrawa" + public explicit_return_type "" + nparams 3 + param in name "oldPotrawa" type class_ref 135160 // Potrawa + param in name "newPozycja" type class_ref 128038 // Pozycja_w_Menu + param in name "zamowienie" type class_ref 135032 // Zamowienie + + + + + + end + + operation 129783 "zamowienieAccepted" + public explicit_return_type "" + nparams 1 + param in name "zamowienie" type class_ref 135032 // Zamowienie + + + + + + end + + operation 130167 "changeStolikNumber" + public explicit_return_type "" + nparams 2 + param in name "zamowienie" type class_ref 135032 // Zamowienie + param in name "tableNumber" explicit_type "int" + + + + + + end + end + + sequencediagram 128247 "3-2-dodanieProduktuDoZamowienia" + sequencediagramsettings end + overlapping_bars size A0 + end + + sequencediagram 128375 "3-3-usuniecieProduktuZZamowienia" + sequencediagramsettings end + overlapping_bars size A0 + end + + sequencediagram 128503 "3-4-zmianaProduktuZZamowieniaNaInny" + sequencediagramsettings end + overlapping_bars size A4 + end + + sequencediagram 128631 "3-5-zatwierdzenieZamowienia" + sequencediagramsettings end + overlapping_bars size A0 + end + + sequencediagram 128759 "3-6-zmianaNumeruStolika" + sequencediagramsettings end + overlapping_bars size A0 + end end end