diff --git a/models/128008.diagram b/models/128008.diagram new file mode 100644 index 0000000..0f54450 --- /dev/null +++ b/models/128008.diagram @@ -0,0 +1,83 @@ +format 224 + +statecanvas 129672 state_ref 128136 // Utworzone + + xyzwh 169 82 2000 135 37 +end +statecanvas 129800 state_ref 128264 // Modyfikowane + + xyzwh 428 82 2000 137 37 +end +statecanvas 129928 state_ref 128392 // Gotowe + + xyzwh 732.5 188 2000 75 37 +end +statecanvas 130056 state_ref 128520 // Dostarczone + + xyzwh 434 187.5 2000 109 37 +end +statecanvas 130184 state_ref 128648 // WTrakcieOplacania + + xyzwh 194 187.5 2000 153 37 +end +pseudostatecanvas 130440 pseudostate_ref 128648 // initial + xyz 22.5 89 2000 +end +statecanvas 130824 state_ref 128904 // Przygotowywanie + + xyzwh 686 84 2000 141 37 +end +pseudostatecanvas 130952 pseudostate_ref 128776 // exit_point Anulowane + xyz 370.5 6.5 3005 label_xy 352 25 +end +pseudostatecanvas 131848 pseudostate_ref 128904 // final Oplacone + xyz 43.5 184 2006 +end +transitioncanvas 130568 transition_ref 128008 // stworzZamowienie + + from ref 130440 z 2001 label "stworzZamowienie" xyz 61 83 2001 stereotype "<>" xyz 78 96 3000 to ref 129672 + write_horizontally default show_definition default drawing_language default +end +transitioncanvas 130696 transition_ref 128136 // dodajDodatki + + from ref 129672 z 2001 label "dodajDodatki" xyz 337 86 2001 to ref 129800 + write_horizontally default show_definition default drawing_language default +end +transitioncanvas 131080 transition_ref 128264 // anulujZamowienie + + from ref 129672 z 3006 label "anulujZamowienie" xyz 217 40 3006 to ref 130952 + write_horizontally default show_definition default drawing_language default +end +transitioncanvas 131208 transition_ref 128392 // anulujZamowienie + + from ref 129800 z 3006 label "anulujZamowienie" xyz 443 41 3006 to ref 130952 + write_horizontally default show_definition default drawing_language default +end +transitioncanvas 131336 transition_ref 128520 // zatwierdzZamowienie + + from ref 129800 z 2001 label "zatwierdzZamowienie" xyz 577 77 2001 to ref 130824 + write_horizontally default show_definition default drawing_language default +end +transitioncanvas 131464 transition_ref 128648 // wydajZamowienie + decenter_end 388 + + from ref 130824 z 2001 label "wydajZamowienie" xyz 665 143 2001 to ref 129928 + write_horizontally default show_definition default drawing_language default +end +transitioncanvas 131592 transition_ref 128776 // zatwierdzDostarczenieZamowienia + + from ref 129928 z 2001 label "zatwierdzDostarczenieZamowienia" xyz 551 187 2001 to ref 130056 + write_horizontally default show_definition default drawing_language default +end +transitioncanvas 131720 transition_ref 128904 // przejdzDoPlatnosci + + from ref 130056 z 2001 label "przejdzDoPlatnosci" xyz 345 183 2001 to ref 130184 + write_horizontally default show_definition default drawing_language default +end +transitioncanvas 132488 transition_ref 129288 // dokonajPlatnosci + decenter_begin 310 + + from ref 130184 z 2007 label "dokonajPlatnosci" xyz 85.5 181.5 2007 to ref 131848 + write_horizontally default show_definition default drawing_language default +end +end diff --git a/models/128008_8.d b/models/128008_8.d new file mode 100644 index 0000000..2df399b --- /dev/null +++ b/models/128008_8.d @@ -0,0 +1,83 @@ +format 224 + +statecanvas 129672 state_ref 128136 // Utworzone + + xyzwh 169 82 2000 135 37 +end +statecanvas 129800 state_ref 128264 // Modyfikowane + + xyzwh 428 82 2000 137 37 +end +statecanvas 129928 state_ref 128392 // Gotowe + + xyzwh 732 188 2000 75 37 +end +statecanvas 130056 state_ref 128520 // Dostarczone + + xyzwh 434 187 2000 109 37 +end +statecanvas 130184 state_ref 128648 // WTrakcieOplacania + + xyzwh 211 188 2000 153 37 +end +pseudostatecanvas 130440 pseudostate_ref 128648 // initial + xyz 22 89 2000 +end +statecanvas 130824 state_ref 128904 // Przygotowywanie + + xyzwh 686 84 2000 141 37 +end +pseudostatecanvas 130952 pseudostate_ref 128776 // exit_point Anulowane + xyz 370 6 3005 label_xy 352 25 +end +pseudostatecanvas 131848 pseudostate_ref 128904 // final Oplacone + xyz 43 184 2006 +end +transitioncanvas 130568 transition_ref 128008 // stworzZamowienie + + from ref 130440 z 2001 label "stworzZamowienie" xyz 61 83 2001 stereotype "<>" xyz 78 96 3000 to ref 129672 + write_horizontally default show_definition default drawing_language default +end +transitioncanvas 130696 transition_ref 128136 // dodajDodatki + + from ref 129672 z 2001 label "dodajDodatki" xyz 334 96 2001 to ref 129800 + write_horizontally default show_definition default drawing_language default +end +transitioncanvas 131080 transition_ref 128264 // anulujZamowienie + + from ref 129672 z 3006 label "anulujZamowienie" xyz 217 40 3006 to ref 130952 + write_horizontally default show_definition default drawing_language default +end +transitioncanvas 131208 transition_ref 128392 // anulujZamowienie + + from ref 129800 z 3006 label "anulujZamowienie" xyz 443 41 3006 to ref 130952 + write_horizontally default show_definition default drawing_language default +end +transitioncanvas 131336 transition_ref 128520 // zatwierdzZamowienie + + from ref 129800 z 2001 label "zatwierdzZamowienie" xyz 577 77 2001 to ref 130824 + write_horizontally default show_definition default drawing_language default +end +transitioncanvas 131464 transition_ref 128648 // wydajZamowienie + decenter_end 388 + + from ref 130824 z 2001 label "wydajZamowienie" xyz 665 143 2001 to ref 129928 + write_horizontally default show_definition default drawing_language default +end +transitioncanvas 131592 transition_ref 128776 // zatwierdzDostarczenieZamowienia + + from ref 129928 z 2001 label "zatwierdzDostarczenieZamowienia" xyz 536 187 2001 to ref 130056 + write_horizontally default show_definition default drawing_language default +end +transitioncanvas 131720 transition_ref 128904 // przejdzDoPlatnosci + + from ref 130056 z 2001 label "przejdzDoPlatnosci" xyz 338 184 2001 to ref 130184 + write_horizontally default show_definition default drawing_language default +end +transitioncanvas 132488 transition_ref 129288 // dokonajPlatnosci + decenter_begin 310 + + from ref 130184 z 2007 label "dokonajPlatnosci" xyz 106 178 2007 to ref 131848 + write_horizontally default show_definition default drawing_language default +end +end diff --git a/models/128233_8.d b/models/128233_8.d new file mode 100644 index 0000000..c04a97d --- /dev/null +++ b/models/128233_8.d @@ -0,0 +1,57 @@ +format 224 + +classinstance 128105 class_ref 128539 // Kelner + name "" xyz -7.1 4.2 2000 life_line_z 2000 +classinstance 128233 class_ref 128105 // ZarzadzanieZamowieniamiController + name "" xyz 58.9 4.9 2000 life_line_z 2000 +classinstance 128361 class_ref 128233 // ZarzadcaZamowien + name "" xyz 274.5 4.9 2000 life_line_z 2000 +classinstance 128489 class_ref 128283 // Zamowienie + name "" xyz 664.1 4.9 2000 life_line_z 2000 +durationcanvas 128617 classinstance_ref 128105 // :Kelner + xyzwh 5 83 2010 11 40 +end +durationcanvas 128745 classinstance_ref 128233 // :ZarzadzanieZamowieniamiController + xyzwh 147 87 2010 11 275 +end +durationcanvas 129001 classinstance_ref 128361 // :ZarzadcaZamowien + xyzwh 322 139 2010 11 190 + overlappingdurationcanvas 129769 + xyzwh 328 288 2020 11 25 + end +end +durationcanvas 129257 classinstance_ref 128489 // :Zamowienie + xyzwh 695 186 2010 11 75 +end +msg 128873 synchronous + from durationcanvas_ref 128617 + to durationcanvas_ref 128745 + yz 87 2015 explicitmsg "stworzZamowienie()" + show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default + label_xy 32 62 +msg 129129 synchronous + from durationcanvas_ref 128745 + to durationcanvas_ref 129001 + yz 145 2015 explicitmsg "stworzZamowienie()" + show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default + label_xy 200 123 +msg 129385 synchronous + from durationcanvas_ref 129001 + to durationcanvas_ref 129257 + yz 188 2015 explicitmsg "zamowienie = create(): Zamowienie" + stereotype "<>" xyz 397 172 3000 + show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default + label_xy 459 171 +msg 129641 return + from durationcanvas_ref 129257 + to durationcanvas_ref 129001 + yz 244 2015 explicitmsg "zamowienie" + show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default + label_xy 488 228 +reflexivemsg 129897 synchronous + to durationcanvas_ref 129769 + yz 288 2025 explicitmsg "dodajZamowienie()" + show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default + args "zamowienie: Zamowienie" + label_xy 405 272 +end diff --git a/models/128489_8.d b/models/128489_8.d new file mode 100644 index 0000000..daa2ac5 --- /dev/null +++ b/models/128489_8.d @@ -0,0 +1,108 @@ +format 224 + +classinstance 128105 class_ref 128539 // Kelner + name "" xyz 389.93 21.67 2000 +classinstance 128233 class_ref 128105 // ZarzadzanieZamowieniamiController + name "" xyz 311.52 108.2 2000 +classinstance 128617 class_ref 128233 // ZarzadcaZamowien + name "" xyz 351.57 250.89 2000 +classinstance 129257 class_ref 128283 // Zamowienie + name "" xyz 35.44 250.72 2000 +classinstance 130409 class_ref 141289 // MenedzerBazyDanych + name "" xyz 346.31 427.45 2000 +classinstance 130793 class_ref 141417 // BazaDanych + name "" xyz 368.83 544.09 2000 +classinstance 132329 class_ref 147945 // FabrykaPotraw + name "" xyz 28 543.4 2000 +linkcanvas 129001 + from ref 128105 z 2001 to ref 128233 +dirscanvas 129769 z 1000 linkcanvas_ref 129001 + + forward_label "1 dodajPotrawe(zamowienieId: int, przepisId: int): Stan" xyz 426 80 3000 +linkcanvas 129129 + from ref 128233 z 2001 to ref 128617 +dirscanvas 129897 z 1000 linkcanvas_ref 129129 + + forward_label "2 dodajPotrawe(zamowienieId: int, przepisId: int): Stan" xyz 424 187 3000 + backward_label "13 [czyDostepne] stanSygnalizujacyOSukcesie: Stan +14 [not czyDostepne] stanSygnalizujacyOBledzie: Stan" xyz 126 178 3000 +linkcanvas 130921 + from ref 130793 z 2001 to ref 130409 +dirscanvas 131049 z 1000 linkcanvas_ref 130921 + + forward_label "9 czyDostepne" xyz 335 492 3000 + backward_label "8 czyDostepne = czyWszystkieProduktySaDostepne(potrawa: Potrawa, 1: int): bool +10 [czyDostepne] zmienLicznoscProduktowZPotrawy(potrawa: Potrawa, -1: int)" xyz 424 485 3000 +linkcanvas 131945 + from ref 128617 z 2001 to ref 129257 +dirscanvas 132713 z 1000 linkcanvas_ref 131945 + + forward_label "3 potrawa = stworzPotrawe(przepisId: int): Potrawa +12 [czyDostepne] dodajPotrawe(potrawa: Potrawa)" xyz 111 279 3000 + backward_label "6 potrawa" xyz 214 233 3000 +linkcanvas 132457 + from ref 129257 z 2001 to ref 132329 +dirscanvas 132969 z 1000 linkcanvas_ref 132457 + + forward_label "4 potrawa = stworzPotrawe(przepisId: int): Potrawa" xyz 90 404 3000 + backward_label "5 potrawa" xyz 20 403 3000 +linkcanvas 132585 + from ref 128617 z 2001 to ref 130409 +dirscanvas 133097 z 1000 linkcanvas_ref 132585 + + forward_label "7 czyDostepne = odejmijProdukty(potrawa: Potrawa, 1: int): bool" xyz 423 346 3000 + backward_label "11 czyDostepne" xyz 334 345 3000 +msgs + explicitmsg "dodajPotrawe(zamowienieId: int, przepisId: int): Stan" + forward ranks 1 "1" dirscanvas_ref 129769 + msgs + explicitmsg "dodajPotrawe(zamowienieId: int, przepisId: int): Stan" + forward ranks 2 "1.1" dirscanvas_ref 129897 + msgs + explicitmsg "potrawa = stworzPotrawe(przepisId: int): Potrawa" + forward ranks 3 "1.1.1" dirscanvas_ref 132713 + msgs + explicitmsg "potrawa = stworzPotrawe(przepisId: int): Potrawa" + forward ranks 4 "1.1.1.1" dirscanvas_ref 132969 + msgs + explicitmsg "potrawa" + backward ranks 5 "1.1.1.1.1" dirscanvas_ref 132969 + msgs + explicitmsg "potrawa" + backward ranks 6 "1.1.1.1.1.1" dirscanvas_ref 132713 + msgs + explicitmsg "czyDostepne = odejmijProdukty(potrawa: Potrawa, 1: int): bool" + forward ranks 7 "1.1.1.1.1.1.1" dirscanvas_ref 133097 + no_msg + msgsend + msgsend + msgsend + msgsend + msgsend + msgsend + explicitmsg "czyDostepne = czyWszystkieProduktySaDostepne(potrawa: Potrawa, 1: int): bool" + backward ranks 8 "2" dirscanvas_ref 131049 + msgs + explicitmsg "czyDostepne" + forward ranks 9 "2.1" dirscanvas_ref 131049 + msgs + explicitmsg "[czyDostepne] zmienLicznoscProduktowZPotrawy(potrawa: Potrawa, -1: int)" + backward ranks 10 "2.1.1" dirscanvas_ref 131049 + no_msg + msgsend + msgsend + explicitmsg "czyDostepne" + backward ranks 11 "3" dirscanvas_ref 133097 + msgs + explicitmsg "[czyDostepne] dodajPotrawe(potrawa: Potrawa)" + forward ranks 12 "3.1" dirscanvas_ref 132713 + no_msg + explicitmsg "[czyDostepne] stanSygnalizujacyOSukcesie: Stan" + backward ranks 13 "3.2" dirscanvas_ref 129897 + no_msg + explicitmsg "[not czyDostepne] stanSygnalizujacyOBledzie: Stan" + backward ranks 14 "3.3" dirscanvas_ref 129897 + no_msg + msgsend +msgsend +end diff --git a/models/135145_8.d b/models/135145_8.d new file mode 100644 index 0000000..3258e39 --- /dev/null +++ b/models/135145_8.d @@ -0,0 +1,119 @@ +format 224 + +classinstance 128105 class_ref 128539 // Kelner + name "" xyz 418.45 6.69 2000 +classinstance 128233 class_ref 128105 // ZarzadzanieZamowieniamiController + name "" xyz 341.84 107.65 2000 +classinstance 128361 class_ref 128233 // ZarzadcaZamowien + name "" xyz 380.98 234.72 2000 +classinstance 128489 class_ref 128283 // Zamowienie + name "" xyz 41.69 235.15 2000 +classinstance 128617 class_ref 128136 // Potrawa + name "potrawa" xyz 29.11 394.62 2000 +classinstance 129897 class_ref 141289 // MenedzerBazyDanych + name "" xyz 179.11 462.28 2000 +classinstance 130025 class_ref 141417 // BazaDanych + name "" xyz 202.89 565.8 2000 +linkcanvas 128745 + from ref 128105 z 2001 to ref 128233 +dirscanvas 128873 z 1000 linkcanvas_ref 128745 + + forward_label "1 zmienLicznosc(zamowienieId: int, potrawaId: int, nowaLicznosc: int): Stan" xyz 455 70 3000 +linkcanvas 129001 + from ref 128233 z 2001 to ref 128361 +dirscanvas 129385 z 1000 linkcanvas_ref 129001 + + forward_label "2 zmienLicznosc(zamowienieId: int, potrawaId: int, nowaLicznosc: int): Stan" xyz 454 179 3000 + backward_label "14 [not czyDostepne] stanSygnalizujacyOBledzie: Stan +15 [czyDostepne] stanSygnalizujacyOSukcesie: Stan" xyz 156 168 3000 +linkcanvas 129129 + from ref 128361 z 2001 to ref 128489 +dirscanvas 129513 z 1000 linkcanvas_ref 129129 + + forward_label "3 potrawa = zwrocPotrawe(potrawaId: int): Potrawa" xyz 161 266 3000 + backward_label "5 potrawa" xyz 231 217 3000 +linkcanvas 129257 + from ref 128489 z 2001 to ref 128617 +dirscanvas 129641 z 1000 linkcanvas_ref 129257 + + backward_label "4 potrawa" xyz 25 321 3000 +linkcanvas 130281 decenter_end 504 + from ref 129897 z 2001 to ref 130025 +dirscanvas 130793 z 1000 linkcanvas_ref 130281 + + forward_label "9 czyDostepne = czyWszystkieProduktySaDostepne(potrawa: Potrawa, liczbaOdejmowanaOdLicznosci: int): bool +11 [czyDostepne] zmienLicznoscProduktowZPotrawy(potrawa: Potrawa, -roznica: int)" xyz 258 509 3000 + backward_label "10 czyDostepne" xyz 168 521 3000 +selflinkcanvas 134505 classinstance_ref 129897 // :MenedzerBazyDanych + xy 316 475 + + forward_label "8 liczbaOdejmowanaOdLicznosci = max(0, roznica): int" xyz 315 471 3000 +linkcanvas 135017 + from ref 128361 z 2001 to point 433 383 + line 136553 z 2001 to point 237 383 + line 136425 z 2001 to ref 129897 +dirscanvas 135273 z 1000 linkcanvas_ref 136425 + + forward_label "7 czyDostepne = zmienLicznoscProduktow(potrawa: Potrawa, roznica: int): bool" xyz 257 420 3000 + backward_label "12 czyDostepne" xyz 168 418 3000 +selflinkcanvas 135145 classinstance_ref 128361 // :ZarzadcaZamowien + xy 498 247 + + forward_label "6 roznica = nowaLicznosc - potrawa.licznosc +13 [czyDostepne] potrawa.zmienLicznosc(nowaLicznosc: int)" xyz 505 236 3000 +msgs + explicitmsg "zmienLicznosc(zamowienieId: int, potrawaId: int, nowaLicznosc: int): Stan" + forward ranks 1 "1" dirscanvas_ref 128873 + msgs + explicitmsg "zmienLicznosc(zamowienieId: int, potrawaId: int, nowaLicznosc: int): Stan" + forward ranks 2 "1.1" dirscanvas_ref 129385 + msgs + explicitmsg "potrawa = zwrocPotrawe(potrawaId: int): Potrawa" + forward ranks 3 "1.1.1" dirscanvas_ref 129513 + no_msg + msgsend + msgsend + explicitmsg "potrawa" + backward ranks 4 "2" dirscanvas_ref 129641 + msgs + explicitmsg "potrawa" + backward ranks 5 "2.1" dirscanvas_ref 129513 + msgs + explicitmsg "roznica = nowaLicznosc - potrawa.licznosc" + forward ranks 6 "2.1.1" selflinkcanvas_ref 135145 + msgs + explicitmsg "czyDostepne = zmienLicznoscProduktow(potrawa: Potrawa, roznica: int): bool" + forward ranks 7 "2.1.1.1" dirscanvas_ref 135273 + no_msg + msgsend + msgsend + msgsend + explicitmsg "liczbaOdejmowanaOdLicznosci = max(0, roznica): int" + forward ranks 8 "3" selflinkcanvas_ref 134505 + msgs + explicitmsg "czyDostepne = czyWszystkieProduktySaDostepne(potrawa: Potrawa, liczbaOdejmowanaOdLicznosci: int): bool" + forward ranks 9 "3.1" dirscanvas_ref 130793 + no_msg + msgsend + explicitmsg "czyDostepne" + backward ranks 10 "4" dirscanvas_ref 130793 + msgs + explicitmsg "[czyDostepne] zmienLicznoscProduktowZPotrawy(potrawa: Potrawa, -roznica: int)" + forward ranks 11 "4.1" dirscanvas_ref 130793 + no_msg + msgsend + explicitmsg "czyDostepne" + backward ranks 12 "5" dirscanvas_ref 135273 + msgs + explicitmsg "[czyDostepne] potrawa.zmienLicznosc(nowaLicznosc: int)" + forward ranks 13 "5.1" selflinkcanvas_ref 135145 + no_msg + msgsend + explicitmsg "[not czyDostepne] stanSygnalizujacyOBledzie: Stan" + backward ranks 14 "6" dirscanvas_ref 129385 + no_msg + explicitmsg "[czyDostepne] stanSygnalizujacyOSukcesie: Stan" + backward ranks 15 "7" dirscanvas_ref 129385 + no_msg +msgsend +end diff --git a/models/141723.diagram b/models/141723.diagram index 0826dde..a449be9 100644 --- a/models/141723.diagram +++ b/models/141723.diagram @@ -2,120 +2,120 @@ format 224 classcanvas 128027 class_ref 154473 // System classdiagramsettings member_max_width 0 end - xyz 394.1 1335.3 2000 + xyz 394.54 1335.76 2000 end classcanvas 128155 class_ref 128105 // ZarzadzanieZamowieniamiController classdiagramsettings member_max_width 0 end - xyz 1737.5 1279.35 2000 + xyz 1737.9 1279.77 2000 end note 128233 "Tworzenie potraw poprzez fabryke umozliwi zminimalizowanie ilosci bledow jakie jestesmy w stanie popelnic recznie tworzac potrawy za kazdym razem jak ich potrzebujemy. Wszystkie przepisy znajda sie w jednej spójnej klasie, przez co latwiejszy bedzie sposob weryfikacji poprawnosci kodu. Fabryka powoduje rowniez hermetyzacje kodu i ukrycie zlozonosci procesu tworzenia potraw." - xyzwh 1189.2 281.1 2000 387 101 + xyzwh 1189.36 281.88 2000 387 101 classcanvas 128283 class_ref 128233 // ZarzadcaZamowien classdiagramsettings member_max_width 0 end - xyz 1737.5 988.4 2000 + xyz 1737.9 988.52 2000 end classcanvas 128361 class_ref 174057 // IStrategiaSposobuUiszczaniaPlatnosci classdiagramsettings member_max_width 0 end - xyz 612.55 918 2000 + xyz 612.37 918.44 2000 end classcanvas 128411 class_ref 128283 // Zamowienie classdiagramsettings member_max_width 0 end - xyzwh 1760.15 426.35 2000 363 222 + xyzwh 1760.73 426.03 2000 363 222 end classcanvas 128489 class_ref 174185 // FabrykaPromocji classdiagramsettings member_max_width 0 end - xyz 2249.65 525.2 2000 + xyz 2249.21 525.3 2000 end classcanvas 128539 class_ref 141289 // MenedzerBazyDanych classdiagramsettings member_max_width 0 end - xyz 1244.95 1018.4 2000 + xyz 1244.11 1018.8 2000 end classcanvas 128667 class_ref 141417 // BazaDanych classdiagramsettings member_max_width 0 end - xyz 1244.95 1203.85 2000 + xyz 1244.11 1203.27 2000 end classcanvas 128795 class_ref 147945 // FabrykaPotraw classdiagramsettings member_max_width 0 end - xyz 1585.8 305.5 2000 + xyz 1585.98 306 2000 end classcanvas 128923 class_ref 128155 // Potrawa classdiagramsettings member_max_width 0 end - xyz 1833.5 279.05 2000 + xyz 1833.68 279.51 2000 end classcanvas 129051 class_ref 128411 // Platnosc classdiagramsettings member_max_width 0 end - xyz 494.55 662.65 2000 + xyz 494.69 662.49 2000 end classcanvas 129179 class_ref 128667 // Produkt classdiagramsettings member_max_width 0 end - xyz 2116.1 291.85 2000 + xyz 2116.22 291.31 2000 end note 129257 "Ze wzgeldu na wzorzec high cohesion i nalozenie dodatkowych ograniczen na tworzenie promocji wykorzystujemy fabryke strategii. Dodatkowe ograniczenia moga byc typu: promocja jest dostepna tylko we wtorki, lub promocja ma termin waznosci do..." - xyzwh 2248.3 424.2 2000 309 87 + xyzwh 2249.06 424.66 2000 311 91 classcanvas 129307 class_ref 128795 // Spizarnia classdiagramsettings member_max_width 0 end - xyz 2110.5 164.15 2005 + xyz 2110.2 164.91 2005 end note 129385 "Strategia obliczania znizki w celu prostego sposobu na obliczanie znizki w sposob modularny. Wykorzystanie strategii pozwoli na dowolny ich dobor, laczenie i przekazywanie w prosty sposob do klasy obliczajacej koszt zamowienia. Instancje klas implementujace IStrategiaObliczaniaZnizki sa zapisywane do zamowienia a potem wykorzystywane za pomoca tej klasy w celu obliczenia jej kosztow." - xyzwh 2615.1 568 2000 309 113 + xyzwh 2617.32 568.12 2000 309 113 classcanvas 129435 class_ref 129947 // PotrawaNiestandardowa classdiagramsettings member_max_width 0 end - xyz 95.55 404.5 2005 + xyz 95.51 404.18 2005 end classcanvas 129513 class_ref 174313 // IStrategiaObliczaniaZnizki classdiagramsettings member_max_width 0 end - xyz 2276.25 622.4 2005 + xyz 2276.33 622.36 2005 end classcanvas 129563 class_ref 130331 // IloscProduktu classdiagramsettings member_max_width 0 end - xyz 2134.5 39.35 2000 + xyz 2134.38 39.61 2000 end classcanvas 129691 class_ref 144283 // Dostawa classdiagramsettings member_max_width 0 end - xyz 2487.4 178.85 2000 + xyz 2487.82 178.37 2000 end classcanvas 129819 class_ref 161001 // PotrawaNiestandardowaHandler classdiagramsettings member_max_width 0 end - xyz 81.25 517.05 2000 + xyz 81.93 517.79 2000 end classcanvas 129947 class_ref 167529 // PlatnoscController classdiagramsettings member_max_width 0 end - xyz 274.65 1012.75 2000 + xyz 274.17 1012.15 2000 end classcanvas 130025 class_ref 174441 // StrategiaObliczaniaZnizkiOStalaWartosc classdiagramsettings member_max_width 0 end - xyz 2274.75 752.4 2000 + xyz 2274.07 752.76 2000 end classcanvas 130075 class_ref 137627 // PolaczenieZBankiemHandler classdiagramsettings member_max_width 0 end - xyz 1029.55 698.25 2005 + xyz 1029.41 698.37 2005 end classcanvas 130281 class_ref 174569 // StrategiaObliczaniaZnizkiZaZestaw classdiagramsettings member_max_width 0 end - xyz 1983.35 752 2006 + xyz 1983.09 752.36 2006 end note 130537 "Przykladowe klasy implementujace interfejs IStrategiaObliczaniaZnizki" - xyzwh 2327.1 815.4 2000 147 61 + xyzwh 2327.1 815.5 2000 147 61 classcanvas 131355 class_ref 134761 // StrategiaObliczaniaZnizkiProcentowej classdiagramsettings member_max_width 0 end - xyz 2570.95 752.4 2000 + xyz 2570.75 752.76 2000 end classcanvas 131433 class_ref 174697 // StrategiaSposobuUiszczaniaPlatnosciGotowka classdiagramsettings member_max_width 0 end - xyz 895.9 832.1 2000 + xyz 895.96 832.86 2000 end classcanvas 131689 class_ref 174825 // StrategiaSposobuUiszczaniaPlatnosciKarta classdiagramsettings member_max_width 0 end - xyz 895.3 918 2000 + xyz 895.08 918.44 2000 end classcanvas 131945 class_ref 174953 // StrategiaSposobuUiszczaniaPlatnosciPrzezBonPodarunkowy classdiagramsettings member_max_width 0 end - xyz 895.25 1004 2006 + xyz 895.19 1004.12 2006 end note 135145 "W celu zwiekszenia spojnosci klasy Platnosc kod odpowiedzialny za uiszczanie platnosci jest wydzielony do osobnych klas. W zaleznosci od wybranego sposobu platnosci uzywana jest odpowiednia strategia." - xyzwh 642.5 969 2000 190 103 + xyzwh 642.56 969.6 2000 190 103 note 135529 "Przykladowe klasy implementujace interfejs IStrategiaSposobuUiszczaniaPlatnosci" - xyzwh 1151.4 915.5 2000 226 48 + xyzwh 1151.34 916.32 2000 226 48 relationcanvas 128105 relation_ref 128105 // tworzy decenter_end 527 from ref 128795 z 2001 label "tworzy" italic max_width 255 xyz 1795 306 2001 to ref 128923 @@ -123,7 +123,7 @@ relationcanvas 128105 relation_ref 128105 // tworzy multiplicity_a_pos 1818 330 3000 multiplicity_b_pos 1801 330 3000 end relationcanvas 128617 relation_ref 134633 // korzysta z - decenter_begin 551 + decenter_begin 550 from ref 128411 z 2001 label "korzysta z" italic max_width 255 xyz 2161 531 2001 to ref 128489 no_role_a no_role_b multiplicity_a_pos 2245 553 3000 multiplicity_b_pos 2134 553 3000 @@ -172,8 +172,8 @@ relationcanvas 130843 relation_ref 128667 // posluguje sie end relationcanvas 130921 relation_ref 135657 // geometry VHV unfixed - from ref 131355 z 2006 to point 2695.3 712.6 - line 134121 z 2006 to point 2401.7 712.6 + from ref 131355 z 2006 to point 2694 712 + line 134121 z 2006 to point 2400 712 line 134249 z 2006 to ref 129513 no_role_a no_role_b no_multiplicity_a no_multiplicity_b @@ -199,8 +199,8 @@ relationcanvas 131099 relation_ref 128923 // korzysta z end relationcanvas 131177 relation_ref 135913 // decenter_begin 509 - from ref 130281 z 2007 to point 2110.8 712.6 - line 133225 z 2007 to point 2400.8 714.4 + from ref 130281 z 2007 to point 2110 712 + line 133225 z 2007 to point 2400 714 line 136041 z 2007 to ref 129513 no_role_a no_role_b no_multiplicity_a no_multiplicity_b @@ -213,8 +213,8 @@ relationcanvas 131227 relation_ref 129051 // zawiera multiplicity_a_pos 2108 329 3000 multiplicity_b_pos 2048 329 3000 end relationcanvas 131561 relation_ref 136041 // - from ref 131433 z 2001 to point 855.3 855.3 - line 132969 z 2001 to point 855.3 940.8 + from ref 131433 z 2001 to point 855 855 + line 132969 z 2001 to point 855 940 line 133097 z 2001 to ref 128361 no_role_a no_role_b no_multiplicity_a no_multiplicity_b @@ -222,7 +222,7 @@ end relationcanvas 131611 relation_ref 129307 // uzywa geometry VH unfixed decenter_begin 508 - from ref 129819 z 2001 label "uzywa" italic max_width 255 xyz 237 1000.5 2001 to point 232 1368 + from ref 129819 z 2001 label "uzywa" italic max_width 255 xyz 237 1003 2001 to point 232 1368 line 133865 z 2001 to ref 128027 no_role_a no_role_b multiplicity_a_pos 377 1376 3000 multiplicity_b_pos 218 651 3000 @@ -233,8 +233,8 @@ relationcanvas 131817 relation_ref 136169 // no_multiplicity_a no_multiplicity_b end relationcanvas 132073 relation_ref 136297 // - from ref 131945 z 2007 to point 855.3 1026.2 - line 132457 z 2007 to point 855.3 940.8 + from ref 131945 z 2007 to point 855 1026 + line 132457 z 2007 to point 855 940 line 132585 z 2007 to ref 128361 no_role_a no_role_b no_multiplicity_a no_multiplicity_b @@ -254,8 +254,8 @@ end relationcanvas 133531 relation_ref 130075 // korzysta z decenter_begin 509 decenter_end 527 - from ref 129819 z 2006 to point 40.8 580.8 - line 133481 z 2006 to point 40.8 211.7 + from ref 129819 z 2006 to point 40 580 + line 133481 z 2006 to point 40 211 line 133609 z 2006 label "korzysta z" italic max_width 255 xyz 1052 199 2006 to ref 129307 no_role_a no_role_b multiplicity_a_pos 2097 216 3000 multiplicity_b_pos 67 588 3000 @@ -274,7 +274,7 @@ end relationcanvas 134299 relation_ref 130587 // jest zawarty w decenter_begin 344 decenter_end 128 - from ref 129179 z 2001 to point 2221.7 452.6 + from ref 129179 z 2001 to point 2221 452 line 135785 z 2001 label "jest zawarty w" italic max_width 255 xyz 2139 440 2001 to ref 128411 no_role_a no_role_b multiplicity_a_pos 2134 459 3000 multiplicity_b_pos 2208 355 3000 @@ -283,9 +283,9 @@ relationcanvas 134427 relation_ref 130715 // przechowuje geometry VH unfixed decenter_end 527 from ref 129691 z 2001 to point 2511 82 - line 133737 z 2001 label "przechowuje" italic max_width 255 xyz 2420 69 2001 to ref 129563 + line 133737 z 2001 label "przechowuje" italic max_width 255 xyz 2420.5 68.5 2001 to ref 129563 no_role_a no_role_b - multiplicity_a_pos 2400 91 3000 multiplicity_b_pos 2497 161 3000 + multiplicity_a_pos 2398 90 3000 multiplicity_b_pos 2497 160 3000 end relationcanvas 134555 relation_ref 130843 // aktualizuje decenter_begin 541 @@ -305,7 +305,7 @@ end relationcanvas 134683 relation_ref 130971 // korzysta z geometry VH unfixed decenter_end 518 - from ref 129947 z 2001 label "korzysta z" italic max_width 255 xyz 462 861 2001 to point 453 726 + from ref 129947 z 2001 label "korzysta z" italic max_width 255 xyz 463 861 2001 to point 453 726 line 133993 z 2001 to ref 129051 no_role_a no_role_b multiplicity_a_pos 479 734 3000 multiplicity_b_pos 439 994 3000 @@ -313,8 +313,8 @@ end relationcanvas 134811 relation_ref 131099 // posluguje sie decenter_begin 504 decenter_end 504 - from ref 129051 z 2001 to point 712.6 621.7 - line 132713 z 2001 label "posluguje sie" italic max_width 255 xyz 1048 610 2001 to point 1444.4 621.7 + from ref 129051 z 2001 to point 712 621 + line 132713 z 2001 label "posluguje sie" italic max_width 255 xyz 1048 610 2001 to point 1444 621 line 132841 z 2001 to ref 128539 no_role_a no_role_b multiplicity_a_pos 1424 1001 3000 multiplicity_b_pos 700 644 3000 diff --git a/models/141723_8.d b/models/141723_8.d new file mode 100644 index 0000000..a449be9 --- /dev/null +++ b/models/141723_8.d @@ -0,0 +1,341 @@ +format 224 + +classcanvas 128027 class_ref 154473 // System + classdiagramsettings member_max_width 0 end + xyz 394.54 1335.76 2000 +end +classcanvas 128155 class_ref 128105 // ZarzadzanieZamowieniamiController + classdiagramsettings member_max_width 0 end + xyz 1737.9 1279.77 2000 +end +note 128233 "Tworzenie potraw poprzez fabryke umozliwi zminimalizowanie ilosci bledow jakie jestesmy w stanie popelnic recznie tworzac potrawy za kazdym razem jak ich potrzebujemy. Wszystkie przepisy znajda sie w jednej spójnej klasie, przez co latwiejszy bedzie sposob weryfikacji poprawnosci kodu. Fabryka powoduje rowniez hermetyzacje kodu i ukrycie zlozonosci procesu tworzenia potraw." + xyzwh 1189.36 281.88 2000 387 101 +classcanvas 128283 class_ref 128233 // ZarzadcaZamowien + classdiagramsettings member_max_width 0 end + xyz 1737.9 988.52 2000 +end +classcanvas 128361 class_ref 174057 // IStrategiaSposobuUiszczaniaPlatnosci + classdiagramsettings member_max_width 0 end + xyz 612.37 918.44 2000 +end +classcanvas 128411 class_ref 128283 // Zamowienie + classdiagramsettings member_max_width 0 end + xyzwh 1760.73 426.03 2000 363 222 +end +classcanvas 128489 class_ref 174185 // FabrykaPromocji + classdiagramsettings member_max_width 0 end + xyz 2249.21 525.3 2000 +end +classcanvas 128539 class_ref 141289 // MenedzerBazyDanych + classdiagramsettings member_max_width 0 end + xyz 1244.11 1018.8 2000 +end +classcanvas 128667 class_ref 141417 // BazaDanych + classdiagramsettings member_max_width 0 end + xyz 1244.11 1203.27 2000 +end +classcanvas 128795 class_ref 147945 // FabrykaPotraw + classdiagramsettings member_max_width 0 end + xyz 1585.98 306 2000 +end +classcanvas 128923 class_ref 128155 // Potrawa + classdiagramsettings member_max_width 0 end + xyz 1833.68 279.51 2000 +end +classcanvas 129051 class_ref 128411 // Platnosc + classdiagramsettings member_max_width 0 end + xyz 494.69 662.49 2000 +end +classcanvas 129179 class_ref 128667 // Produkt + classdiagramsettings member_max_width 0 end + xyz 2116.22 291.31 2000 +end +note 129257 "Ze wzgeldu na wzorzec high cohesion i nalozenie dodatkowych ograniczen na tworzenie promocji wykorzystujemy fabryke strategii. Dodatkowe ograniczenia moga byc typu: promocja jest dostepna tylko we wtorki, lub promocja ma termin waznosci do..." + xyzwh 2249.06 424.66 2000 311 91 +classcanvas 129307 class_ref 128795 // Spizarnia + classdiagramsettings member_max_width 0 end + xyz 2110.2 164.91 2005 +end +note 129385 "Strategia obliczania znizki w celu prostego sposobu na obliczanie znizki w sposob modularny. Wykorzystanie strategii pozwoli na dowolny ich dobor, laczenie i przekazywanie w prosty sposob do klasy obliczajacej koszt zamowienia. Instancje klas implementujace IStrategiaObliczaniaZnizki sa zapisywane do zamowienia a potem wykorzystywane za pomoca tej klasy w celu obliczenia jej kosztow." + xyzwh 2617.32 568.12 2000 309 113 +classcanvas 129435 class_ref 129947 // PotrawaNiestandardowa + classdiagramsettings member_max_width 0 end + xyz 95.51 404.18 2005 +end +classcanvas 129513 class_ref 174313 // IStrategiaObliczaniaZnizki + classdiagramsettings member_max_width 0 end + xyz 2276.33 622.36 2005 +end +classcanvas 129563 class_ref 130331 // IloscProduktu + classdiagramsettings member_max_width 0 end + xyz 2134.38 39.61 2000 +end +classcanvas 129691 class_ref 144283 // Dostawa + classdiagramsettings member_max_width 0 end + xyz 2487.82 178.37 2000 +end +classcanvas 129819 class_ref 161001 // PotrawaNiestandardowaHandler + classdiagramsettings member_max_width 0 end + xyz 81.93 517.79 2000 +end +classcanvas 129947 class_ref 167529 // PlatnoscController + classdiagramsettings member_max_width 0 end + xyz 274.17 1012.15 2000 +end +classcanvas 130025 class_ref 174441 // StrategiaObliczaniaZnizkiOStalaWartosc + classdiagramsettings member_max_width 0 end + xyz 2274.07 752.76 2000 +end +classcanvas 130075 class_ref 137627 // PolaczenieZBankiemHandler + classdiagramsettings member_max_width 0 end + xyz 1029.41 698.37 2005 +end +classcanvas 130281 class_ref 174569 // StrategiaObliczaniaZnizkiZaZestaw + classdiagramsettings member_max_width 0 end + xyz 1983.09 752.36 2006 +end +note 130537 "Przykladowe klasy implementujace interfejs IStrategiaObliczaniaZnizki" + xyzwh 2327.1 815.5 2000 147 61 +classcanvas 131355 class_ref 134761 // StrategiaObliczaniaZnizkiProcentowej + classdiagramsettings member_max_width 0 end + xyz 2570.75 752.76 2000 +end +classcanvas 131433 class_ref 174697 // StrategiaSposobuUiszczaniaPlatnosciGotowka + classdiagramsettings member_max_width 0 end + xyz 895.96 832.86 2000 +end +classcanvas 131689 class_ref 174825 // StrategiaSposobuUiszczaniaPlatnosciKarta + classdiagramsettings member_max_width 0 end + xyz 895.08 918.44 2000 +end +classcanvas 131945 class_ref 174953 // StrategiaSposobuUiszczaniaPlatnosciPrzezBonPodarunkowy + classdiagramsettings member_max_width 0 end + xyz 895.19 1004.12 2006 +end +note 135145 "W celu zwiekszenia spojnosci klasy Platnosc kod odpowiedzialny za uiszczanie platnosci jest wydzielony do osobnych klas. W zaleznosci od wybranego sposobu platnosci uzywana jest odpowiednia strategia." + xyzwh 642.56 969.6 2000 190 103 +note 135529 "Przykladowe klasy implementujace interfejs IStrategiaSposobuUiszczaniaPlatnosci" + xyzwh 1151.34 916.32 2000 226 48 +relationcanvas 128105 relation_ref 128105 // tworzy + decenter_end 527 + from ref 128795 z 2001 label "tworzy" italic max_width 255 xyz 1795 306 2001 to ref 128923 + no_role_a no_role_b + multiplicity_a_pos 1818 330 3000 multiplicity_b_pos 1801 330 3000 +end +relationcanvas 128617 relation_ref 134633 // korzysta z + decenter_begin 550 + from ref 128411 z 2001 label "korzysta z" italic max_width 255 xyz 2161 531 2001 to ref 128489 + no_role_a no_role_b + multiplicity_a_pos 2245 553 3000 multiplicity_b_pos 2134 553 3000 +end +relationcanvas 129641 relation_ref 134889 // tworzy instancje implementujace interfejs + from ref 128489 z 2006 label "tworzy instancje implementujace interfejs" italic max_width 255 xyz 2416 585 2006 to ref 129513 + no_role_a no_role_b + multiplicity_a_pos 2388 603 3000 multiplicity_b_pos 2385 573 3000 +end +relationcanvas 130203 relation_ref 128027 // uzywa + from ref 128155 z 2001 label "uzywa" italic max_width 255 xyz 1111 1374 2001 to ref 128027 + no_role_a no_role_b + multiplicity_a_pos 530 1376 3000 multiplicity_b_pos 1725 1376 3000 +end +relationcanvas 130331 relation_ref 128155 // uzywa + from ref 129947 z 2001 label "uzywa" italic max_width 255 xyz 462 1241 2001 to ref 128027 + no_role_a no_role_b + multiplicity_a_pos 439 1313 3000 multiplicity_b_pos 438 1171 3000 +end +relationcanvas 130459 relation_ref 128283 // uzywa + from ref 128155 z 2001 label "uzywa" italic max_width 255 xyz 1943 1227 2001 to ref 128283 + no_role_a no_role_b + multiplicity_a_pos 1922 1188 3000 multiplicity_b_pos 1922 1264 3000 +end +relationcanvas 130587 relation_ref 128411 // agreguje + from ref 128283 z 2001 label "agreguje" italic max_width 255 xyz 1946 817 2001 to ref 128411 + no_role_a no_role_b + multiplicity_a_pos 1922 657 3000 multiplicity_b_pos 1922 971 3000 +end +relationcanvas 130715 relation_ref 128539 // agreguje + from ref 128411 z 2001 label "agreguje" italic max_width 255 xyz 1942 380 2001 to ref 128923 + no_role_a no_role_b + multiplicity_a_pos 1924 368 3000 multiplicity_b_pos 1924 406 3000 +end +relationcanvas 130793 relation_ref 135529 // korzysta z + decenter_begin 504 + decenter_end 512 + from ref 129051 z 2001 label "korzysta z" italic max_width 255 xyz 719 843 2001 to ref 128361 + no_role_a no_role_b + multiplicity_a_pos 698 900 3000 multiplicity_b_pos 698 796 3000 +end +relationcanvas 130843 relation_ref 128667 // posluguje sie + from ref 128283 z 2001 label "posluguje sie" italic max_width 255 xyz 1659 1088 2001 to ref 128539 + no_role_a no_role_b + multiplicity_a_pos 1640 1092 3000 multiplicity_b_pos 1729 1092 3000 +end +relationcanvas 130921 relation_ref 135657 // + geometry VHV unfixed + from ref 131355 z 2006 to point 2694 712 + line 134121 z 2006 to point 2400 712 + line 134249 z 2006 to ref 129513 + no_role_a no_role_b + no_multiplicity_a no_multiplicity_b +end +relationcanvas 130971 relation_ref 128795 // obsluguje + decenter_begin 504 + decenter_end 504 + from ref 128539 z 2001 label "obsluguje" italic max_width 255 xyz 1447 1169 2001 to ref 128667 + no_role_a no_role_b + multiplicity_a_pos 1424 1186 3000 multiplicity_b_pos 1424 1163 3000 +end +relationcanvas 131049 relation_ref 135785 // + from ref 130025 z 2006 to ref 129513 + no_role_a no_role_b + no_multiplicity_a no_multiplicity_b +end +relationcanvas 131099 relation_ref 128923 // korzysta z + decenter_begin 37 + decenter_end 912 + from ref 128411 z 2001 label "korzysta z" italic max_width 255 xyz 1776 379 2001 to ref 128795 + no_role_a no_role_b + multiplicity_a_pos 1757 354 3000 multiplicity_b_pos 1759 408 3000 +end +relationcanvas 131177 relation_ref 135913 // + decenter_begin 509 + from ref 130281 z 2007 to point 2110 712 + line 133225 z 2007 to point 2400 714 + line 136041 z 2007 to ref 129513 + no_role_a no_role_b + no_multiplicity_a no_multiplicity_b +end +relationcanvas 131227 relation_ref 129051 // zawiera + decenter_begin 527 + decenter_end 559 + from ref 128923 z 2001 label "zawiera" italic max_width 255 xyz 2064 310 2001 to ref 129179 + no_role_a no_role_b + multiplicity_a_pos 2108 329 3000 multiplicity_b_pos 2048 329 3000 +end +relationcanvas 131561 relation_ref 136041 // + from ref 131433 z 2001 to point 855 855 + line 132969 z 2001 to point 855 940 + line 133097 z 2001 to ref 128361 + no_role_a no_role_b + no_multiplicity_a no_multiplicity_b +end +relationcanvas 131611 relation_ref 129307 // uzywa + geometry VH unfixed + decenter_begin 508 + from ref 129819 z 2001 label "uzywa" italic max_width 255 xyz 237 1003 2001 to point 232 1368 + line 133865 z 2001 to ref 128027 + no_role_a no_role_b + multiplicity_a_pos 377 1376 3000 multiplicity_b_pos 218 651 3000 +end +relationcanvas 131817 relation_ref 136169 // + from ref 131689 z 2001 to ref 128361 + no_role_a no_role_b + no_multiplicity_a no_multiplicity_b +end +relationcanvas 132073 relation_ref 136297 // + from ref 131945 z 2007 to point 855 1026 + line 132457 z 2007 to point 855 940 + line 132585 z 2007 to ref 128361 + no_role_a no_role_b + no_multiplicity_a no_multiplicity_b +end +relationcanvas 133275 relation_ref 129819 // korzysta z + decenter_end 689 + from ref 129819 z 2001 label "korzysta z" italic max_width 255 xyz 1052 561 2001 to ref 128411 + no_role_a no_role_b + multiplicity_a_pos 1746 584 3000 multiplicity_b_pos 391 582 3000 +end +relationcanvas 133403 relation_ref 129947 // agreguje + decenter_begin 71 + from ref 128411 z 2006 label "agreguje" italic max_width 255 xyz 1060 429 2006 to ref 129435 + no_role_a no_role_b + multiplicity_a_pos 378 445 3000 multiplicity_b_pos 1742 445 3000 +end +relationcanvas 133531 relation_ref 130075 // korzysta z + decenter_begin 509 + decenter_end 527 + from ref 129819 z 2006 to point 40 580 + line 133481 z 2006 to point 40 211 + line 133609 z 2006 label "korzysta z" italic max_width 255 xyz 1052 199 2006 to ref 129307 + no_role_a no_role_b + multiplicity_a_pos 2097 216 3000 multiplicity_b_pos 67 588 3000 +end +relationcanvas 133659 relation_ref 130203 // przechowuje + from ref 129307 z 2006 label "przechowuje" italic max_width 255 xyz 2265 138 2006 to ref 129563 + no_role_a no_role_b + multiplicity_a_pos 2245 129 3000 multiplicity_b_pos 2244 149 3000 +end +relationcanvas 134171 relation_ref 130459 // zawiera + decenter_end 476 + from ref 129307 z 2006 label "zawiera" italic max_width 255 xyz 2269 263 2006 to ref 129179 + no_role_a no_role_b + multiplicity_a_pos 2248 274 3000 multiplicity_b_pos 2245 254 3000 +end +relationcanvas 134299 relation_ref 130587 // jest zawarty w + decenter_begin 344 + decenter_end 128 + from ref 129179 z 2001 to point 2221 452 + line 135785 z 2001 label "jest zawarty w" italic max_width 255 xyz 2139 440 2001 to ref 128411 + no_role_a no_role_b + multiplicity_a_pos 2134 459 3000 multiplicity_b_pos 2208 355 3000 +end +relationcanvas 134427 relation_ref 130715 // przechowuje + geometry VH unfixed + decenter_end 527 + from ref 129691 z 2001 to point 2511 82 + line 133737 z 2001 label "przechowuje" italic max_width 255 xyz 2420.5 68.5 2001 to ref 129563 + no_role_a no_role_b + multiplicity_a_pos 2398 90 3000 multiplicity_b_pos 2497 160 3000 +end +relationcanvas 134555 relation_ref 130843 // aktualizuje + decenter_begin 541 + decenter_end 527 + from ref 129691 z 2006 label "aktualizuje" italic max_width 255 xyz 2426 194 2006 to ref 129307 + no_role_a no_role_b + multiplicity_a_pos 2419 216 3000 multiplicity_b_pos 2469 216 3000 +end +relationcanvas 134633 relation_ref 136681 // + decenter_begin 156 + decenter_end 837 + from ref 129513 z 2006 to point 2318 608 + line 134889 z 2006 to ref 128411 + no_role_a no_role_b + no_multiplicity_a no_multiplicity_b +end +relationcanvas 134683 relation_ref 130971 // korzysta z + geometry VH unfixed + decenter_end 518 + from ref 129947 z 2001 label "korzysta z" italic max_width 255 xyz 463 861 2001 to point 453 726 + line 133993 z 2001 to ref 129051 + no_role_a no_role_b + multiplicity_a_pos 479 734 3000 multiplicity_b_pos 439 994 3000 +end +relationcanvas 134811 relation_ref 131099 // posluguje sie + decenter_begin 504 + decenter_end 504 + from ref 129051 z 2001 to point 712 621 + line 132713 z 2001 label "posluguje sie" italic max_width 255 xyz 1048 610 2001 to point 1444 621 + line 132841 z 2001 to ref 128539 + no_role_a no_role_b + multiplicity_a_pos 1424 1001 3000 multiplicity_b_pos 700 644 3000 +end +relationcanvas 134939 relation_ref 131227 // posluguje sie + decenter_begin 518 + decenter_end 541 + from ref 129051 z 2006 label "posluguje sie" italic max_width 255 xyz 948 715 2006 to ref 130075 + no_role_a no_role_b + multiplicity_a_pos 1014 735 3000 multiplicity_b_pos 939 735 3000 +end +relationcanvas 135067 relation_ref 131355 // uzywa + from ref 129947 z 2001 label "uzywa" italic max_width 255 xyz 928 1074 2001 to ref 128539 + no_role_a no_role_b + multiplicity_a_pos 1229 1097 3000 multiplicity_b_pos 648 1096 3000 +end +relationcanvas 137499 relation_ref 137883 // obsluguje + decenter_begin 508 + decenter_end 509 + from ref 129819 z 2006 label "obsluguje" italic max_width 255 xyz 235 490 2006 to ref 129435 + no_role_a no_role_b + multiplicity_a_pos 218 480 3000 multiplicity_b_pos 218 502 3000 +end +end diff --git a/models/155113_8.d b/models/155113_8.d new file mode 100644 index 0000000..4f271bc --- /dev/null +++ b/models/155113_8.d @@ -0,0 +1,73 @@ +format 224 + +classinstance 128105 class_ref 128539 // Kelner + name "" xyz 411.1 35 2000 +classinstance 128233 class_ref 128105 // ZarzadzanieZamowieniamiController + name "" xyz 334 143.2 2000 +classinstance 128361 class_ref 128233 // ZarzadcaZamowien + name "" xyz 372.8 287.6 2000 +classinstance 128489 class_ref 128283 // Zamowienie + name "zamowienie" xyz 650.2 426.8 2000 +classinstance 128617 class_ref 141289 // MenedzerBazyDanych + name "" xyz 159.2 423.8 2000 +classinstance 128745 class_ref 141417 // BazaDanych + name "" xyz 181.7 538.2 2000 +linkcanvas 129129 + from ref 128105 z 2001 to ref 128233 +dirscanvas 129769 z 1000 linkcanvas_ref 129129 + + forward_label "1 wprowadzNumerStolika(zamowienieId: int, numerStolika: int)" xyz 445 103 3000 +linkcanvas 129257 + from ref 128233 z 2001 to ref 128361 +dirscanvas 129897 z 1000 linkcanvas_ref 129257 + + forward_label "2 wprowadzNumerStolika(zamowienieId: int, numerStolika: int)" xyz 443 225 3000 +linkcanvas 129385 + from ref 128361 z 2001 to point 712 297 + line 131049 z 2001 to ref 128489 +dirscanvas 130025 z 1000 linkcanvas_ref 129385 + + forward_label "5 ustawNumerStolika(numerStolika: int)" xyz 531 270 3000 + backward_label "4 zamowienie" xyz 573 319 3000 +linkcanvas 129641 + from ref 128617 z 2001 to ref 128745 +dirscanvas 130281 z 1000 linkcanvas_ref 129641 + + forward_label "7 wprowadzNumerStolika(zamowienie: Zamowienie, numerStolika: int)" xyz 239 487 3000 +linkcanvas 130409 + from ref 128361 z 2001 to point 425 348 + line 131177 z 2001 to point 218 349 + line 130793 z 2001 to ref 128617 +dirscanvas 130537 z 1000 linkcanvas_ref 130793 + + forward_label "6 wprowadzNumerStolika(zamowienie: Zamowienie, numerStolika: int)" xyz 239 381 3000 +selflinkcanvas 130665 classinstance_ref 128361 // :ZarzadcaZamowien + xy 372 299 + + forward_label "3 zamowienie = zwrocZamowienie(zamowienieId: int): Zamowienie" xyz 131 294 3000 +msgs + explicitmsg "wprowadzNumerStolika(zamowienieId: int, numerStolika: int)" + forward ranks 1 "1" dirscanvas_ref 129769 + msgs + explicitmsg "wprowadzNumerStolika(zamowienieId: int, numerStolika: int)" + forward ranks 2 "1.1" dirscanvas_ref 129897 + no_msg + msgsend + explicitmsg "zamowienie = zwrocZamowienie(zamowienieId: int): Zamowienie" + forward ranks 3 "2" selflinkcanvas_ref 130665 + no_msg + explicitmsg "zamowienie" + backward ranks 4 "3" dirscanvas_ref 130025 + msgs + explicitmsg "ustawNumerStolika(numerStolika: int)" + forward ranks 5 "3.1" dirscanvas_ref 130025 + no_msg + explicitmsg "wprowadzNumerStolika(zamowienie: Zamowienie, numerStolika: int)" + forward ranks 6 "3.2" dirscanvas_ref 130537 + no_msg + msgsend + explicitmsg "wprowadzNumerStolika(zamowienie: Zamowienie, numerStolika: int)" + forward ranks 7 "4" dirscanvas_ref 130281 + no_msg +msgsend +end diff --git a/models/155369_8.d b/models/155369_8.d new file mode 100644 index 0000000..369c697 --- /dev/null +++ b/models/155369_8.d @@ -0,0 +1,92 @@ +format 224 + +classinstance 128105 class_ref 128539 // Kelner + name "" xyz 541.31 27.15 2000 +classinstance 128233 class_ref 128105 // ZarzadzanieZamowieniamiController + name "" xyz 465.24 112.98 2000 +classinstance 128617 class_ref 128233 // ZarzadcaZamowien + name "" xyz 504.37 181.19 2000 +classinstance 129257 class_ref 128283 // Zamowienie + name "" xyz 86.84 180.5 2000 +classinstance 129513 class_ref 128136 // Potrawa + name "potrawa" xyz 78.85 371.08 2000 +classinstance 130409 class_ref 141289 // MenedzerBazyDanych + name "" xyz 499.03 314.19 2000 +classinstance 130793 class_ref 141417 // BazaDanych + name "" xyz 360.69 430.31 2000 +linkcanvas 129001 + from ref 128105 z 2001 to ref 128233 +dirscanvas 129769 z 1000 linkcanvas_ref 129001 + + forward_label "1 usunPotrawe(zamowienieId: int, potrawaId: int)" xyz 579 83 3000 +linkcanvas 129129 + from ref 128233 z 2001 to ref 128617 +dirscanvas 129897 z 1000 linkcanvas_ref 129129 + + forward_label "2 usunPotrawe(zamowienieId: int, potrawaId: int)" xyz 578 156 3000 +linkcanvas 129385 + from ref 128617 z 2001 to ref 129257 +dirscanvas 130025 z 1000 linkcanvas_ref 129385 + + forward_label "3 potrawa = zwrocPotrawe(potrawaId: int): Potrawa +9 usunPotrawe(potrawa: Potrawa)" xyz 213 209 3000 + backward_label "5 potrawa" xyz 316 163 3000 +linkcanvas 129641 decenter_begin 546 + from ref 129257 z 2001 to ref 129513 +dirscanvas 130153 z 1000 linkcanvas_ref 129641 + + forward_label "10 <> destroy()" xyz 145 284 3000 + backward_label "4 potrawa" xyz 74 282 3000 +linkcanvas 130921 decenter_end 492 + from ref 130793 z 2001 to point 396 324 + line 132585 z 2001 to ref 130409 +dirscanvas 131049 z 1000 linkcanvas_ref 130921 + + backward_label "8 zmienLicznoscProduktowZPotrawy(potrawa: Potrawa, licznosc: int)" xyz 418 372 3000 +linkcanvas 132713 + from ref 128617 z 2001 to ref 130409 +dirscanvas 132841 z 1000 linkcanvas_ref 132713 + + forward_label "7 dodajProdukty(potrawa: Potrawa, licznosc: int)" xyz 577 255 3000 +selflinkcanvas 133097 classinstance_ref 128617 // :ZarzadcaZamowien + xy 646 193 + + forward_label "6 licznosc = potrawa.zwrocLicznosc(): int" xyz 631 189 3000 +msgs + explicitmsg "usunPotrawe(zamowienieId: int, potrawaId: int)" + forward ranks 1 "1" dirscanvas_ref 129769 + msgs + explicitmsg "usunPotrawe(zamowienieId: int, potrawaId: int)" + forward ranks 2 "1.1" dirscanvas_ref 129897 + msgs + explicitmsg "potrawa = zwrocPotrawe(potrawaId: int): Potrawa" + forward ranks 3 "1.1.1" dirscanvas_ref 130025 + no_msg + msgsend + msgsend + explicitmsg "potrawa" + backward ranks 4 "2" dirscanvas_ref 130153 + msgs + explicitmsg "potrawa" + backward ranks 5 "2.1" dirscanvas_ref 130025 + msgs + explicitmsg "licznosc = potrawa.zwrocLicznosc(): int" + forward ranks 6 "2.1.1" selflinkcanvas_ref 133097 + no_msg + explicitmsg "dodajProdukty(potrawa: Potrawa, licznosc: int)" + forward ranks 7 "2.1.2" dirscanvas_ref 132841 + no_msg + msgsend + msgsend + explicitmsg "zmienLicznoscProduktowZPotrawy(potrawa: Potrawa, licznosc: int)" + backward ranks 8 "3" dirscanvas_ref 131049 + no_msg + explicitmsg "usunPotrawe(potrawa: Potrawa)" + forward ranks 9 "4" dirscanvas_ref 130025 + msgs + explicitmsg "<> destroy()" + forward ranks 10 "4.1" dirscanvas_ref 130153 + no_msg + msgsend +msgsend +end diff --git a/models/168425_8.d b/models/168425_8.d new file mode 100644 index 0000000..2ed842e --- /dev/null +++ b/models/168425_8.d @@ -0,0 +1,48 @@ +format 224 + +classinstance 128105 class_ref 128539 // Kelner + name "" xyz 29 4 2005 life_line_z 2000 +classinstance 128233 class_ref 161001 // PotrawaNiestandardowaHandler + name "" xyz 161 4 2000 life_line_z 2000 +classinstance 128361 class_ref 128264 // Zamowienie + name "" xyz 387 4 2000 life_line_z 2000 +classinstance 128489 class_ref 129947 // PotrawaNiestandardowa + name "" xyz 543 4 2000 life_line_z 2000 +durationcanvas 128617 classinstance_ref 128105 // :Kelner + xyzwh 42 72 2010 11 40 +end +durationcanvas 128745 classinstance_ref 128233 // :PotrawaNiestandardowaHandler + xyzwh 238 72 2010 11 29 +end +durationcanvas 129001 classinstance_ref 128361 // :Zamowienie + xyzwh 418 89 2010 11 84 +end +durationcanvas 129257 classinstance_ref 128489 // :PotrawaNiestandardowa + xyzwh 601 108 2010 11 59 +end +msg 128873 synchronous + from durationcanvas_ref 128617 + to durationcanvas_ref 128745 + yz 72 2015 explicitmsg "dodajPotraweNiestandardowa()" + show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default + label_xy 80 62 +msg 129129 synchronous + from durationcanvas_ref 128745 + to durationcanvas_ref 129001 + yz 89 2015 explicitmsg "dodajPotraweNiestandardowa()" + show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default + label_xy 265 79 +msg 129385 synchronous + from durationcanvas_ref 129001 + to durationcanvas_ref 129257 + yz 109 2015 explicitmsg "dodajPotraweNiestandardowa()" + stereotype "<<<>>>" xyz 472 119 3000 + show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default + label_xy 450 99 +msg 129513 return + from durationcanvas_ref 129257 + to durationcanvas_ref 129001 + yz 157 2015 explicitmsg "potrawaNiestandardowa" + show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default + label_xy 462 147 +end diff --git a/models/168553_8.d b/models/168553_8.d new file mode 100644 index 0000000..3c3c044 --- /dev/null +++ b/models/168553_8.d @@ -0,0 +1,99 @@ +format 224 + +classinstance 128105 class_ref 128539 // Kelner + name "" xyz 24.3 4.4 2005 life_line_z 2000 +classinstance 128233 class_ref 161001 // PotrawaNiestandardowaHandler + name "" xyz 116.3 4.9 2000 life_line_z 2000 +classinstance 128361 class_ref 129032 // Spizarnia + name "" xyz 294.2 4.2 2000 life_line_z 2000 +classinstance 128489 class_ref 130331 // IloscProduktu + name "" xyz 404.1 4.2 2000 life_line_z 2000 +classinstance 128617 class_ref 128904 // Produkt + name "skladnik" xyz 527.1 4.2 2000 life_line_z 2000 +classinstance 128745 class_ref 128264 // Zamowienie + name "" xyz 643.1 4.2 2000 life_line_z 2000 +classinstance 128873 class_ref 129947 // PotrawaNiestandardowa + name "" xyz 745 4.2 2005 life_line_z 2000 +durationcanvas 129001 classinstance_ref 128105 // :Kelner + xyzwh 37 73 2010 11 40 +end +durationcanvas 129129 classinstance_ref 128233 // :PotrawaNiestandardowaHandler + xyzwh 193 74 2010 11 39 +end +durationcanvas 129385 classinstance_ref 128361 // :Spizarnia + xyzwh 318 100 2010 11 163 +end +durationcanvas 129641 classinstance_ref 128489 // :IloscProduktu + xyzwh 437 113 2010 11 48 +end +durationcanvas 130025 classinstance_ref 128617 // skladnik:Produkt + xyzwh 564 174 2010 11 38 +end +durationcanvas 130281 classinstance_ref 128745 // :Zamowienie + xyzwh 674 197 2010 11 27 +end +durationcanvas 130537 classinstance_ref 128873 // :PotrawaNiestandardowa + xyzwh 803 213 2010 11 25 +end +durationcanvas 130793 classinstance_ref 128489 // :IloscProduktu + xyzwh 437 242 2010 11 25 +end +msg 129257 synchronous + from durationcanvas_ref 129001 + to durationcanvas_ref 129129 + yz 75 2015 explicitmsg "dodanieSkladnika()" + show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default + args "IdSkladnik: Int, +IdPotraw: Int" + label_xy 48 60 +msg 129513 synchronous + from durationcanvas_ref 129129 + to durationcanvas_ref 129385 + yz 102 2015 explicitmsg "dodanieSkladnika()" + show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default + args "IdSkladnik: Int, +IdPotrawy: Int" + label_xy 187 87 +msg 129769 synchronous + from durationcanvas_ref 129385 + to durationcanvas_ref 129641 + yz 118 2015 explicitmsg "sprawdzIlosc()" + show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default + args "IdSkladnik: Int" + label_xy 329 109 +msg 129897 return + from durationcanvas_ref 129641 + to durationcanvas_ref 129385 + yz 149 2015 explicitmsg "ilosc: Int" + show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default + label_xy 360 140 +msg 130153 synchronous + from durationcanvas_ref 129385 + to durationcanvas_ref 130025 + yz 180 2020 explicitmsg "dodanieSkladnika()" + show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default + args "IdSkladnik: Int, +IdPotrawy: Int" + label_xy 385 166 +msg 130409 synchronous + from durationcanvas_ref 130025 + to durationcanvas_ref 130281 + yz 197 2015 explicitmsg "dodanieDoPotrawy()" + show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default + args "skladnik, +IdPotrawy" + label_xy 566 174 +msg 130665 synchronous + from durationcanvas_ref 130281 + to durationcanvas_ref 130537 + yz 213 2015 explicitmsg "dodanieSkladnikaDoPotrawy(skladnik)" + show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default + label_xy 669 203 +msg 130921 synchronous + from durationcanvas_ref 129385 + to durationcanvas_ref 130793 + yz 242 2015 explicitmsg "zaktualizujIlosc()" + show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default + args "IdSkladnik: Int" + label_xy 324 232 +end diff --git a/models/175721_8.d b/models/175721_8.d new file mode 100644 index 0000000..d810ed4 --- /dev/null +++ b/models/175721_8.d @@ -0,0 +1,30 @@ +format 224 + +classinstance 128105 class_ref 129435 // Kasjer + name "" xyz 16 4 2000 life_line_z 2000 +classinstance 128233 class_ref 167529 // PlatnoscController + name "" xyz 179 4 2000 life_line_z 2000 +classinstance 128361 class_ref 128392 // Platnosc + name "" xyz 379 4 2000 life_line_z 2000 +durationcanvas 128489 classinstance_ref 128105 // :Kasjer + xyzwh 28 81 2010 11 60 +end +durationcanvas 128617 classinstance_ref 128233 // :PlatnoscController + xyzwh 224 81 2010 11 36 +end +durationcanvas 128873 classinstance_ref 128361 // :Platnosc + xyzwh 401 101 2010 11 25 +end +msg 128745 synchronous + from durationcanvas_ref 128489 + to durationcanvas_ref 128617 + yz 82 2015 explicitmsg "rozpocznijPlatnosc()" + show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default + label_xy 87 68 +msg 129001 synchronous + from durationcanvas_ref 128617 + to durationcanvas_ref 128873 + yz 102 2015 explicitmsg "create()" + show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default + label_xy 299 88 +end diff --git a/models/175977_8.d b/models/175977_8.d new file mode 100644 index 0000000..21e8d3f --- /dev/null +++ b/models/175977_8.d @@ -0,0 +1,68 @@ +format 224 + +classinstance 128105 class_ref 129435 // Kasjer + name "" xyz 3 4 2005 life_line_z 2000 +classinstance 128233 class_ref 167529 // PlatnoscController + name "" xyz 180 4 2000 life_line_z 2000 +classinstance 128361 class_ref 128392 // Platnosc + name "" xyz 397 4 2000 life_line_z 2000 +classinstance 128489 class_ref 141289 // MenedzerBazyDanych + name "" xyz 552 4 2000 life_line_z 2000 +classinstance 128617 class_ref 141417 // BazaDanych + name "" xyz 761 4 2000 life_line_z 2000 +durationcanvas 128745 classinstance_ref 128105 // :Kasjer + xyzwh 15 69 2010 11 40 +end +durationcanvas 128873 classinstance_ref 128233 // :PlatnoscController + xyzwh 225 69 2010 11 40 +end +durationcanvas 129129 classinstance_ref 128361 // :Platnosc + xyzwh 419 98 2010 11 121 +end +durationcanvas 129385 classinstance_ref 128489 // :MenedzerBazyDanych + xyzwh 606 121 2010 11 84 +end +durationcanvas 129641 classinstance_ref 128617 // :BazaDanych + xyzwh 792 132 2010 11 55 +end +msg 129001 synchronous + from durationcanvas_ref 128745 + to durationcanvas_ref 128873 + yz 69 2015 explicitmsg "wprowadzNumerStolika()" + show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default + args "numerStolika: int" + label_xy 25 55 +msg 129257 synchronous + from durationcanvas_ref 128873 + to durationcanvas_ref 129129 + yz 98 2020 explicitmsg "wprowadzNumerStolika()" + show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default + args "numerStolika: int" + label_xy 226 84 +msg 129513 synchronous + from durationcanvas_ref 129129 + to durationcanvas_ref 129385 + yz 123 2015 explicitmsg "zwrocZamowienie()" + show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default + args "numerStolika: int" + label_xy 431 109 +msg 129769 synchronous + from durationcanvas_ref 129385 + to durationcanvas_ref 129641 + yz 133 2020 explicitmsg "zwrocZamowienie()" + show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default + args "numerStolika: int" + label_xy 621 119 +msg 129897 return + from durationcanvas_ref 129641 + to durationcanvas_ref 129385 + yz 174 2015 explicitmsg "zamowienie: Zamowienie" + show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default + label_xy 646 160 +msg 130025 return + from durationcanvas_ref 129385 + to durationcanvas_ref 129129 + yz 187 2015 explicitmsg "zamowienie: Zamowienie" + show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default + label_xy 458 173 +end diff --git a/models/176105_8.d b/models/176105_8.d new file mode 100644 index 0000000..16653de --- /dev/null +++ b/models/176105_8.d @@ -0,0 +1,67 @@ +format 224 + +classinstance 128105 class_ref 129435 // Kasjer + name "" xyz 13 4 2005 life_line_z 2000 +classinstance 128233 class_ref 167529 // PlatnoscController + name "" xyz 163 4 2000 life_line_z 2000 +classinstance 128361 class_ref 128392 // Platnosc + name "" xyz 365 4 2000 life_line_z 2000 +classinstance 128489 class_ref 141289 // MenedzerBazyDanych + name "" xyz 527 4 2000 life_line_z 2000 +classinstance 128617 class_ref 141417 // BazaDanych + name "" xyz 753 4 2000 life_line_z 2000 +durationcanvas 128745 classinstance_ref 128105 // :Kasjer + xyzwh 25 87 2010 11 40 +end +durationcanvas 128873 classinstance_ref 128233 // :PlatnoscController + xyzwh 208 87 2010 11 25 +end +durationcanvas 129129 classinstance_ref 128361 // :Platnosc + xyzwh 387 100 2010 11 121 +end +durationcanvas 129385 classinstance_ref 128489 // :MenedzerBazyDanych + xyzwh 581 119 2010 11 96 +end +durationcanvas 129641 classinstance_ref 128617 // :BazaDanych + xyzwh 784 144 2010 11 48 +end +msg 129001 synchronous + from durationcanvas_ref 128745 + to durationcanvas_ref 128873 + yz 87 2015 explicitmsg "edytujNumerStolika()" + show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default + args "numerStolika: int" + label_xy 34 73 +msg 129257 synchronous + from durationcanvas_ref 128873 + to durationcanvas_ref 129129 + yz 100 2020 explicitmsg "edytujNumerStolika()" + show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default + args "numerStolika: int" + label_xy 215 86 +msg 129513 synchronous + from durationcanvas_ref 129129 + to durationcanvas_ref 129385 + yz 120 2015 explicitmsg "zwrocZamowienie(numerStolika: int)" + show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default + label_xy 403 106 +msg 129769 synchronous + from durationcanvas_ref 129385 + to durationcanvas_ref 129641 + yz 144 2015 explicitmsg "zwrocZamowienie()" + show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default + args "numerStolika: int" + label_xy 602 130 +msg 129897 return + from durationcanvas_ref 129641 + to durationcanvas_ref 129385 + yz 180 2015 explicitmsg "zamowienie: Zamowienie" + show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default + label_xy 629 166 +msg 130025 return + from durationcanvas_ref 129385 + to durationcanvas_ref 129129 + yz 200 2015 explicitmsg "zamowienie: Zamowienie" + show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default + label_xy 430 186 +end diff --git a/models/176233_8.d b/models/176233_8.d new file mode 100644 index 0000000..6c40fdd --- /dev/null +++ b/models/176233_8.d @@ -0,0 +1,71 @@ +format 224 + +classinstance 128105 class_ref 129435 // Kasjer + name "" xyz -0.8 4.2 2005 life_line_z 2000 +classinstance 128233 class_ref 167529 // PlatnoscController + name "" xyz 245.1 4 2000 life_line_z 2000 +classinstance 128361 class_ref 141289 // MenedzerBazyDanych + name "" xyz 468.4 4 2000 life_line_z 2000 +classinstance 128489 class_ref 141417 // BazaDanych + name "" xyz 713.1 4 2000 life_line_z 2000 +classinstance 128617 class_ref 128392 // Platnosc + name "" xyz 787.6 4 2000 life_line_z 2000 +durationcanvas 128745 classinstance_ref 128105 // :Kasjer + xyzwh 11 79 2010 11 40 +end +durationcanvas 128873 classinstance_ref 128233 // :PlatnoscController + xyzwh 290 81 2010 11 79 +end +durationcanvas 129513 classinstance_ref 128361 // :MenedzerBazyDanych + xyzwh 522 106 2010 11 52 +end +durationcanvas 129769 classinstance_ref 128489 // :BazaDanych + xyzwh 744 113 2010 11 45 +end +durationcanvas 130025 classinstance_ref 128233 // :PlatnoscController + xyzwh 290 210 2010 11 40 +end +durationcanvas 130153 classinstance_ref 128617 // :Platnosc + xyzwh 809 210 2010 11 25 +end +msg 128027 return + from durationcanvas_ref 129769 + to durationcanvas_ref 129513 + yz 140 2015 explicitmsg "sposobPlatnosci: SposobPlatnosci" + show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default + label_xy 556 127 +msg 128155 return + from durationcanvas_ref 129513 + to durationcanvas_ref 128873 + yz 147 2020 explicitmsg "sposobPlatnosci: SposobPlatnosci" + show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default + label_xy 330 134 +msg 129001 synchronous + from durationcanvas_ref 128745 + to durationcanvas_ref 128873 + yz 81 2015 explicitmsg "wybierzSposobPlatnosci()" + show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default + args "platnoscId: int, sposobPlatnosciId: int" + label_xy 12 66 +msg 129641 synchronous + from durationcanvas_ref 128873 + to durationcanvas_ref 129513 + yz 106 2015 explicitmsg "zwrocSposobPlatnosc()" + show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default + args "sposobPlatnosciId: int" + label_xy 313 92 +msg 129897 synchronous + from durationcanvas_ref 129513 + to durationcanvas_ref 129769 + yz 114 2015 explicitmsg "zwrocSposobPlatnosc()" + show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default + args "sposobPlatnosciId: int" + label_xy 537 100 +msg 130281 synchronous + from durationcanvas_ref 130025 + to durationcanvas_ref 130153 + yz 210 2015 explicitmsg "wybierzSposobPlatnosci()" + show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default + args "sposobPlatnosci: SposobPlatnosci" + label_xy 412 197 +end diff --git a/models/176361_8.d b/models/176361_8.d new file mode 100644 index 0000000..ab7f918 --- /dev/null +++ b/models/176361_8.d @@ -0,0 +1,38 @@ +format 224 + +classinstance 128105 class_ref 129435 // Kasjer + name "" xyz 14 4 2005 life_line_z 2000 +classinstance 128233 class_ref 167529 // PlatnoscController + name "" xyz 208 4 2000 life_line_z 2000 +classinstance 128361 class_ref 128392 // Platnosc + name "" xyz 454 5 2000 life_line_z 2000 +durationcanvas 128489 classinstance_ref 128105 // :Kasjer + xyzwh 26 72 2010 11 40 +end +durationcanvas 128617 classinstance_ref 128233 // :PlatnoscController + xyzwh 253 72 2010 11 107 +end +durationcanvas 128873 classinstance_ref 128361 // :Platnosc + xyzwh 476 93 2010 11 65 +end +msg 128745 synchronous + from durationcanvas_ref 128489 + to durationcanvas_ref 128617 + yz 72 2015 explicitmsg "dokonajPlatnosci()" + show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default + args "przyjetaGotowka: double" + label_xy 44 59 +msg 129001 synchronous + from durationcanvas_ref 128617 + to durationcanvas_ref 128873 + yz 93 2015 explicitmsg "dokonajPlatnosci()" + show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default + args "przyjetaGotowka: double" + label_xy 273 81 +msg 129129 return + from durationcanvas_ref 128873 + to durationcanvas_ref 128617 + yz 138 2015 explicitmsg "reszta: double" + show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default + label_xy 331 125 +end diff --git a/models/8.session b/models/8.session index c5968dd..727a59f 100644 --- a/models/8.session +++ b/models/8.session @@ -1,12 +1,15 @@ -window_sizes 1920 1017 450 1465 867 104 +window_sizes 1920 1017 450 1465 863 105 diagrams - active classdiagram_ref 128012 // domain-model - 1232 875 200 A4 0 0 + classdiagram_ref 141723 // design-model + 1172 691 69 D-Landscape 0 7 + active sequencediagram_ref 168425 // 2-2-dodaniePotrawyNiestandardowej + 1465 863 100 A4 0 0 end show_stereotypes -selected classdiagram_ref 128012 // domain-model +selected sequencediagram_ref 168425 // 2-2-dodaniePotrawyNiestandardowej open classview_ref 128012 // domain + classview_ref 128027 // design end end diff --git a/models/models.prj b/models/models.prj index d0aa25e..f7922b9 100644 --- a/models/models.prj +++ b/models/models.prj @@ -1,7 +1,7 @@ format 224 "models" - revision 41 - modified_by 105 "s452711" + revision 42 + modified_by 8 "s452662" @@ -3112,6 +3112,103 @@ format 224 + end + end + + state 128008 "MaszynaStanowa" + stereotype "machine" + statediagram 128008 "DiagramStanowZamowienia" + statediagramsettings + end + size A4 + end + + pseudostate 128008 initial "" + end + + pseudostate 128136 initial "" + end + + pseudostate 128520 join "" + end + + state 128136 "Utworzone" + transition 128136 "dodajDodatki" + on state_ref 128264 // Modyfikowane + external + end + + transition 128264 "anulujZamowienie" + on pseudostate_ref 128776 // exit_point Anulowane + external + end + end + + state 128264 "Modyfikowane" + transition 128392 "anulujZamowienie" + on pseudostate_ref 128776 // exit_point Anulowane + external + end + + transition 128520 "zatwierdzZamowienie" + on state_ref 128904 // Przygotowywanie + external + end + end + + state 128392 "Gotowe" + transition 128776 "zatwierdzDostarczenieZamowienia" + on state_ref 128520 // Dostarczone + external + end + end + + state 128520 "Dostarczone" + transition 128904 "przejdzDoPlatnosci" + on state_ref 128648 // WTrakcieOplacania + external + end + end + + state 128648 "WTrakcieOplacania" + transition 129032 "dokonajPlatnosci" + on state_ref 129032 // Oplacone + external + end + + transition 129288 "dokonajPlatnosci" + on pseudostate_ref 128904 // final Oplacone + external + end + + end + + pseudostate 128648 initial "" + transition 128008 "stworzZamowienie" + stereotype "create" + on state_ref 128136 // Utworzone + external + end + end + + state 128904 "Przygotowywanie" + transition 128648 "wydajZamowienie" + on state_ref 128392 // Gotowe + external + end + end + + pseudostate 128776 exit_point "Anulowane" + end + + pseudostate 128904 final "Oplacone" + end + + state 129032 "Oplacone" + transition 129160 "" + on pseudostate_ref 128904 // final Oplacone + external + end end end end