add advanced software design patterns to class diagram (factory, strategy)

This commit is contained in:
s452711 2022-01-18 15:40:46 +01:00
parent a9838b7532
commit 493858fe9a
14 changed files with 1014 additions and 547 deletions

View File

@ -2,235 +2,340 @@ format 224
classcanvas 128027 class_ref 154473 // System classcanvas 128027 class_ref 154473 // System
classdiagramsettings member_max_width 0 end classdiagramsettings member_max_width 0 end
xyz 1553.6 889.4 2000 xyz 394.1 1335.3 2000
end end
classcanvas 128155 class_ref 128105 // ZarzadzanieZamowieniamiController classcanvas 128155 class_ref 128105 // ZarzadzanieZamowieniamiController
classdiagramsettings member_max_width 0 end classdiagramsettings member_max_width 0 end
xyz 1404.5 641.9 2000 xyz 1737.5 1279.35 2000
end 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
classcanvas 128283 class_ref 128233 // ZarzadcaZamowien classcanvas 128283 class_ref 128233 // ZarzadcaZamowien
classdiagramsettings member_max_width 0 end classdiagramsettings member_max_width 0 end
xyz 1404.3 28.6 2000 xyz 1737.5 988.4 2000
end
classcanvas 128361 class_ref 174057 // IStrategiaSposobuUiszczaniaPlatnosci
classdiagramsettings member_max_width 0 end
xyz 612.55 918 2000
end end
classcanvas 128411 class_ref 128283 // Zamowienie classcanvas 128411 class_ref 128283 // Zamowienie
classdiagramsettings member_max_width 0 end classdiagramsettings member_max_width 0 end
xyzwh 139.6 134.5 2000 346 225 xyzwh 1760.15 426.35 2000 363 222
end
classcanvas 128489 class_ref 174185 // FabrykaPromocji
classdiagramsettings member_max_width 0 end
xyz 2249.65 525.2 2000
end end
classcanvas 128539 class_ref 141289 // MenedzerBazyDanych classcanvas 128539 class_ref 141289 // MenedzerBazyDanych
classdiagramsettings member_max_width 0 end classdiagramsettings member_max_width 0 end
xyz 2205.3 291.3 2000 xyz 1244.95 1018.4 2000
end end
classcanvas 128667 class_ref 141417 // BazaDanych classcanvas 128667 class_ref 141417 // BazaDanych
classdiagramsettings member_max_width 0 end classdiagramsettings member_max_width 0 end
xyz 1649.8 298.9 2000 xyz 1244.95 1203.85 2000
end end
classcanvas 128795 class_ref 147945 // FabrykaPotraw classcanvas 128795 class_ref 147945 // FabrykaPotraw
classdiagramsettings member_max_width 0 end classdiagramsettings member_max_width 0 end
xyz 204.8 48 2000 xyz 1585.8 305.5 2000
end end
classcanvas 128923 class_ref 128155 // Potrawa classcanvas 128923 class_ref 128155 // Potrawa
classdiagramsettings member_max_width 0 end classdiagramsettings member_max_width 0 end
xyz 1104.9 277.8 2000 xyz 1833.5 279.05 2000
end end
classcanvas 129051 class_ref 128411 // Platnosc classcanvas 129051 class_ref 128411 // Platnosc
classdiagramsettings member_max_width 0 end classdiagramsettings member_max_width 0 end
xyz 2231.3 494.3 2000 xyz 494.55 662.65 2000
end end
classcanvas 129179 class_ref 128667 // Produkt classcanvas 129179 class_ref 128667 // Produkt
classdiagramsettings member_max_width 0 end classdiagramsettings member_max_width 0 end
xyz 1058 488.8 2000 xyz 2116.1 291.85 2000
end 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
classcanvas 129307 class_ref 128795 // Spizarnia classcanvas 129307 class_ref 128795 // Spizarnia
classdiagramsettings member_max_width 0 end classdiagramsettings member_max_width 0 end
xyz 673.7 474.6 2005 xyz 2110.5 164.15 2005
end 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
classcanvas 129435 class_ref 129947 // PotrawaNiestandardowa classcanvas 129435 class_ref 129947 // PotrawaNiestandardowa
classdiagramsettings member_max_width 0 end classdiagramsettings member_max_width 0 end
xyz 195.8 889.4 2005 xyz 95.55 404.5 2005
end
classcanvas 129513 class_ref 174313 // IStrategiaObliczaniaZnizki
classdiagramsettings member_max_width 0 end
xyz 2276.25 622.4 2005
end end
classcanvas 129563 class_ref 130331 // IloscProduktu classcanvas 129563 class_ref 130331 // IloscProduktu
classdiagramsettings member_max_width 0 end classdiagramsettings member_max_width 0 end
xyz 350.7 476.4 2000 xyz 2134.5 39.35 2000
end end
classcanvas 129691 class_ref 144283 // Dostawa classcanvas 129691 class_ref 144283 // Dostawa
classdiagramsettings member_max_width 0 end classdiagramsettings member_max_width 0 end
xyz 457.6 401.5 2000 xyz 2487.4 178.85 2000
end end
classcanvas 129819 class_ref 161001 // PotrawaNiestandardowaHandler classcanvas 129819 class_ref 161001 // PotrawaNiestandardowaHandler
classdiagramsettings member_max_width 0 end classdiagramsettings member_max_width 0 end
xyz 673.7 853.3 2000 xyz 81.25 517.05 2000
end end
classcanvas 129947 class_ref 167529 // PlatnoscController classcanvas 129947 class_ref 167529 // PlatnoscController
classdiagramsettings member_max_width 0 end classdiagramsettings member_max_width 0 end
xyz 2221.6 838.7 2000 xyz 274.65 1012.75 2000
end
classcanvas 130025 class_ref 174441 // StrategiaObliczaniaZnizkiOStalaWartosc
classdiagramsettings member_max_width 0 end
xyz 2274.75 752.4 2000
end end
classcanvas 130075 class_ref 137627 // PolaczenieZBankiemHandler classcanvas 130075 class_ref 137627 // PolaczenieZBankiemHandler
classdiagramsettings member_max_width 0 end classdiagramsettings member_max_width 0 end
xyz 1735.4 538.4 2005 xyz 1029.55 698.25 2005
end end
classcanvas 131355 class_ref 134761 // Promocja classcanvas 130281 class_ref 174569 // StrategiaObliczaniaZnizkiZaZestaw
classdiagramsettings member_max_width 0 end classdiagramsettings member_max_width 0 end
xyz 3.8 227.5 2000 xyz 1983.35 752 2006
end
note 130537 "Przykladowe klasy implementujace interfejs IStrategiaObliczaniaZnizki"
xyzwh 2327.1 815.4 2000 147 61
classcanvas 131355 class_ref 134761 // StrategiaObliczaniaZnizkiProcentowej
classdiagramsettings member_max_width 0 end
xyz 2570.95 752.4 2000
end
classcanvas 131433 class_ref 174697 // StrategiaSposobuUiszczaniaPlatnosciGotowka
classdiagramsettings member_max_width 0 end
xyz 895.9 832.1 2000
end
classcanvas 131689 class_ref 174825 // StrategiaSposobuUiszczaniaPlatnosciKarta
classdiagramsettings member_max_width 0 end
xyz 895.3 918 2000
end
classcanvas 131945 class_ref 174953 // StrategiaSposobuUiszczaniaPlatnosciPrzezBonPodarunkowy
classdiagramsettings member_max_width 0 end
xyz 895.25 1004 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
note 135529 "Przykladowe klasy implementujace interfejs IStrategiaSposobuUiszczaniaPlatnosci"
xyzwh 1151.4 915.5 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 551
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 end
relationcanvas 130203 relation_ref 128027 // uzywa relationcanvas 130203 relation_ref 128027 // uzywa
decenter_begin 509 from ref 128155 z 2001 label "uzywa" italic max_width 255 xyz 1111 1374 2001 to ref 128027
from ref 128155 z 2001 label "uzywa" italic max_width 255 xyz 1597 854 3000 to ref 128027
no_role_a no_role_b no_role_a no_role_b
multiplicity_a_pos 1599 870 3000 multiplicity_b_pos 1599 856 3000 multiplicity_a_pos 530 1376 3000 multiplicity_b_pos 1725 1376 3000
end end
relationcanvas 130331 relation_ref 128155 // uzywa relationcanvas 130331 relation_ref 128155 // uzywa
decenter_begin 518 from ref 129947 z 2001 label "uzywa" italic max_width 255 xyz 462 1241 2001 to ref 128027
from ref 129947 z 2001 label "uzywa" italic max_width 255 xyz 1933.5 912.5 3000 to ref 128027
no_role_a no_role_b no_role_a no_role_b
multiplicity_a_pos 1694 935 3000 multiplicity_b_pos 2205 936 3000 multiplicity_a_pos 439 1313 3000 multiplicity_b_pos 438 1171 3000
end end
relationcanvas 130459 relation_ref 128283 // uzywa relationcanvas 130459 relation_ref 128283 // uzywa
decenter_begin 509 from ref 128155 z 2001 label "uzywa" italic max_width 255 xyz 1943 1227 2001 to ref 128283
decenter_end 509
from ref 128155 z 2001 label "uzywa" italic max_width 255 xyz 1599 439 3000 to ref 128283
no_role_a no_role_b no_role_a no_role_b
multiplicity_a_pos 1598 250 3000 multiplicity_b_pos 1597 626 3000 multiplicity_a_pos 1922 1188 3000 multiplicity_b_pos 1922 1264 3000
end end
relationcanvas 130587 relation_ref 128411 // agreguje relationcanvas 130587 relation_ref 128411 // agreguje
decenter_end 65 from ref 128283 z 2001 label "agreguje" italic max_width 255 xyz 1946 817 2001 to ref 128411
from ref 128283 z 2001 label "agreguje" italic max_width 255 xyz 913.5 130 3000 to ref 128411
no_role_a no_role_b no_role_a no_role_b
multiplicity_a_pos 499 154 3000 multiplicity_b_pos 1370 161 3000 multiplicity_a_pos 1922 657 3000 multiplicity_b_pos 1922 971 3000
end end
relationcanvas 130715 relation_ref 128539 // agreguje relationcanvas 130715 relation_ref 128539 // agreguje
geometry HV unfixed from ref 128411 z 2001 label "agreguje" italic max_width 255 xyz 1942 380 2001 to ref 128923
decenter_begin 483
decenter_end 483
from ref 128411 z 2001 to point 1210 240
line 138523 z 2001 label "agreguje" italic max_width 255 xyz 1192 244.5 3000 to ref 128923
no_role_a no_role_b no_role_a no_role_b
multiplicity_a_pos 1199 259 3000 multiplicity_b_pos 498 250 3000 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 end
relationcanvas 130843 relation_ref 128667 // posluguje sie relationcanvas 130843 relation_ref 128667 // posluguje sie
geometry HV unfixed from ref 128283 z 2001 label "posluguje sie" italic max_width 255 xyz 1659 1088 2001 to ref 128539
decenter_end 508
from ref 128283 z 2001 label "posluguje sie" italic max_width 255 xyz 2083 126 3000 to point 2406 138
line 138395 z 2001 to ref 128539
no_role_a no_role_b no_role_a no_role_b
multiplicity_a_pos 2388 276 3000 multiplicity_b_pos 1844 146 3000 multiplicity_a_pos 1640 1092 3000 multiplicity_b_pos 1729 1092 3000
end end
relationcanvas 130971 relation_ref 128795 // obsluguje relationcanvas 130921 relation_ref 135657 // <realization>
decenter_begin 521 geometry VHV unfixed
from ref 128539 z 2001 label "obsluguje" italic max_width 255 xyz 2107.5 351.5 3000 to ref 128667 from ref 131355 z 2006 to point 2695.3 712.6
no_role_a no_role_b line 134121 z 2006 to point 2401.7 712.6
multiplicity_a_pos 2073 377 3000 multiplicity_b_pos 2188 382 3000 line 134249 z 2006 to ref 129513
end
relationcanvas 131099 relation_ref 128923 // korzysta
from ref 128411 z 2001 label "korzysta" italic max_width 255 xyz 313.5 110 3000 to ref 128795
no_role_a no_role_b
multiplicity_a_pos 296 102 3000 multiplicity_b_pos 298 115 3000
end
relationcanvas 131227 relation_ref 129051 // zawiera
decenter_begin 483
from ref 128923 z 2001 label "zawiera" italic max_width 255 xyz 1195.5 415.5 3000 to ref 129179
no_role_a no_role_b
multiplicity_a_pos 1187 470 3000 multiplicity_b_pos 1199 380 3000
end
relationcanvas 131483 relation_ref 129179 // zawiera
decenter_begin 483
decenter_end 409
from ref 128411 z 2001 label "zawiera" italic max_width 255 xyz 85.5 222.5 3000 to ref 131355
no_role_a no_role_b
multiplicity_a_pos 80 250 3000 multiplicity_b_pos 120 249 3000
end
relationcanvas 131611 relation_ref 129307 // uzywa
decenter_begin 523
from ref 129819 z 2001 label "uzywa" italic max_width 255 xyz 1239 915 3000 to ref 128027
no_role_a no_role_b
multiplicity_a_pos 1536 935 3000 multiplicity_b_pos 984 935 3000
end
relationcanvas 133275 relation_ref 129819 // korzysta z
decenter_begin 513
decenter_end 48
from ref 129819 z 2001 label "korzysta z" italic max_width 255 xyz 689.5 1018 3000 to point 827.3 1037.1
line 136091 z 2001 to point 157.1 1037.8
line 136731 z 2001 to ref 128411
no_role_a no_role_b
multiplicity_a_pos 142 365 3000 multiplicity_b_pos 811 1004 3000
end
relationcanvas 133403 relation_ref 129947 // agreguje
decenter_begin 565
from ref 128411 z 2006 label "agreguje" italic max_width 255 xyz 322 611 3000 to ref 129435
no_role_a no_role_b
multiplicity_a_pos 321 870 3000 multiplicity_b_pos 319 365 3000
end
relationcanvas 133531 relation_ref 130075 // korzysta z
decenter_begin 513
decenter_end 513
from ref 129819 z 2006 label "korzysta z" italic max_width 255 xyz 800 708 3000 to ref 129307
no_role_a no_role_b
multiplicity_a_pos 811 578 3000 multiplicity_b_pos 811 834 3000
end
relationcanvas 133659 relation_ref 130203 // przechowuje
from ref 129307 z 2006 label "przechowuje" italic max_width 255 xyz 606 460.5 3000 to ref 129563
no_role_a no_role_b
multiplicity_a_pos 635 529 3000 multiplicity_b_pos 637 529 3000
end
relationcanvas 134171 relation_ref 130459 // zawiera
from ref 129307 z 2006 label "zawiera" italic max_width 255 xyz 994 500 3000 to ref 129179
no_role_a no_role_b
multiplicity_a_pos 1024 526 3000 multiplicity_b_pos 1002 527 3000
end
relationcanvas 134299 relation_ref 130587 // jest zawarty w (?)
decenter_end 310
from ref 129179 z 2001 to point 1383.4 524.6
line 138011 z 2001 to point 1383.4 204.8
line 138139 z 2001 label "jest zawarty w (?)" italic max_width 255 xyz 890 190.5 3000 to ref 128411
no_role_a no_role_b
multiplicity_a_pos 498 210 3000 multiplicity_b_pos 1379 530 3000
end
relationcanvas 134427 relation_ref 130715 // przechowuje
decenter_end 513
from ref 129691 z 2001 label "przechowuje" italic max_width 255 xyz 485 445 3000 to ref 129563
no_role_a no_role_b
multiplicity_a_pos 466 457 3000 multiplicity_b_pos 464 442 3000
end
relationcanvas 134555 relation_ref 130843 // aktualizuje
geometry HV unfixed
decenter_begin 384
decenter_end 513
from ref 129691 z 2006 label "aktualizuje" italic max_width 255 xyz 658.5 405 3000 to point 826 413
line 136603 z 2006 to ref 129307
no_role_a no_role_b
multiplicity_a_pos 809 456 3000 multiplicity_b_pos 524 422 3000
end
relationcanvas 134683 relation_ref 130971 // korzysta z
decenter_end 509
from ref 129947 z 2001 label "korzysta z" italic max_width 255 xyz 2346.5 724.5 3000 to ref 129051
no_role_a no_role_b
multiplicity_a_pos 2394 646 3000 multiplicity_b_pos 2392 819 3000
end
relationcanvas 134811 relation_ref 131099 // posluguje sie
decenter_begin 509
decenter_end 508
from ref 129051 z 2001 label "posluguje sie" italic max_width 255 xyz 2374 455 3000 to ref 128539
no_role_a no_role_b
multiplicity_a_pos 2392 459 3000 multiplicity_b_pos 2394 476 3000
end
relationcanvas 134939 relation_ref 131227 // posluguje sie
decenter_begin 523
from ref 129051 z 2006 label "posluguje sie" italic max_width 255 xyz 2133.5 551 3000 to ref 130075
no_role_a no_role_b
multiplicity_a_pos 2205 577 3000 multiplicity_b_pos 2213 577 3000
end
relationcanvas 135067 relation_ref 131355 // uzywa
decenter_begin 518
decenter_end 521
from ref 129947 z 2001 label "uzywa" italic max_width 255 xyz 2655 787 3000 to point 2642.1 929.5
line 135195 z 2001 to point 2642.6 375.7
line 135323 z 2001 to ref 128539
no_role_a no_role_b
multiplicity_a_pos 2614 382 3000 multiplicity_b_pos 2604 936 3000
end
relationcanvas 137499 relation_ref 137883 // obsluguje
decenter_begin 523
from ref 129819 z 2006 label "obsluguje" italic max_width 255 xyz 545 910.5 3000 to ref 129435
no_role_a no_role_b no_role_a no_role_b
no_multiplicity_a no_multiplicity_b no_multiplicity_a no_multiplicity_b
end 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 // <realization>
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 // <realization>
decenter_begin 509
from ref 130281 z 2007 to point 2110.8 712.6
line 133225 z 2007 to point 2400.8 714.4
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 // <realization>
from ref 131433 z 2001 to point 855.3 855.3
line 132969 z 2001 to point 855.3 940.8
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 1000.5 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 // <realization>
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 // <realization>
from ref 131945 z 2007 to point 855.3 1026.2
line 132457 z 2007 to point 855.3 940.8
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.8 580.8
line 133481 z 2006 to point 40.8 211.7
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.7 452.6
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 69 2001 to ref 129563
no_role_a no_role_b
multiplicity_a_pos 2400 91 3000 multiplicity_b_pos 2497 161 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 // <dependency>
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 462 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.6 621.7
line 132713 z 2001 label "posluguje sie" italic max_width 255 xyz 1048 610 2001 to point 1444.4 621.7
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 end

341
models/141723_105.d Normal file
View File

@ -0,0 +1,341 @@
format 224
classcanvas 128027 class_ref 154473 // System
classdiagramsettings member_max_width 0 end
xyz 394.4 1335.4 2000
end
classcanvas 128155 class_ref 128105 // ZarzadzanieZamowieniamiController
classdiagramsettings member_max_width 0 end
xyz 1737.5 1279.45 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.4 281.2 2000 387 101
classcanvas 128283 class_ref 128233 // ZarzadcaZamowien
classdiagramsettings member_max_width 0 end
xyz 1737.5 988.1 2000
end
classcanvas 128361 class_ref 174057 // IStrategiaSposobuUiszczaniaPlatnosci
classdiagramsettings member_max_width 0 end
xyz 612.75 918 2000
end
classcanvas 128411 class_ref 128283 // Zamowienie
classdiagramsettings member_max_width 0 end
xyzwh 1760.25 425.95 2000 363 222
end
classcanvas 128489 class_ref 174185 // FabrykaPromocji
classdiagramsettings member_max_width 0 end
xyz 2249.05 525.9 2000
end
classcanvas 128539 class_ref 141289 // MenedzerBazyDanych
classdiagramsettings member_max_width 0 end
xyz 1244.95 1018.3 2000
end
classcanvas 128667 class_ref 141417 // BazaDanych
classdiagramsettings member_max_width 0 end
xyz 1244.95 1203.55 2000
end
classcanvas 128795 class_ref 147945 // FabrykaPotraw
classdiagramsettings member_max_width 0 end
xyz 1585.6 305.2 2000
end
classcanvas 128923 class_ref 128155 // Potrawa
classdiagramsettings member_max_width 0 end
xyz 1833.5 279.25 2000
end
classcanvas 129051 class_ref 128411 // Platnosc
classdiagramsettings member_max_width 0 end
xyz 494.75 662.25 2000
end
classcanvas 129179 class_ref 128667 // Produkt
classdiagramsettings member_max_width 0 end
xyz 2116.1 291.85 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.5 424.9 2000 309 87
classcanvas 129307 class_ref 128795 // Spizarnia
classdiagramsettings member_max_width 0 end
xyz 2110.6 164.85 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 568.4 2000 309 113
classcanvas 129435 class_ref 129947 // PotrawaNiestandardowa
classdiagramsettings member_max_width 0 end
xyz 95.65 404.5 2005
end
classcanvas 129513 class_ref 174313 // IStrategiaObliczaniaZnizki
classdiagramsettings member_max_width 0 end
xyz 2276.55 622.8 2005
end
classcanvas 129563 class_ref 130331 // IloscProduktu
classdiagramsettings member_max_width 0 end
xyz 2134.6 39.55 2000
end
classcanvas 129691 class_ref 144283 // Dostawa
classdiagramsettings member_max_width 0 end
xyz 2487.8 178.55 2000
end
classcanvas 129819 class_ref 161001 // PotrawaNiestandardowaHandler
classdiagramsettings member_max_width 0 end
xyz 81.45 517.15 2000
end
classcanvas 129947 class_ref 167529 // PlatnoscController
classdiagramsettings member_max_width 0 end
xyz 274.25 1012.75 2000
end
classcanvas 130025 class_ref 174441 // StrategiaObliczaniaZnizkiOStalaWartosc
classdiagramsettings member_max_width 0 end
xyz 2274.85 752.8 2000
end
classcanvas 130075 class_ref 137627 // PolaczenieZBankiemHandler
classdiagramsettings member_max_width 0 end
xyz 1029.85 698.95 2005
end
classcanvas 130281 class_ref 174569 // StrategiaObliczaniaZnizkiZaZestaw
classdiagramsettings member_max_width 0 end
xyz 1983.35 752.4 2006
end
note 130537 "Przykladowe klasy implementujace interfejs IStrategiaObliczaniaZnizki"
xyzwh 2327.1 815.9 2000 147 61
classcanvas 131355 class_ref 134761 // StrategiaObliczaniaZnizkiProcentowej
classdiagramsettings member_max_width 0 end
xyz 2570.65 752.8 2000
end
classcanvas 131433 class_ref 174697 // StrategiaSposobuUiszczaniaPlatnosciGotowka
classdiagramsettings member_max_width 0 end
xyz 895.5 832.5 2000
end
classcanvas 131689 class_ref 174825 // StrategiaSposobuUiszczaniaPlatnosciKarta
classdiagramsettings member_max_width 0 end
xyz 895 918 2000
end
classcanvas 131945 class_ref 174953 // StrategiaSposobuUiszczaniaPlatnosciPrzezBonPodarunkowy
classdiagramsettings member_max_width 0 end
xyz 895.25 1004.6 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 643.2 969 2000 190 103
note 135529 "Przykladowe klasy implementujace interfejs IStrategiaSposobuUiszczaniaPlatnosci"
xyzwh 1150.7 916.4 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.5 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 552
from ref 128411 z 2001 label "korzysta z" italic max_width 255 xyz 2161.5 531 3000 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.5 585.5 3000 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.5 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.5 1227.5 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.5 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.5 3000 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.5 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 // <realization>
geometry VHV unfixed
from ref 131355 z 2006 to point 2695.9 712.9
line 134121 z 2006 to point 2402.8 712.9
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 505
decenter_end 505
from ref 128539 z 2001 label "obsluguje" italic max_width 255 xyz 1447.5 1169.5 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 // <realization>
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 // <realization>
decenter_begin 509
from ref 130281 z 2007 to point 2110.2 712.9
line 133225 z 2007 to point 2400.2 714.6
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.5 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 // <realization>
from ref 131433 z 2001 to point 855.5 855.5
line 132969 z 2001 to point 855.5 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.5 995.5 2001 to point 232 1357
line 133865 z 2001 to ref 128027
no_role_a no_role_b
multiplicity_a_pos 383 1376 3000 multiplicity_b_pos 218 647 3000
end
relationcanvas 131817 relation_ref 136169 // <realization>
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 // <realization>
from ref 131945 z 2007 to point 855.5 1026
line 132457 z 2007 to point 855.5 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 690
from ref 129819 z 2001 label "korzysta z" italic max_width 255 xyz 1052 561.5 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.5 429 2006 to ref 129435
no_role_a no_role_b
multiplicity_a_pos 364 445 3000 multiplicity_b_pos 1742 445 3000
end
relationcanvas 133531 relation_ref 130075 // korzysta z
decenter_begin 510
decenter_end 527
from ref 129819 z 2006 to point 40 580
line 133481 z 2006 to point 40 211.5
line 133609 z 2006 label "korzysta z" italic max_width 255 xyz 1052.5 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.5 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 477
from ref 129307 z 2006 label "zawiera" italic max_width 255 xyz 2269 263.5 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 345
decenter_end 128
from ref 129179 z 2001 to point 2221.4 452.8
line 135785 z 2001 label "jest zawarty w" italic max_width 255 xyz 2139.5 440.5 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 69.5 2001 to ref 129563
no_role_a no_role_b
multiplicity_a_pos 2400 91 3000 multiplicity_b_pos 2497 161 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 // <dependency>
decenter_begin 156
decenter_end 837
from ref 129513 z 2006 to point 2318.2 608.8
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 461 861.5 2001 to point 451 726
line 133993 z 2001 to ref 129051
no_role_a no_role_b
multiplicity_a_pos 479 734 3000 multiplicity_b_pos 440 994 3000
end
relationcanvas 134811 relation_ref 131099 // posluguje sie
decenter_begin 504
decenter_end 505
from ref 129051 z 2001 to point 712.1 621.5
line 132713 z 2001 label "posluguje sie" italic max_width 255 xyz 1048.5 610 2001 to point 1444 621.5
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.5 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

View File

@ -1,46 +0,0 @@
format 224
classinstance 128233 class_ref 128539 // Kelner
name "" xyz 29 4 2000 life_line_z 2000
classinstance 128361 class_ref 128105 // ZarzadzanieZamowieniamiController
name "" xyz 207 4 2000 life_line_z 2000
classinstance 128489 class_ref 154473 // System
name "" xyz 556 4 2000 life_line_z 2000
durationcanvas 128617 classinstance_ref 128233 // :Kelner
xyzwh 42 90 2010 11 40
end
durationcanvas 128745 classinstance_ref 128361 // :ZarzadzanieZamowieniamiController
xyzwh 297 92 2010 11 151
end
durationcanvas 129001 classinstance_ref 128489 // :System
xyzwh 576 122 2010 11 102
overlappingdurationcanvas 129257
xyzwh 582 180 2020 11 25
end
overlappingdurationcanvas 129513
xyzwh 582 141 2020 11 25
end
end
msg 128873 synchronous
from durationcanvas_ref 128617
to durationcanvas_ref 128745
yz 92 2015 explicitmsg "restartujSystem()"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
label_xy 133 78
msg 129129 synchronous
from durationcanvas_ref 128745
to durationcanvas_ref 129001
yz 123 2015 explicitmsg "restartujSystem()"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
label_xy 400 109
reflexivemsg 129385 synchronous
to durationcanvas_ref 129257
yz 180 2025 explicitmsg "restart()"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
label_xy 599 165
reflexivemsg 129641 synchronous
to durationcanvas_ref 129513
yz 141 2025 explicitmsg "zapiszStan()"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
label_xy 602 125
end

View File

@ -12,13 +12,13 @@ durationcanvas 128617 classinstance_ref 128105 // :Kelner
xyzwh 42 72 2010 11 40 xyzwh 42 72 2010 11 40
end end
durationcanvas 128745 classinstance_ref 128233 // :PotrawaNiestandardowaHandler durationcanvas 128745 classinstance_ref 128233 // :PotrawaNiestandardowaHandler
xyzwh 242 72 2010 11 29 xyzwh 238 72 2010 11 29
end end
durationcanvas 129001 classinstance_ref 128361 // :Zamowienie durationcanvas 129001 classinstance_ref 128361 // :Zamowienie
xyzwh 418 89 2010 11 84 xyzwh 418 89 2010 11 84
end end
durationcanvas 129257 classinstance_ref 128489 // :PotrawaNiestandardowa durationcanvas 129257 classinstance_ref 128489 // :PotrawaNiestandardowa
xyzwh 605 108 2010 11 59 xyzwh 601 108 2010 11 59
end end
msg 128873 synchronous msg 128873 synchronous
from durationcanvas_ref 128617 from durationcanvas_ref 128617

View File

@ -1,39 +1,39 @@
format 224 format 224
classinstance 128105 class_ref 128539 // Kelner classinstance 128105 class_ref 128539 // Kelner
name "" xyz 23.9 4 2005 life_line_z 2000 name "" xyz 24.3 4.4 2005 life_line_z 2000
classinstance 128233 class_ref 161001 // PotrawaNiestandardowaHandler classinstance 128233 class_ref 161001 // PotrawaNiestandardowaHandler
name "" xyz 106.2 4 2000 life_line_z 2000 name "" xyz 116.3 4.9 2000 life_line_z 2000
classinstance 128361 class_ref 129032 // Spizarnia classinstance 128361 class_ref 129032 // Spizarnia
name "" xyz 293.6 4 2000 life_line_z 2000 name "" xyz 294.2 4.2 2000 life_line_z 2000
classinstance 128489 class_ref 130331 // IloscProduktu classinstance 128489 class_ref 130331 // IloscProduktu
name "" xyz 403.4 4 2000 life_line_z 2000 name "" xyz 404.1 4.2 2000 life_line_z 2000
classinstance 128617 class_ref 128904 // Produkt classinstance 128617 class_ref 128904 // Produkt
name "skladnik" xyz 527.3 4 2000 life_line_z 2000 name "skladnik" xyz 527.1 4.2 2000 life_line_z 2000
classinstance 128745 class_ref 128264 // Zamowienie classinstance 128745 class_ref 128264 // Zamowienie
name "" xyz 643.3 4 2000 life_line_z 2000 name "" xyz 643.1 4.2 2000 life_line_z 2000
classinstance 128873 class_ref 129947 // PotrawaNiestandardowa classinstance 128873 class_ref 129947 // PotrawaNiestandardowa
name "" xyz 745.4 4 2005 life_line_z 2000 name "" xyz 745 4.2 2005 life_line_z 2000
durationcanvas 129001 classinstance_ref 128105 // :Kelner durationcanvas 129001 classinstance_ref 128105 // :Kelner
xyzwh 36 74 2010 11 40 xyzwh 37 73 2010 11 40
end end
durationcanvas 129129 classinstance_ref 128233 // :PotrawaNiestandardowaHandler durationcanvas 129129 classinstance_ref 128233 // :PotrawaNiestandardowaHandler
xyzwh 187 74 2010 11 39 xyzwh 193 74 2010 11 39
end end
durationcanvas 129385 classinstance_ref 128361 // :Spizarnia durationcanvas 129385 classinstance_ref 128361 // :Spizarnia
xyzwh 317 100 2010 11 163 xyzwh 318 100 2010 11 163
end end
durationcanvas 129641 classinstance_ref 128489 // :IloscProduktu durationcanvas 129641 classinstance_ref 128489 // :IloscProduktu
xyzwh 437 115 2010 11 48 xyzwh 437 113 2010 11 48
end end
durationcanvas 130025 classinstance_ref 128617 // skladnik:Produkt durationcanvas 130025 classinstance_ref 128617 // skladnik:Produkt
xyzwh 566 176 2010 11 38 xyzwh 564 174 2010 11 38
end end
durationcanvas 130281 classinstance_ref 128745 // :Zamowienie durationcanvas 130281 classinstance_ref 128745 // :Zamowienie
xyzwh 674 197 2010 11 27 xyzwh 674 197 2010 11 27
end end
durationcanvas 130537 classinstance_ref 128873 // :PotrawaNiestandardowa durationcanvas 130537 classinstance_ref 128873 // :PotrawaNiestandardowa
xyzwh 807 213 2010 11 25 xyzwh 803 213 2010 11 25
end end
durationcanvas 130793 classinstance_ref 128489 // :IloscProduktu durationcanvas 130793 classinstance_ref 128489 // :IloscProduktu
xyzwh 437 242 2010 11 25 xyzwh 437 242 2010 11 25

57
models/168681_105.d Normal file
View File

@ -0,0 +1,57 @@
format 224
classinstance 128105 class_ref 128539 // Kelner
name "" xyz 17 4 2005 life_line_z 2000
classinstance 128233 class_ref 161001 // PotrawaNiestandardowaHandler
name "" xyz 129 4 2000 life_line_z 2000
classinstance 128361 class_ref 129947 // PotrawaNiestandardowa
name "" xyz 332 4 2000 life_line_z 2000
classinstance 128489 class_ref 129032 // Spizarnia
name "" xyz 474 4 2000 life_line_z 2000
classinstance 128617 class_ref 130331 // IloscProduktu
name "" xyz 660 4 2000 life_line_z 2000
durationcanvas 128745 classinstance_ref 128105 // :Kelner
xyzwh 30 73 2010 11 40
end
durationcanvas 128873 classinstance_ref 128233 // :PotrawaNiestandardowaHandler
xyzwh 206 73 2010 11 32
end
durationcanvas 129129 classinstance_ref 128361 // :PotrawaNiestandardowa
xyzwh 390 94 2010 11 25
end
durationcanvas 129385 classinstance_ref 128105 // :Kelner
xyzwh 30 165 2010 11 40
end
durationcanvas 129513 classinstance_ref 128489 // :Spizarnia
xyzwh 498 165 2010 11 28
end
durationcanvas 129769 classinstance_ref 128617 // :IloscProduktu
xyzwh 693 177 2010 11 29
end
msg 129001 synchronous
from durationcanvas_ref 128745
to durationcanvas_ref 128873
yz 73 2015 explicitmsg "usunSkladnik()"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
args "skladnik,
IdPotrawy: Int"
label_xy 64 59
msg 129257 synchronous
from durationcanvas_ref 128873
to durationcanvas_ref 129129
yz 94 2015 explicitmsg "usunSkladnik(skladnik)"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
label_xy 247 84
msg 129641 synchronous
from durationcanvas_ref 129385
to durationcanvas_ref 129513
yz 165 2015 explicitmsg "zaktualizujIloscSkladnika(skladnik)"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
label_xy 243 155
msg 129897 synchronous
from durationcanvas_ref 129513
to durationcanvas_ref 129769
yz 177 2020 explicitmsg "zaktualizujIloscSkladnika(skladnik)"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
label_xy 537 167
end

View File

@ -1,46 +0,0 @@
format 224
classinstance 128233 class_ref 128539 // Kelner
name "" xyz 29 4 2000 life_line_z 2000
classinstance 128361 class_ref 167529 // PlatnoscController
name "" xyz 251 4 2000 life_line_z 2000
classinstance 128489 class_ref 154473 // System
name "" xyz 556 4 2000 life_line_z 2000
durationcanvas 128617 classinstance_ref 128233 // :Kelner
xyzwh 42 90 2010 11 40
end
durationcanvas 128745 classinstance_ref 128361 // :PlatnoscController
xyzwh 296 92 2010 11 151
end
durationcanvas 129001 classinstance_ref 128489 // :System
xyzwh 576 122 2010 11 102
overlappingdurationcanvas 129257
xyzwh 582 180 2020 11 25
end
overlappingdurationcanvas 129513
xyzwh 582 141 2020 11 25
end
end
msg 128873 synchronous
from durationcanvas_ref 128617
to durationcanvas_ref 128745
yz 92 2015 explicitmsg "restartujSystem()"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
label_xy 133 78
msg 129129 synchronous
from durationcanvas_ref 128745
to durationcanvas_ref 129001
yz 123 2015 explicitmsg "restartujSystem()"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
label_xy 400 109
reflexivemsg 129385 synchronous
to durationcanvas_ref 129257
yz 180 2025 explicitmsg "restart()"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
label_xy 599 165
reflexivemsg 129641 synchronous
to durationcanvas_ref 129513
yz 141 2025 explicitmsg "zapiszStan()"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
label_xy 602 125
end

View File

@ -1,30 +0,0 @@
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 29 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

View File

@ -10,15 +10,15 @@ durationcanvas 128617 classinstance_ref 128233 // :Kelner
xyzwh 42 90 2010 11 40 xyzwh 42 90 2010 11 40
end end
durationcanvas 128745 classinstance_ref 128361 // :PotrawaNiestandardowaHandler durationcanvas 128745 classinstance_ref 128361 // :PotrawaNiestandardowaHandler
xyzwh 297 92 2010 11 151 xyzwh 293 92 2010 11 151
end end
durationcanvas 129001 classinstance_ref 128489 // :System durationcanvas 129001 classinstance_ref 128489 // :System
xyzwh 576 122 2010 11 102 xyzwh 575 122 2010 11 102
overlappingdurationcanvas 129257 overlappingdurationcanvas 129257
xyzwh 582 180 2020 11 25 xyzwh 581 180 2020 11 25
end end
overlappingdurationcanvas 129513 overlappingdurationcanvas 129513
xyzwh 582 141 2020 11 25 xyzwh 581 141 2020 11 25
end end
end end
msg 128873 synchronous msg 128873 synchronous

View File

@ -1,68 +0,0 @@
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 16 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 609 121 2010 11 84
end
durationcanvas 129641 classinstance_ref 128617 // :BazaDanych
xyzwh 794 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

View File

@ -1,67 +0,0 @@
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 26 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 584 119 2010 11 96
end
durationcanvas 129641 classinstance_ref 128617 // :BazaDanych
xyzwh 786 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

View File

@ -1,59 +0,0 @@
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 463.4 4 2000 life_line_z 2000
classinstance 128489 class_ref 141417 // BazaDanych
name "" xyz 704.1 4 2000 life_line_z 2000
classinstance 128617 class_ref 128392 // Platnosc
name "" xyz 781.6 4 2000 life_line_z 2000
durationcanvas 128745 classinstance_ref 128105 // :Kasjer
xyzwh 11 79.8 2010 11 40
end
durationcanvas 128873 classinstance_ref 128233 // :PlatnoscController
xyzwh 290 81 2010 11 79
end
durationcanvas 129513 classinstance_ref 128361 // :MenedzerBazyDanych
xyzwh 517 105.4 2010 11 25
end
durationcanvas 129769 classinstance_ref 128489 // :BazaDanych
xyzwh 735 113 2010 11 25
end
durationcanvas 130025 classinstance_ref 128233 // :PlatnoscController
xyzwh 290 210 2010 11 40
end
durationcanvas 130153 classinstance_ref 128617 // :Platnosc
xyzwh 802 210 2010 11 25
end
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 105 2015 explicitmsg "zwrocSposobPlatnosc()"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
args "sposobPlatnosci: int"
label_xy 313 91
msg 129897 synchronous
from durationcanvas_ref 129513
to durationcanvas_ref 129769
yz 113 2015 explicitmsg "zwrocSposobPlatnosc()"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
args "sposobPlatnosci: int"
label_xy 532 99
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

View File

@ -1,38 +0,0 @@
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 443 4 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 465 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 263 80
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

View File

@ -1,7 +1,7 @@
format 224 format 224
"models" "models"
revision 39 revision 41
modified_by 12 "fabian" modified_by 105 "s452711"
@ -36,7 +36,7 @@ format 224
class_color yellow duration_color transparent continuation_color gray note_color blue fragment_color transparent subject_color transparent usecase_color yellow package_color transparent component_color green artifact_color green deploymentnode_color gray state_color yellow stateaction_color transparent activity_color transparent activityregion_color transparent activitypartition_color transparent activityaction_color transparent parameterpin_color white generalization_color black class_color yellow duration_color transparent continuation_color gray note_color blue fragment_color transparent subject_color transparent usecase_color yellow package_color transparent component_color green artifact_color green deploymentnode_color gray state_color yellow stateaction_color transparent activity_color transparent activityregion_color transparent activitypartition_color transparent activityaction_color transparent parameterpin_color white generalization_color black
dpi 72 dpi 72
font_size 5 font_size 8
diagram_format A4 diagram_format A4
image_root_dir "" image_root_dir ""
@ -1106,10 +1106,10 @@ format 224
b multiplicity "*" parent class_ref 128155 // Potrawa b multiplicity "*" parent class_ref 128155 // Potrawa
end end
classrelation 128923 // (korzysta) classrelation 128923 // (korzysta z)
relation 128923 ---> name "korzysta" relation 128923 ---> name "korzysta z"
a role_name "" multiplicity "1" private a role_name "" multiplicity "1" private
classrelation_ref 128923 // (korzysta) classrelation_ref 128923 // (korzysta z)
b multiplicity "*" parent class_ref 147945 // FabrykaPotraw b multiplicity "*" parent class_ref 147945 // FabrykaPotraw
end end
@ -1117,7 +1117,7 @@ format 224
relation 129179 ---> name "zawiera" relation 129179 ---> name "zawiera"
a role_name "" multiplicity "*" private a role_name "" multiplicity "*" private
classrelation_ref 129179 // (zawiera) classrelation_ref 129179 // (zawiera)
b multiplicity "*" parent class_ref 134761 // Promocja b multiplicity "*" parent class_ref 134761 // StrategiaObliczaniaZnizkiProcentowej
end end
classrelation 129947 // (agreguje) classrelation 129947 // (agreguje)
@ -1219,7 +1219,7 @@ format 224
operation 140955 "dodajPromocje" operation 140955 "dodajPromocje"
public explicit_return_type "void" public explicit_return_type "void"
nparams 1 nparams 1
param in name "promocja" type class_ref 134761 // Promocja param in name "promocja" type class_ref 134761 // StrategiaObliczaniaZnizkiProcentowej
@ -1258,6 +1258,23 @@ format 224
end
classrelation 134633 // (korzysta z)
relation 134633 ---> name "korzysta z"
a role_name "" multiplicity "1" private
classrelation_ref 134633 // (korzysta z)
b multiplicity "*" parent class_ref 174185 // FabrykaPromocji
end
operation 129257 "obliczKoszt"
public explicit_return_type "double"
nparams 0
end end
end end
@ -1310,7 +1327,7 @@ format 224
operation 145307 "wybierzSposobPlatnosci" operation 145307 "wybierzSposobPlatnosci"
public explicit_return_type "void" public explicit_return_type "void"
nparams 1 nparams 1
param in name "sposobPlatnosci" explicit_type "SposobPlatnosci" param in name "sposobPlatnosci" explicit_type "IStrategiaSposobuUiszczaniaPlatnosci"
@ -1359,6 +1376,13 @@ format 224
end
classrelation 135529 // (korzysta z)
relation 135529 ---> name "korzysta z"
a role_name "" multiplicity "1" private
classrelation_ref 135529 // (korzysta z)
b multiplicity "1" parent class_ref 174057 // IStrategiaSposobuUiszczaniaPlatnosci
end end
end end
@ -1384,10 +1408,10 @@ format 224
explicit_switch_type "" explicit_switch_type ""
mysql_decl "" mysql_decl ""
classrelation 130587 // (jest zawarty w (?)) classrelation 130587 // (jest zawarty w)
relation 130587 ---> name "jest zawarty w (?)" relation 130587 ---> name "jest zawarty w"
a role_name "" multiplicity "*" private a role_name "" multiplicity "*" private
classrelation_ref 130587 // (jest zawarty w (?)) classrelation_ref 130587 // (jest zawarty w)
b multiplicity "*" parent class_ref 128283 // Zamowienie b multiplicity "*" parent class_ref 128283 // Zamowienie
end end
@ -2106,7 +2130,7 @@ format 224
end end
end end
class 134761 "Promocja" class 134761 "StrategiaObliczaniaZnizkiProcentowej"
visibility package visibility package
cpp_decl "" cpp_decl ""
java_decl "" java_decl ""
@ -2116,6 +2140,30 @@ format 224
explicit_switch_type "" explicit_switch_type ""
mysql_decl "" mysql_decl ""
classrelation 135145 // <dependency>
relation 135145 -_->
a public
classrelation_ref 135145 // <dependency>
b parent class_ref 174313 // IStrategiaObliczaniaZnizki
end
classrelation 135657 // <realization>
relation 135657 -_-|>
a public
classrelation_ref 135657 // <realization>
b parent class_ref 174313 // IStrategiaObliczaniaZnizki
end
operation 128873 "obliczZnizke"
public explicit_return_type "double"
nparams 1
param in name "zamowienie" type class_ref 128264 // Zamowienie
end
end end
class 141289 "MenedzerBazyDanych" class 141289 "MenedzerBazyDanych"
@ -2342,6 +2390,13 @@ format 224
end
classrelation 128105 // (tworzy)
relation 128105 ---> name "tworzy"
a role_name "" multiplicity "*" private
classrelation_ref 128105 // (tworzy)
b multiplicity "1" parent class_ref 128155 // Potrawa
end end
end end
@ -2496,9 +2551,9 @@ format 224
classrelation 137883 // (obsluguje) classrelation 137883 // (obsluguje)
relation 137883 ---> name "obsluguje" relation 137883 ---> name "obsluguje"
a role_name "" private a role_name "" multiplicity "*" private
classrelation_ref 137883 // (obsluguje) classrelation_ref 137883 // (obsluguje)
b parent class_ref 129947 // PotrawaNiestandardowa b multiplicity "1" parent class_ref 129947 // PotrawaNiestandardowa
end end
operation 143387 "usunDodatek" operation 143387 "usunDodatek"
@ -2794,6 +2849,269 @@ format 224
end
end
class 174057 "IStrategiaSposobuUiszczaniaPlatnosci"
visibility package
cpp_decl ""
java_decl ""
php_decl ""
python_2_2 python_decl ""
idl_decl ""
explicit_switch_type ""
mysql_decl ""
operation 128105 "dokonajPlatnosci"
public explicit_return_type "void"
nparams 0
end
end
class 174185 "FabrykaPromocji"
visibility package
cpp_decl ""
java_decl ""
php_decl ""
python_2_2 python_decl ""
idl_decl ""
explicit_switch_type ""
mysql_decl ""
classrelation 134761 // (tworzy)
relation 134761 ---> name "tworzy"
a role_name "" multiplicity "*" private
classrelation_ref 134761 // (tworzy)
b multiplicity "1" parent class_ref 134761 // StrategiaObliczaniaZnizkiProcentowej
end
classrelation 134889 // (tworzy instancje implementujace interfejs)
relation 134889 ---> name "tworzy instancje implementujace interfejs"
a role_name "" multiplicity "*" private
classrelation_ref 134889 // (tworzy instancje implementujace interfejs)
b multiplicity "1" parent class_ref 174313 // IStrategiaObliczaniaZnizki
end
operation 128617 "stworzPromocje"
public return_type class_ref 174313 // IStrategiaObliczaniaZnizki
nparams 1
param in name "PromocjaId" explicit_type "int"
end
end
class 174313 "IStrategiaObliczaniaZnizki"
visibility package
cpp_decl ""
java_decl ""
php_decl ""
python_2_2 python_decl ""
idl_decl ""
explicit_switch_type ""
mysql_decl ""
classrelation 135017 // (implementuje strategie w konkretny sposob)
relation 135017 ---> name "implementuje strategie w konkretny sposob"
a role_name "" private
classrelation_ref 135017 // (implementuje strategie w konkretny sposob)
b parent class_ref 134761 // StrategiaObliczaniaZnizkiProcentowej
end
operation 128745 "obliczZnizke"
public explicit_return_type "double"
nparams 1
param in name "zamowienie" type class_ref 128264 // Zamowienie
end
classrelation 136425 // <dependency>
relation 136425 -_->
a public
classrelation_ref 136425 // <dependency>
b parent class_ref 128283 // Zamowienie
end
classrelation 136553 // <dependency>
relation 136553 -_->
a public
classrelation_ref 136553 // <dependency>
b parent class_ref 128283 // Zamowienie
end
classrelation 136681 // <dependency>
relation 136681 -_->
a public
classrelation_ref 136681 // <dependency>
b parent class_ref 128283 // Zamowienie
end
end
class 174441 "StrategiaObliczaniaZnizkiOStalaWartosc"
visibility package
cpp_decl ""
java_decl ""
php_decl ""
python_2_2 python_decl ""
idl_decl ""
explicit_switch_type ""
mysql_decl ""
classrelation 135273 // <dependency>
relation 135273 -_->
a public
classrelation_ref 135273 // <dependency>
b parent class_ref 174313 // IStrategiaObliczaniaZnizki
end
classrelation 135785 // <realization>
relation 135785 -_-|>
a public
classrelation_ref 135785 // <realization>
b parent class_ref 174313 // IStrategiaObliczaniaZnizki
end
operation 129001 "obliczZnizke"
public explicit_return_type "double"
nparams 1
param in name "zamowienie" type class_ref 128264 // Zamowienie
end
end
class 174569 "StrategiaObliczaniaZnizkiZaZestaw"
visibility package
cpp_decl ""
java_decl ""
php_decl ""
python_2_2 python_decl ""
idl_decl ""
explicit_switch_type ""
mysql_decl ""
classrelation 135401 // <dependency>
relation 135401 -_->
a public
classrelation_ref 135401 // <dependency>
b parent class_ref 174313 // IStrategiaObliczaniaZnizki
end
classrelation 135913 // <realization>
relation 135913 -_-|>
a public
classrelation_ref 135913 // <realization>
b parent class_ref 174313 // IStrategiaObliczaniaZnizki
end
operation 129129 "obliczZnizke"
public explicit_return_type "double"
nparams 1
param in name "zamowienie" type class_ref 128264 // Zamowienie
end
end
class 174697 "StrategiaSposobuUiszczaniaPlatnosciGotowka"
visibility package
cpp_decl ""
java_decl ""
php_decl ""
python_2_2 python_decl ""
idl_decl ""
explicit_switch_type ""
mysql_decl ""
classrelation 136041 // <realization>
relation 136041 -_-|>
a public
classrelation_ref 136041 // <realization>
b parent class_ref 174057 // IStrategiaSposobuUiszczaniaPlatnosci
end
operation 128233 "dokonajPlatnosci"
public explicit_return_type "void"
nparams 0
end
end
class 174825 "StrategiaSposobuUiszczaniaPlatnosciKarta"
visibility package
cpp_decl ""
java_decl ""
php_decl ""
python_2_2 python_decl ""
idl_decl ""
explicit_switch_type ""
mysql_decl ""
classrelation 136169 // <realization>
relation 136169 -_-|>
a public
classrelation_ref 136169 // <realization>
b parent class_ref 174057 // IStrategiaSposobuUiszczaniaPlatnosci
end
operation 128361 "dokonajPlatnosci"
public explicit_return_type "void"
nparams 0
end
end
class 174953 "StrategiaSposobuUiszczaniaPlatnosciPrzezBonPodarunkowy"
visibility package
cpp_decl ""
java_decl ""
php_decl ""
python_2_2 python_decl ""
idl_decl ""
explicit_switch_type ""
mysql_decl ""
classrelation 136297 // <realization>
relation 136297 -_-|>
a public
classrelation_ref 136297 // <realization>
b parent class_ref 174057 // IStrategiaSposobuUiszczaniaPlatnosci
end
operation 128489 "dokonajPlatnosci"
public explicit_return_type "void"
nparams 0
end end
end end
end end