134 lines
5.0 KiB
Plaintext
134 lines
5.0 KiB
Plaintext
|
format 224
|
||
|
|
||
|
classinstance 128105 class_ref 128539 // Kelner
|
||
|
name "" xyz 449.16 4.5 2000
|
||
|
classinstance 128233 class_ref 128105 // ZarzadzanieZamowieniamiController
|
||
|
name "" xyz 372.5 106.56 2000
|
||
|
classinstance 128361 class_ref 128233 // ZarzadcaZamowien
|
||
|
name "" xyz 45.9 248.14 2000
|
||
|
classinstance 128489 class_ref 128283 // Zamowienie
|
||
|
name "" xyz 65.18 361.48 2000
|
||
|
classinstance 128617 class_ref 128155 // Potrawa
|
||
|
name "" xyz 74.04 455.78 2000
|
||
|
classinstance 128745 class_ref 128904 // Produkt
|
||
|
name "" xyz 75.7 558.34 2000
|
||
|
classinstance 130409 class_ref 141289 // MenedzerBazyDanych
|
||
|
name "" xyz 414.54 248.92 2000
|
||
|
classinstance 130665 class_ref 141417 // BazaDanych
|
||
|
name "" xyz 438.78 454.7 2000
|
||
|
linkcanvas 128873
|
||
|
from ref 128105 z 2001 to ref 128233
|
||
|
dirscanvas 129513 z 1000 linkcanvas_ref 128873
|
||
|
|
||
|
forward_label "1 dodajDodatek(zamowienieId: int, potrawaId: int, produktId: int): Stan" xyz 486 67 3000
|
||
|
linkcanvas 129001
|
||
|
from ref 128233 z 2001 to point 32 116
|
||
|
line 131433 z 2001 to point 32 202
|
||
|
line 131561 z 2001 to point 98 201
|
||
|
line 131689 z 2001 to ref 128361
|
||
|
dirscanvas 129641 z 1000 linkcanvas_ref 129001
|
||
|
|
||
|
forward_label "2 dodajDodatek(zamowienieId: int, potrawaId: int, produktId: int): Stan" xyz 37 136 3000
|
||
|
backward_label "16 [czyDostepne] stanSygnalizujacyOSukcesie: Stan
|
||
|
17 [not czyDostepne] stanSygnalizujacyOBledzie: Stan" xyz 71 76 3000
|
||
|
linkcanvas 129129
|
||
|
from ref 128361 z 2001 to ref 128489
|
||
|
dirscanvas 129769 z 1000 linkcanvas_ref 129129
|
||
|
|
||
|
forward_label "3 dodatek = stworzDodatek(produktId: int): Produkt
|
||
|
14 [czyDostepne] dodajDodatek(potrawaId: int, dodatek: Produkt)" xyz 124 304 3000
|
||
|
backward_label "8 dodatek" xyz 38 309 3000
|
||
|
linkcanvas 129257
|
||
|
from ref 128489 z 2001 to ref 128617
|
||
|
dirscanvas 129897 z 1000 linkcanvas_ref 129257
|
||
|
|
||
|
forward_label "4 dodatek = stworzDodatek(produktId: int): Produkt
|
||
|
15 [czyDostepne] dodajDodatek(dodatek: Produkt)" xyz 122 407 3000
|
||
|
backward_label "7 dodatek" xyz 38 413 3000
|
||
|
linkcanvas 129385
|
||
|
from ref 128617 z 2001 to ref 128745
|
||
|
dirscanvas 130025 z 1000 linkcanvas_ref 129385
|
||
|
|
||
|
backward_label "6 dodatek" xyz 37 512 3000
|
||
|
linkcanvas 130537
|
||
|
from ref 128361 z 2001 to ref 130409
|
||
|
dirscanvas 130921 z 1000 linkcanvas_ref 130537
|
||
|
|
||
|
forward_label "9 czyDostepne = odejmijProdukty(dodatek: Produkt, 1): bool" xyz 143 231 3000
|
||
|
backward_label "13 czyDostepne" xyz 246 281 3000
|
||
|
linkcanvas 130793
|
||
|
from ref 130409 z 2001 to ref 130665
|
||
|
dirscanvas 131177 z 1000 linkcanvas_ref 130793
|
||
|
|
||
|
forward_label "10 czyDostepne = czyProduktJestDostepny(dodatek: Produkt, 1): bool
|
||
|
12 [czyDostepne] zmienLicznoscProduktu(dodatek: Produkt, 1)" xyz 497 351 3000
|
||
|
backward_label "11 czyDostepne" xyz 381 357 3000
|
||
|
selflinkcanvas 131817 classinstance_ref 128617 // :Potrawa
|
||
|
xy 142 468
|
||
|
|
||
|
forward_label "5 <<Create>> dodatek = create(produktId: int): Produkt" xyz 153 462 3000
|
||
|
msgs
|
||
|
explicitmsg "dodajDodatek(zamowienieId: int, potrawaId: int, produktId: int): Stan"
|
||
|
forward ranks 1 "1" dirscanvas_ref 129513
|
||
|
msgs
|
||
|
explicitmsg "dodajDodatek(zamowienieId: int, potrawaId: int, produktId: int): Stan"
|
||
|
forward ranks 2 "1.1" dirscanvas_ref 129641
|
||
|
msgs
|
||
|
explicitmsg "dodatek = stworzDodatek(produktId: int): Produkt"
|
||
|
forward ranks 3 "1.1.1" dirscanvas_ref 129769
|
||
|
msgs
|
||
|
explicitmsg "dodatek = stworzDodatek(produktId: int): Produkt"
|
||
|
forward ranks 4 "1.1.1.1" dirscanvas_ref 129897
|
||
|
no_msg
|
||
|
msgsend
|
||
|
msgsend
|
||
|
msgsend
|
||
|
explicitmsg "<<Create>> dodatek = create(produktId: int): Produkt"
|
||
|
forward ranks 5 "2" selflinkcanvas_ref 131817
|
||
|
no_msg
|
||
|
explicitmsg "dodatek"
|
||
|
backward ranks 6 "3" dirscanvas_ref 130025
|
||
|
no_msg
|
||
|
explicitmsg "dodatek"
|
||
|
backward ranks 7 "4" dirscanvas_ref 129897
|
||
|
msgs
|
||
|
explicitmsg "dodatek"
|
||
|
backward ranks 8 "4.1" dirscanvas_ref 129769
|
||
|
msgs
|
||
|
explicitmsg "czyDostepne = odejmijProdukty(dodatek: Produkt, 1): bool"
|
||
|
forward ranks 9 "4.1.1" dirscanvas_ref 130921
|
||
|
msgs
|
||
|
explicitmsg "czyDostepne = czyProduktJestDostepny(dodatek: Produkt, 1): bool"
|
||
|
forward ranks 10 "4.1.1.1" dirscanvas_ref 131177
|
||
|
msgs
|
||
|
explicitmsg "czyDostepne"
|
||
|
backward ranks 11 "4.1.1.1.1" dirscanvas_ref 131177
|
||
|
msgs
|
||
|
explicitmsg "[czyDostepne] zmienLicznoscProduktu(dodatek: Produkt, 1)"
|
||
|
forward ranks 12 "4.1.1.1.1.1" dirscanvas_ref 131177
|
||
|
no_msg
|
||
|
explicitmsg "czyDostepne"
|
||
|
backward ranks 13 "4.1.1.1.1.2" dirscanvas_ref 130921
|
||
|
msgs
|
||
|
explicitmsg "[czyDostepne] dodajDodatek(potrawaId: int, dodatek: Produkt)"
|
||
|
forward ranks 14 "4.1.1.1.1.2.1" dirscanvas_ref 129769
|
||
|
msgs
|
||
|
explicitmsg "[czyDostepne] dodajDodatek(dodatek: Produkt)"
|
||
|
forward ranks 15 "4.1.1.1.1.2.1.1" dirscanvas_ref 129897
|
||
|
no_msg
|
||
|
msgsend
|
||
|
explicitmsg "[czyDostepne] stanSygnalizujacyOSukcesie: Stan"
|
||
|
backward ranks 16 "4.1.1.1.1.2.2" dirscanvas_ref 129641
|
||
|
no_msg
|
||
|
explicitmsg "[not czyDostepne] stanSygnalizujacyOBledzie: Stan"
|
||
|
backward ranks 17 "4.1.1.1.1.2.3" dirscanvas_ref 129641
|
||
|
no_msg
|
||
|
msgsend
|
||
|
msgsend
|
||
|
msgsend
|
||
|
msgsend
|
||
|
msgsend
|
||
|
msgsend
|
||
|
msgsend
|
||
|
end
|