120 lines
4.6 KiB
Plaintext
120 lines
4.6 KiB
Plaintext
|
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 451 69 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 452 177 3000
|
||
|
backward_label "14 [not czyDostepne] stanSygnalizujacyOBledzie: Stan
|
||
|
15 [czyDostepne] stanSygnalizujacyOSukcesie: Stan" xyz 149 170 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 119 264 3000
|
||
|
backward_label "5 potrawa" xyz 223 215 3000
|
||
|
linkcanvas 129257
|
||
|
from ref 128489 z 2001 to ref 128617
|
||
|
dirscanvas 129641 z 1000 linkcanvas_ref 129257
|
||
|
|
||
|
backward_label "4 potrawa" xyz 8 320 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 261 513 3000
|
||
|
backward_label "10 czyDostepne" xyz 144 519 3000
|
||
|
selflinkcanvas 134505 classinstance_ref 129897 // :MenedzerBazyDanych
|
||
|
xy 316 475
|
||
|
|
||
|
forward_label "8 liczbaOdejmowanaOdLicznosci = max(0, roznica): int" xyz 321 467 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 417 3000
|
||
|
backward_label "12 czyDostepne" xyz 142 417 3000
|
||
|
selflinkcanvas 135145 classinstance_ref 128361 // :ZarzadcaZamowien
|
||
|
xy 498 247
|
||
|
|
||
|
forward_label "6 roznica = nowaLicznosc - potrawa.licznosc
|
||
|
13 [czyDostepne] potrawa.zmienLicznosc(nowaLicznosc: int)" xyz 508 234 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
|