create diagrams for use-case-1 system events
This commit is contained in:
parent
504855dfe8
commit
cfcecd01ee
57
models/128233.diagram
Normal file
57
models/128233.diagram
Normal file
@ -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 324 139 2010 11 190
|
||||
overlappingdurationcanvas 129769
|
||||
xyzwh 330 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 "<<Create>>" 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
|
44
models/128361.diagram
Normal file
44
models/128361.diagram
Normal file
@ -0,0 +1,44 @@
|
||||
format 224
|
||||
|
||||
classinstance 128105 class_ref 128539 // kelner
|
||||
name "" xyz 7.1 4.9 2005 life_line_z 2000
|
||||
classinstance 128233 class_ref 128105 // zarzadzanieZamowieniamiController
|
||||
name "" xyz 218 3.4 2000 life_line_z 2000
|
||||
classinstance 128361 class_ref 128233 // zarzadcaZamowien
|
||||
name "" xyz 551.1 3.4 2000 life_line_z 2000
|
||||
classinstance 128489 class_ref 128283 // zamowienie
|
||||
name "" xyz 770.7 3.4 2000 life_line_z 2000
|
||||
durationcanvas 128617 classinstance_ref 128105 // :kelner
|
||||
xyzwh 20 99.3 2010 11 41
|
||||
end
|
||||
durationcanvas 128745 classinstance_ref 128233 // :zarzadzanieZamowieniamiController
|
||||
xyzwh 310 99.7 2010 11 152
|
||||
end
|
||||
durationcanvas 129001 classinstance_ref 128361 // :zarzadcaZamowien
|
||||
xyzwh 600 131 2010 11 99
|
||||
end
|
||||
durationcanvas 129257 classinstance_ref 128489 // :zamowienie
|
||||
xyzwh 801 160.2 2010 11 51
|
||||
end
|
||||
msg 128873 synchronous
|
||||
from durationcanvas_ref 128617
|
||||
to durationcanvas_ref 128745
|
||||
yz 99 2015 explicitmsg "dodajNumerStolika()"
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
args "zamowienieId: int, numerStolika: int"
|
||||
label_xy 37 73
|
||||
msg 129129 synchronous
|
||||
from durationcanvas_ref 128745
|
||||
to durationcanvas_ref 129001
|
||||
yz 131 2015 explicitmsg "dodajNumerStolika()"
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
args "zamowienieId: int, numerStolika: int"
|
||||
label_xy 333 109
|
||||
msg 129385 synchronous
|
||||
from durationcanvas_ref 129001
|
||||
to durationcanvas_ref 129257
|
||||
yz 161 2015 explicitmsg "dodajNumerStolika()"
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
args "numerStolika: int"
|
||||
label_xy 623 145
|
||||
end
|
108
models/128489.diagram
Normal file
108
models/128489.diagram
Normal file
@ -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 425 77 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 429 185 3000
|
||||
backward_label "13 [czyDostepne] stanSygnalizujacyOSukcesie: Stan
|
||||
14 [not czyDostepne] stanSygnalizujacyOBledzie: Stan" xyz 123 177 3000
|
||||
linkcanvas 130921
|
||||
from ref 130793 z 2001 to ref 130409
|
||||
dirscanvas 131049 z 1000 linkcanvas_ref 130921
|
||||
|
||||
forward_label "9 czyDostepne" xyz 317 490 3000
|
||||
backward_label "8 czyDostepne = czyWszystkieProduktySaDostepne(potrawa: Potrawa, 1: int): bool
|
||||
10 [czyDostepne] zmienLicznoscProduktowZPotrawy(potrawa: Potrawa, -1: int)" xyz 427 486 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 102 281 3000
|
||||
backward_label "6 potrawa" xyz 205 234 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 89 403 3000
|
||||
backward_label "5 potrawa" xyz 6 402 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 429 345 3000
|
||||
backward_label "11 czyDostepne" xyz 309 344 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
|
64
models/128617.diagram
Normal file
64
models/128617.diagram
Normal file
@ -0,0 +1,64 @@
|
||||
format 224
|
||||
|
||||
classinstance 128105 class_ref 128539 // kelner
|
||||
name "" xyz 8.9 4.2 2005 life_line_z 2000
|
||||
classinstance 128233 class_ref 128105 // zarzadzanieZamowieniamiController
|
||||
name "" xyz 154.8 4.9 2010 life_line_z 2000
|
||||
classinstance 128361 class_ref 128233 // zarzadcaZamowien
|
||||
name "" xyz 470.9 4.9 2000 life_line_z 2000
|
||||
classinstance 128489 class_ref 128283 // zamowienie
|
||||
name "" xyz 750.4 4.9 2000 life_line_z 2000
|
||||
durationcanvas 128617 classinstance_ref 128105 // :kelner
|
||||
xyzwh 20 84.8 2010 11 40
|
||||
end
|
||||
durationcanvas 128745 classinstance_ref 128233 // :zarzadzanieZamowieniamiController
|
||||
xyzwh 243 90.8 2010 11 209
|
||||
end
|
||||
durationcanvas 129001 classinstance_ref 128361 // :zarzadcaZamowien
|
||||
xyzwh 520 141.8 2010 11 137
|
||||
end
|
||||
durationcanvas 129257 classinstance_ref 128489 // :zamowienie
|
||||
xyzwh 780 184.4 2010 11 67
|
||||
overlappingdurationcanvas 129513
|
||||
xyzwh 786 202.8 2020 11 25
|
||||
end
|
||||
end
|
||||
msg 128873 synchronous
|
||||
from durationcanvas_ref 128617
|
||||
to durationcanvas_ref 128745
|
||||
yz 90 2015 explicitmsg "usunPotrawe()"
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
args "zamowienieId: int, potrawaId: int"
|
||||
label_xy 18 72
|
||||
msg 129129 synchronous
|
||||
from durationcanvas_ref 128745
|
||||
to durationcanvas_ref 129001
|
||||
yz 142 2015 explicitmsg "usunPotrawe()"
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
args "zamowienieId: int, potrawaId: int"
|
||||
label_xy 290 118
|
||||
msg 129385 synchronous
|
||||
from durationcanvas_ref 129001
|
||||
to durationcanvas_ref 129257
|
||||
yz 185 2015 explicitmsg "usunPotrawe(potrawaId: int)"
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
label_xy 513 146
|
||||
reflexivemsg 129641 synchronous
|
||||
to durationcanvas_ref 129513
|
||||
yz 202 2025 explicitmsg "usunPotrawe()"
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
args "potrawaId: int"
|
||||
label_xy 671 155
|
||||
msg 129769 return
|
||||
from durationcanvas_ref 129257
|
||||
to durationcanvas_ref 129001
|
||||
yz 239 2025 explicitmsg "zwrocPotwierdzenie(czyOperacjaSiePowiodla)"
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
label_xy 403 204
|
||||
msg 129897 return
|
||||
from durationcanvas_ref 129001
|
||||
to durationcanvas_ref 128745
|
||||
yz 264 2015 explicitmsg "wyswietlKomunikat(komunikatCzyUsuniecieSiePowiodlo: string)"
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
label_xy 247 239
|
||||
end
|
119
models/135145.diagram
Normal file
119
models/135145.diagram
Normal file
@ -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 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
|
133
models/135273.diagram
Normal file
133
models/135273.diagram
Normal file
@ -0,0 +1,133 @@
|
||||
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
|
96
models/141801.diagram
Normal file
96
models/141801.diagram
Normal file
@ -0,0 +1,96 @@
|
||||
format 224
|
||||
|
||||
classinstance 128105 class_ref 128539 // Kelner
|
||||
name "" xyz 405.2 28.1 2000
|
||||
classinstance 128233 class_ref 128105 // ZarzadzanieZamowieniamiController
|
||||
name "" xyz 328.8 142.1 2000
|
||||
classinstance 128361 class_ref 128233 // ZarzadcaZamowien
|
||||
name "" xyz 366.7 242.6 2000
|
||||
classinstance 128489 class_ref 128283 // Zamowienie
|
||||
name "" xyz 385.4 339 2000
|
||||
classinstance 128617 class_ref 128136 // Potrawa
|
||||
name "potrawa" xyz 373 443.2 2000
|
||||
classinstance 130281 class_ref 141289 // MenedzerBazyDanych
|
||||
name "" xyz 673.3 532.4 2000
|
||||
classinstance 130921 class_ref 141417 // BazaDanych
|
||||
name "" xyz 166.7 531.9 2000
|
||||
linkcanvas 128745
|
||||
from ref 128105 z 2001 to ref 128233
|
||||
dirscanvas 128873 z 1000 linkcanvas_ref 128745
|
||||
|
||||
forward_label "1 usunDodatek(zamowienieId: int, potrawaId: int, produktId: int)" xyz 441 97 3000
|
||||
linkcanvas 129385
|
||||
from ref 128233 z 2001 to ref 128361
|
||||
dirscanvas 129769 z 1000 linkcanvas_ref 129385
|
||||
|
||||
forward_label "2 usunDodatek(zamowienieId: int, potrawaId: int, produktId: int)" xyz 440 198 3000
|
||||
linkcanvas 129513
|
||||
from ref 128361 z 2001 to ref 128489
|
||||
dirscanvas 130025 z 1000 linkcanvas_ref 129513
|
||||
|
||||
forward_label "3 potrawa = zwrocPotrawe(potrawaId: int): Potrawa
|
||||
6 dodatek = usunDodatek(produktId: int): Produkt" xyz 439 289 3000
|
||||
backward_label "5 potrawa
|
||||
9 dodatek" xyz 357 288 3000
|
||||
linkcanvas 129641
|
||||
from ref 128489 z 2001 to ref 128617
|
||||
dirscanvas 130153 z 1000 linkcanvas_ref 129641
|
||||
|
||||
forward_label "8 usunDodatek(dodatek: Produkt)" xyz 441 397 3000
|
||||
backward_label "4 potrawa
|
||||
7 dodatek" xyz 352 389 3000
|
||||
linkcanvas 130409
|
||||
from ref 128361 z 2001 to point 731 251
|
||||
line 131433 z 2001 to ref 130281
|
||||
dirscanvas 130537 z 1000 linkcanvas_ref 130409
|
||||
|
||||
forward_label "10 dodajProdukt(dodatek: Produkt, potrawa.licznosc)" xyz 479 226 3000
|
||||
selflinkcanvas 130793 classinstance_ref 128361 // :ZarzadcaZamowien
|
||||
xy 360 255
|
||||
|
||||
linkcanvas 131049
|
||||
from ref 130921 z 2001 to ref 130281
|
||||
dirscanvas 131177 z 1000 linkcanvas_ref 131049
|
||||
|
||||
backward_label "11 zmienLicznoscProduktu(dodatek: Produkt, potrawa.licznosc)" xyz 304 563 3000
|
||||
msgs
|
||||
explicitmsg "usunDodatek(zamowienieId: int, potrawaId: int, produktId: int)"
|
||||
forward ranks 1 "1" dirscanvas_ref 128873
|
||||
msgs
|
||||
explicitmsg "usunDodatek(zamowienieId: int, potrawaId: int, produktId: int)"
|
||||
forward ranks 2 "1.1" dirscanvas_ref 129769
|
||||
no_msg
|
||||
msgsend
|
||||
explicitmsg "potrawa = zwrocPotrawe(potrawaId: int): Potrawa"
|
||||
forward ranks 3 "2" dirscanvas_ref 130025
|
||||
no_msg
|
||||
explicitmsg "potrawa"
|
||||
backward ranks 4 "3" dirscanvas_ref 130153
|
||||
no_msg
|
||||
explicitmsg "potrawa"
|
||||
backward ranks 5 "4" dirscanvas_ref 130025
|
||||
msgs
|
||||
explicitmsg "dodatek = usunDodatek(produktId: int): Produkt"
|
||||
forward ranks 6 "4.1" dirscanvas_ref 130025
|
||||
no_msg
|
||||
msgsend
|
||||
explicitmsg "dodatek"
|
||||
backward ranks 7 "5" dirscanvas_ref 130153
|
||||
msgs
|
||||
explicitmsg "usunDodatek(dodatek: Produkt)"
|
||||
forward ranks 8 "5.1" dirscanvas_ref 130153
|
||||
no_msg
|
||||
msgsend
|
||||
explicitmsg "dodatek"
|
||||
backward ranks 9 "6" dirscanvas_ref 130025
|
||||
msgs
|
||||
explicitmsg "dodajProdukt(dodatek: Produkt, potrawa.licznosc)"
|
||||
forward ranks 10 "6.1" dirscanvas_ref 130537
|
||||
msgs
|
||||
explicitmsg "zmienLicznoscProduktu(dodatek: Produkt, potrawa.licznosc)"
|
||||
backward ranks 11 "6.1.1" dirscanvas_ref 131177
|
||||
no_msg
|
||||
msgsend
|
||||
msgsend
|
||||
msgsend
|
||||
end
|
38
models/141929.diagram
Normal file
38
models/141929.diagram
Normal file
@ -0,0 +1,38 @@
|
||||
format 224
|
||||
|
||||
classinstance 128105 class_ref 128539 // Kelner
|
||||
name "" xyz 51.8 5 2005 life_line_z 2000
|
||||
classinstance 128233 class_ref 128105 // ZarzadzanieZamowieniamiController
|
||||
name "" xyz 226 4.2 2000 life_line_z 2000
|
||||
classinstance 128361 class_ref 128233 // ZarzadcaZamowien
|
||||
name "" xyz 674.4 4.2 2000 life_line_z 2000
|
||||
durationcanvas 128489 classinstance_ref 128105 // :Kelner
|
||||
xyzwh 64 79 2010 11 40
|
||||
end
|
||||
durationcanvas 128617 classinstance_ref 128233 // :ZarzadzanieZamowieniamiController
|
||||
xyzwh 316 81 2010 11 170
|
||||
end
|
||||
durationcanvas 128873 classinstance_ref 128361 // :ZarzadcaZamowien
|
||||
xyzwh 725 118 2010 11 80
|
||||
end
|
||||
msg 128745 synchronous
|
||||
from durationcanvas_ref 128489
|
||||
to durationcanvas_ref 128617
|
||||
yz 82 2015 explicitmsg "potwierdzZamowienie(): Stan"
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
args "zamowienieId: int"
|
||||
label_xy 82 60
|
||||
msg 129001 synchronous
|
||||
from durationcanvas_ref 128617
|
||||
to durationcanvas_ref 128873
|
||||
yz 121 2015 explicitmsg "potwierdzZamowienie(): Stan"
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
args "zamowienieId: int"
|
||||
label_xy 428 99
|
||||
msg 129769 return
|
||||
from durationcanvas_ref 128873
|
||||
to durationcanvas_ref 128617
|
||||
yz 187 2015 explicitmsg "stanSygnalizujacyPotwierdzenieZamowienia: Stan"
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
label_xy 412 173
|
||||
end
|
38
models/142057.diagram
Normal file
38
models/142057.diagram
Normal file
@ -0,0 +1,38 @@
|
||||
format 224
|
||||
|
||||
classinstance 128105 class_ref 128539 // Kelner
|
||||
name "" xyz 19.2 6 2005 life_line_z 2000
|
||||
classinstance 128233 class_ref 128105 // ZarzadzanieZamowieniamiController
|
||||
name "" xyz 213.4 6 2000 life_line_z 2000
|
||||
classinstance 128361 class_ref 128233 // ZarzadcaZamowien
|
||||
name "" xyz 702.9 6 2000 life_line_z 2000
|
||||
durationcanvas 128489 classinstance_ref 128105 // :Kelner
|
||||
xyzwh 32 79 2010 11 40
|
||||
end
|
||||
durationcanvas 128617 classinstance_ref 128233 // :ZarzadzanieZamowieniamiController
|
||||
xyzwh 303 84 2010 11 173
|
||||
end
|
||||
durationcanvas 128873 classinstance_ref 128361 // :ZarzadcaZamowien
|
||||
xyzwh 753 124 2010 11 110
|
||||
end
|
||||
msg 128745 synchronous
|
||||
from durationcanvas_ref 128489
|
||||
to durationcanvas_ref 128617
|
||||
yz 84 2015 explicitmsg "anulujZamowienie(): Stan"
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
args "zamowienieId: int"
|
||||
label_xy 85 57
|
||||
msg 129001 synchronous
|
||||
from durationcanvas_ref 128617
|
||||
to durationcanvas_ref 128873
|
||||
yz 125 2015 explicitmsg "anulujZamowienie(): Stan"
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
args "zamowienieId: int"
|
||||
label_xy 427 92
|
||||
msg 129257 return
|
||||
from durationcanvas_ref 128873
|
||||
to durationcanvas_ref 128617
|
||||
yz 224 2015 explicitmsg "stanSygnalizujacyAnulowanieZamowienia: Stan"
|
||||
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
|
||||
label_xy 417 210
|
||||
end
|
7
models/142185.diagram
Normal file
7
models/142185.diagram
Normal file
@ -0,0 +1,7 @@
|
||||
format 224
|
||||
|
||||
classinstance 128105 class_ref 128539 // kelner
|
||||
name "" xyz 23 4 2005 life_line_z 2000
|
||||
classinstance 128233 class_ref 128105 // zarzadzanieZamowieniamiController
|
||||
name "" xyz 141 4 2000 life_line_z 2000
|
||||
end
|
63
models/148585.diagram
Normal file
63
models/148585.diagram
Normal file
@ -0,0 +1,63 @@
|
||||
format 224
|
||||
|
||||
classinstance 128105 class_ref 128539 // kelner
|
||||
name "" xyz 93.6 26.3 2000
|
||||
classinstance 128233 class_ref 128105 // zarzadzanieZamowieniamiController
|
||||
name "" xyz 17 174 2000
|
||||
classinstance 128361 class_ref 128233 // zarzadcaZamowien
|
||||
name "" xyz 54.7 337.5 2000
|
||||
classinstance 128489 class_ref 128283 // zamowienie
|
||||
name "" xyz 73.9 505.1 2000
|
||||
classinstance 128617 class_ref 134761 // promocja
|
||||
name "" xyz 465.5 505 2000
|
||||
linkcanvas 128745
|
||||
from ref 128105 z 2001 to ref 128233
|
||||
dirscanvas 129257 z 1000 linkcanvas_ref 128745
|
||||
|
||||
forward_label "1 dodajPromocje(zamowienieId: int, promocjaId: int)" xyz 127 112 3000
|
||||
linkcanvas 128873
|
||||
from ref 128233 z 2001 to ref 128361
|
||||
dirscanvas 129385 z 1000 linkcanvas_ref 128873
|
||||
|
||||
forward_label "2 dodajPromocje(zamowienieId: int, promocjaId: int)" xyz 127 263 3000
|
||||
linkcanvas 129001
|
||||
from ref 128361 z 2001 to ref 128489
|
||||
dirscanvas 129513 z 1000 linkcanvas_ref 129001
|
||||
|
||||
forward_label "3 dodajPromocje(promocjaId: int)" xyz 126 427 3000
|
||||
linkcanvas 129129
|
||||
from ref 128489 z 2001 to ref 128617
|
||||
dirscanvas 129641 z 1000 linkcanvas_ref 129129
|
||||
|
||||
forward_label "4 <<Create>> promocja = create(promocjaId: int)" xyz 188 486 3000
|
||||
backward_label "5 promocja" xyz 278 535 3000
|
||||
selflinkcanvas 129769 classinstance_ref 128489 // :zamowienie
|
||||
xy 109 530
|
||||
|
||||
forward_label "6 dodajPromocje(promocja: Promocja)" xyz 17 548 3000
|
||||
msgs
|
||||
explicitmsg "dodajPromocje(zamowienieId: int, promocjaId: int)"
|
||||
forward ranks 1 "1" dirscanvas_ref 129257
|
||||
msgs
|
||||
explicitmsg "dodajPromocje(zamowienieId: int, promocjaId: int)"
|
||||
forward ranks 2 "1.1" dirscanvas_ref 129385
|
||||
msgs
|
||||
explicitmsg "dodajPromocje(promocjaId: int)"
|
||||
forward ranks 3 "1.1.1" dirscanvas_ref 129513
|
||||
msgs
|
||||
explicitmsg "<<Create>> promocja = create(promocjaId: int)"
|
||||
forward ranks 4 "1.1.1.1" dirscanvas_ref 129641
|
||||
msgs
|
||||
explicitmsg "promocja"
|
||||
backward ranks 5 "1.1.1.1.1" dirscanvas_ref 129641
|
||||
msgs
|
||||
explicitmsg "dodajPromocje(promocja: Promocja)"
|
||||
forward ranks 6 "1.1.1.1.1.1" selflinkcanvas_ref 129769
|
||||
no_msg
|
||||
msgsend
|
||||
msgsend
|
||||
msgsend
|
||||
msgsend
|
||||
msgsend
|
||||
msgsend
|
||||
end
|
73
models/155113.diagram
Normal file
73
models/155113.diagram
Normal file
@ -0,0 +1,73 @@
|
||||
format 224
|
||||
|
||||
classinstance 128105 class_ref 128539 // Kelner
|
||||
name "" xyz 410.9 35.6 2000
|
||||
classinstance 128233 class_ref 128105 // ZarzadzanieZamowieniamiController
|
||||
name "" xyz 334.6 143.2 2000
|
||||
classinstance 128361 class_ref 128233 // ZarzadcaZamowien
|
||||
name "" xyz 372.8 287.4 2000
|
||||
classinstance 128489 class_ref 128283 // Zamowienie
|
||||
name "zamowienie" xyz 650 426.4 2000
|
||||
classinstance 128617 class_ref 141289 // MenedzerBazyDanych
|
||||
name "" xyz 158.8 423.8 2000
|
||||
classinstance 128745 class_ref 141417 // BazaDanych
|
||||
name "" xyz 182.3 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 448 101 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 220 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 505 268 3000
|
||||
backward_label "4 zamowienie" xyz 564 317 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 29 292 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
|
92
models/155369.diagram
Normal file
92
models/155369.diagram
Normal file
@ -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 578 82 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 579 153 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 203 213 3000
|
||||
backward_label "5 potrawa" xyz 307 161 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>> destroy()" xyz 143 282 3000
|
||||
backward_label "4 potrawa" xyz 57 281 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 254 3000
|
||||
selflinkcanvas 133097 classinstance_ref 128617 // :ZarzadcaZamowien
|
||||
xy 646 193
|
||||
|
||||
forward_label "6 licznosc = potrawa.zwrocLicznosc(): int" xyz 634 187 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>> destroy()"
|
||||
forward ranks 10 "4.1" dirscanvas_ref 130153
|
||||
no_msg
|
||||
msgsend
|
||||
msgsend
|
||||
end
|
46
models/161897.diagram
Normal file
46
models/161897.diagram
Normal file
@ -0,0 +1,46 @@
|
||||
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 "restartuj()"
|
||||
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
|
@ -1,7 +1,7 @@
|
||||
format 224
|
||||
"models"
|
||||
revision 9
|
||||
modified_by 12 "fabian"
|
||||
revision 32
|
||||
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
|
||||
dpi 72
|
||||
font_size 5
|
||||
font_size 8
|
||||
diagram_format A4
|
||||
|
||||
image_root_dir ""
|
||||
@ -114,7 +114,7 @@ format 224
|
||||
classrelation_ref 129416 // (< Jest dodatkiem)
|
||||
end
|
||||
|
||||
classrelation 129672 // (< Jest skladnikiem)
|
||||
classrelation 129672 // < Jest skladnikiem
|
||||
relation_ref 128776 // < Jest skladnikiem
|
||||
end
|
||||
|
||||
@ -335,7 +335,7 @@ format 224
|
||||
a role_name "" multiplicity "*" private
|
||||
classrelation_ref 129544 // (< Jest skladnikiem)
|
||||
b role_name "" multiplicity "1..*" private
|
||||
classrelation_ref 129672 // (< Jest skladnikiem)
|
||||
classrelation_ref 129672 // < Jest skladnikiem
|
||||
end
|
||||
|
||||
classrelation 141320 // Zapisuje informacje o licznosci
|
||||
@ -380,7 +380,7 @@ format 224
|
||||
classrelation_ref 141064 // (Przechowuje)
|
||||
end
|
||||
|
||||
classrelation 128396 // (< Aktualizuje stan)
|
||||
classrelation 128396 // < Aktualizuje stan
|
||||
relation_ref 128140 // < Aktualizuje stan
|
||||
end
|
||||
end
|
||||
@ -718,7 +718,7 @@ format 224
|
||||
MysqlColumn
|
||||
end
|
||||
|
||||
classrelation 128140 // (< Sklada sie z)
|
||||
classrelation 128140 // < Sklada sie z
|
||||
relation_ref 128012 // < Sklada sie z
|
||||
end
|
||||
end
|
||||
@ -806,7 +806,7 @@ format 224
|
||||
mysql_decl ""
|
||||
|
||||
attribute 128012 "listaProduktow"
|
||||
private type class_ref 130331 // iloscProduktu
|
||||
private type class_ref 130331 // IloscProduktu
|
||||
stereotype "list"
|
||||
cpp_decl ""
|
||||
java_decl ""
|
||||
@ -822,7 +822,7 @@ format 224
|
||||
a role_name "" multiplicity "*" private
|
||||
classrelation_ref 128012 // (< Sklada sie z)
|
||||
b role_name "" multiplicity "1" private
|
||||
classrelation_ref 128140 // (< Sklada sie z)
|
||||
classrelation_ref 128140 // < Sklada sie z
|
||||
end
|
||||
|
||||
classrelation 128268 // (< Aktualizuje stan)
|
||||
@ -830,7 +830,7 @@ format 224
|
||||
a role_name "" multiplicity "1" private
|
||||
classrelation_ref 128268 // (< Aktualizuje stan)
|
||||
b role_name "" multiplicity "*" private
|
||||
classrelation_ref 128396 // (< Aktualizuje stan)
|
||||
classrelation_ref 128396 // < Aktualizuje stan
|
||||
end
|
||||
end
|
||||
end
|
||||
@ -855,12 +855,67 @@ format 224
|
||||
|
||||
activitydiagramsettings
|
||||
end
|
||||
sequencediagram 161897 "1-1-restartSystemu"
|
||||
sequencediagramsettings end
|
||||
overlapping_bars size A4
|
||||
end
|
||||
|
||||
sequencediagram 128233 "1-2-stworzenieNowegoZamowienia"
|
||||
sequencediagramsettings end
|
||||
overlapping_bars size A4
|
||||
end
|
||||
|
||||
collaborationdiagram 155113 "1-3-wprowadzenieNumeruStolika"
|
||||
collaborationdiagramsettings end
|
||||
size A4
|
||||
end
|
||||
|
||||
collaborationdiagram 128489 "1-4-dodaniePotrawyDoZamowienia"
|
||||
collaborationdiagramsettings end
|
||||
size A4
|
||||
end
|
||||
|
||||
collaborationdiagram 155369 "1-5-usunieciePotrawyZZamowienia"
|
||||
collaborationdiagramsettings end
|
||||
size A4
|
||||
end
|
||||
|
||||
collaborationdiagram 135145 "1-6-zmianaLicznosciZamawianejPotrawy"
|
||||
collaborationdiagramsettings end
|
||||
size A4
|
||||
end
|
||||
|
||||
collaborationdiagram 135273 "1-7-dodanieDodatkuDoPotrawy"
|
||||
collaborationdiagramsettings end
|
||||
size A4
|
||||
end
|
||||
|
||||
collaborationdiagram 141801 "1-8-usuniecieDodatkuZPotrawy"
|
||||
collaborationdiagramsettings end
|
||||
size A4
|
||||
end
|
||||
|
||||
sequencediagram 141929 "1-9-potwierdzenieZamowienia"
|
||||
sequencediagramsettings end
|
||||
overlapping_bars size A4
|
||||
end
|
||||
|
||||
sequencediagram 142057 "1-10-anulowanieZamowienia"
|
||||
sequencediagramsettings end
|
||||
overlapping_bars size A4
|
||||
end
|
||||
|
||||
collaborationdiagram 148585 "1-11-dodaniePromocjiDoZamowienia"
|
||||
collaborationdiagramsettings end
|
||||
size A4
|
||||
end
|
||||
|
||||
sequencediagram 128027 "8-1-restartSystemu"
|
||||
sequencediagramsettings end
|
||||
overlapping_bars size A4
|
||||
end
|
||||
|
||||
class 128027 "menu"
|
||||
class 128027 "Menu"
|
||||
visibility package
|
||||
cpp_decl ""
|
||||
java_decl ""
|
||||
@ -872,7 +927,7 @@ format 224
|
||||
|
||||
end
|
||||
|
||||
class 128155 "potrawa"
|
||||
class 128155 "Potrawa"
|
||||
visibility package
|
||||
cpp_decl ""
|
||||
java_decl ""
|
||||
@ -884,7 +939,7 @@ format 224
|
||||
|
||||
end
|
||||
|
||||
class 128283 "zamowienie"
|
||||
class 128283 "Zamowienie"
|
||||
visibility package
|
||||
cpp_decl ""
|
||||
java_decl ""
|
||||
@ -896,7 +951,7 @@ format 224
|
||||
|
||||
end
|
||||
|
||||
class 128411 "platnosc"
|
||||
class 128411 "Platnosc"
|
||||
visibility package
|
||||
cpp_decl ""
|
||||
java_decl ""
|
||||
@ -908,7 +963,19 @@ format 224
|
||||
|
||||
end
|
||||
|
||||
class 128539 "kelner"
|
||||
class 128539 "Kelner"
|
||||
visibility package stereotype "actor"
|
||||
cpp_decl ""
|
||||
java_decl ""
|
||||
php_decl ""
|
||||
python_2_2 python_decl ""
|
||||
idl_decl ""
|
||||
explicit_switch_type ""
|
||||
mysql_decl ""
|
||||
|
||||
end
|
||||
|
||||
class 128667 "Produkt"
|
||||
visibility package
|
||||
cpp_decl ""
|
||||
java_decl ""
|
||||
@ -920,7 +987,7 @@ format 224
|
||||
|
||||
end
|
||||
|
||||
class 128667 "produkt"
|
||||
class 128795 "Spizarnia"
|
||||
visibility package
|
||||
cpp_decl ""
|
||||
java_decl ""
|
||||
@ -932,7 +999,7 @@ format 224
|
||||
|
||||
end
|
||||
|
||||
class 128795 "spizarnia"
|
||||
class 128923 "Kuchnia"
|
||||
visibility package
|
||||
cpp_decl ""
|
||||
java_decl ""
|
||||
@ -944,7 +1011,7 @@ format 224
|
||||
|
||||
end
|
||||
|
||||
class 128923 "kuchnia"
|
||||
class 129051 "Klient"
|
||||
visibility package
|
||||
cpp_decl ""
|
||||
java_decl ""
|
||||
@ -956,7 +1023,7 @@ format 224
|
||||
|
||||
end
|
||||
|
||||
class 129051 "klient"
|
||||
class 129179 "Kucharz"
|
||||
visibility package
|
||||
cpp_decl ""
|
||||
java_decl ""
|
||||
@ -968,7 +1035,7 @@ format 224
|
||||
|
||||
end
|
||||
|
||||
class 129179 "kucharz"
|
||||
class 129307 "Kasa"
|
||||
visibility package
|
||||
cpp_decl ""
|
||||
java_decl ""
|
||||
@ -980,7 +1047,7 @@ format 224
|
||||
|
||||
end
|
||||
|
||||
class 129307 "kasa"
|
||||
class 129435 "Kasjer"
|
||||
visibility package
|
||||
cpp_decl ""
|
||||
java_decl ""
|
||||
@ -992,7 +1059,7 @@ format 224
|
||||
|
||||
end
|
||||
|
||||
class 129435 "kasjer"
|
||||
class 129563 "PracownikSpizarni"
|
||||
visibility package
|
||||
cpp_decl ""
|
||||
java_decl ""
|
||||
@ -1004,7 +1071,7 @@ format 224
|
||||
|
||||
end
|
||||
|
||||
class 129563 "pracownikSpizarni"
|
||||
class 129691 "PlatnoscKarta"
|
||||
visibility package
|
||||
cpp_decl ""
|
||||
java_decl ""
|
||||
@ -1016,7 +1083,7 @@ format 224
|
||||
|
||||
end
|
||||
|
||||
class 129691 "platnoscKarta"
|
||||
class 129819 "PlatnoscGotowka"
|
||||
visibility package
|
||||
cpp_decl ""
|
||||
java_decl ""
|
||||
@ -1028,7 +1095,7 @@ format 224
|
||||
|
||||
end
|
||||
|
||||
class 129819 "platnoscGotowka"
|
||||
class 129947 "PotrawaNiestandardowa"
|
||||
visibility package
|
||||
cpp_decl ""
|
||||
java_decl ""
|
||||
@ -1040,7 +1107,7 @@ format 224
|
||||
|
||||
end
|
||||
|
||||
class 129947 "potrawaNiestandardowa"
|
||||
class 130075 "PotrawaStandardowa"
|
||||
visibility package
|
||||
cpp_decl ""
|
||||
java_decl ""
|
||||
@ -1052,7 +1119,7 @@ format 224
|
||||
|
||||
end
|
||||
|
||||
class 130075 "potrawaStandardowa"
|
||||
class 130203 "Pracownik"
|
||||
visibility package
|
||||
cpp_decl ""
|
||||
java_decl ""
|
||||
@ -1064,7 +1131,7 @@ format 224
|
||||
|
||||
end
|
||||
|
||||
class 130203 "pracownik"
|
||||
class 130331 "IloscProduktu"
|
||||
visibility package
|
||||
cpp_decl ""
|
||||
java_decl ""
|
||||
@ -1076,7 +1143,7 @@ format 224
|
||||
|
||||
end
|
||||
|
||||
class 130331 "iloscProduktu"
|
||||
class 130459 "Data"
|
||||
visibility package
|
||||
cpp_decl ""
|
||||
java_decl ""
|
||||
@ -1088,7 +1155,7 @@ format 224
|
||||
|
||||
end
|
||||
|
||||
class 130459 "data"
|
||||
class 130587 "Wartosc"
|
||||
visibility package
|
||||
cpp_decl ""
|
||||
java_decl ""
|
||||
@ -1100,7 +1167,7 @@ format 224
|
||||
|
||||
end
|
||||
|
||||
class 130587 "wartosc"
|
||||
class 130715 "NumerKonta"
|
||||
visibility package
|
||||
cpp_decl ""
|
||||
java_decl ""
|
||||
@ -1112,7 +1179,7 @@ format 224
|
||||
|
||||
end
|
||||
|
||||
class 130715 "numerKonta"
|
||||
class 130843 "NumerTelefonu"
|
||||
visibility package
|
||||
cpp_decl ""
|
||||
java_decl ""
|
||||
@ -1124,7 +1191,7 @@ format 224
|
||||
|
||||
end
|
||||
|
||||
class 130843 "numerTelefonu"
|
||||
class 130971 "StanZamowienia"
|
||||
visibility package
|
||||
cpp_decl ""
|
||||
java_decl ""
|
||||
@ -1136,7 +1203,7 @@ format 224
|
||||
|
||||
end
|
||||
|
||||
class 130971 "stanZamowienia"
|
||||
class 131099 "Miara"
|
||||
visibility package
|
||||
cpp_decl ""
|
||||
java_decl ""
|
||||
@ -1148,7 +1215,79 @@ format 224
|
||||
|
||||
end
|
||||
|
||||
class 131099 "miara"
|
||||
class 128105 "ZarzadzanieZamowieniamiController"
|
||||
visibility package
|
||||
cpp_decl ""
|
||||
java_decl ""
|
||||
php_decl ""
|
||||
python_2_2 python_decl ""
|
||||
idl_decl ""
|
||||
explicit_switch_type ""
|
||||
mysql_decl ""
|
||||
|
||||
end
|
||||
|
||||
class 128233 "ZarzadcaZamowien"
|
||||
visibility package
|
||||
cpp_decl ""
|
||||
java_decl ""
|
||||
php_decl ""
|
||||
python_2_2 python_decl ""
|
||||
idl_decl ""
|
||||
explicit_switch_type ""
|
||||
mysql_decl ""
|
||||
|
||||
end
|
||||
|
||||
class 134761 "Promocja"
|
||||
visibility package
|
||||
cpp_decl ""
|
||||
java_decl ""
|
||||
php_decl ""
|
||||
python_2_2 python_decl ""
|
||||
idl_decl ""
|
||||
explicit_switch_type ""
|
||||
mysql_decl ""
|
||||
|
||||
end
|
||||
|
||||
class 141289 "MenedzerBazyDanych"
|
||||
visibility package
|
||||
cpp_decl ""
|
||||
java_decl ""
|
||||
php_decl ""
|
||||
python_2_2 python_decl ""
|
||||
idl_decl ""
|
||||
explicit_switch_type ""
|
||||
mysql_decl ""
|
||||
|
||||
end
|
||||
|
||||
class 141417 "BazaDanych"
|
||||
visibility package
|
||||
cpp_decl ""
|
||||
java_decl ""
|
||||
php_decl ""
|
||||
python_2_2 python_decl ""
|
||||
idl_decl ""
|
||||
explicit_switch_type ""
|
||||
mysql_decl ""
|
||||
|
||||
end
|
||||
|
||||
class 147945 "FabrykaPotraw"
|
||||
visibility package
|
||||
cpp_decl ""
|
||||
java_decl ""
|
||||
php_decl ""
|
||||
python_2_2 python_decl ""
|
||||
idl_decl ""
|
||||
explicit_switch_type ""
|
||||
mysql_decl ""
|
||||
|
||||
end
|
||||
|
||||
class 154473 "System"
|
||||
visibility package
|
||||
cpp_decl ""
|
||||
java_decl ""
|
||||
|
Loading…
Reference in New Issue
Block a user