USECASE 4

This commit is contained in:
AdamCwiklinski 2021-01-30 13:30:46 +01:00
parent fd68bdcc0e
commit 76a56adcf8
7 changed files with 312 additions and 25 deletions

63
models/128002.diagram Normal file
View File

@ -0,0 +1,63 @@
format 223
classinstance 128002 class_ref 128044 // Klient
name "" xyz 1026.8 4 2000 life_line_z 2000
classinstance 128044 class_ref 128172 // Automat
name "" xyz 33.56 4.4 2000 life_line_z 2000
classinstance 128130 class_ref 130476 // RodzajPlatnosci
name "" xyz 1469.2 194 2000 life_line_z 2000
classinstance 128172 class_ref 128044 // Klient
name "" xyz 280.8 7.46 2000 life_line_z 2000
classinstance 128300 class_ref 129964 // Produkt
name "" xyz 573.76 7.08 2000 life_line_z 2000
classinstance 128386 class_ref 129964 // Produkt
name "" xyz 1315.76 58 2000 life_line_z 2000
classinstance 128556 class_ref 130476 // RodzajPlatnosci
name "" xyz 716.2 4.68 2000 life_line_z 2000
classinstance 131586 class_ref 144428 // Kasa
name "" xyz 388 4 2005 life_line_z 2000
classinstance 131714 class_ref 144812 // Gotowka
name "" xyz 473 7 2005 life_line_z 2000
durationcanvas 128770 classinstance_ref 128130 // :RodzajPlatnosci
xyzwh 1518 838 2010 11 51
end
durationcanvas 129026 classinstance_ref 128002 // :Klient
xyzwh 1045 814 2010 11 57
end
durationcanvas 130050 classinstance_ref 128172 // :Klient
xyzwh 299 65 2010 11 73
end
durationcanvas 131842 classinstance_ref 131714 // :Gotowka
xyzwh 501 88 2010 11 66
end
durationcanvas 132098 classinstance_ref 131586 // :Kasa
xyzwh 407 121 2010 11 77
end
durationcanvas 132994 classinstance_ref 128172 // :Klient
xyzwh 299 184 2010 11 25
end
msg 129410 synchronous
from durationcanvas_ref 129026
to durationcanvas_ref 128770
yz 847 2020 explicitmsg "4. Rodzajplatnosci(:platnoscgotowka)"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
label_xy 1179 831
msg 131970 synchronous
from durationcanvas_ref 130050
to durationcanvas_ref 131842
yz 90 2015 explicitmsg "1. WrzutGotowki"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
label_xy 350 74
msg 132226 synchronous
from durationcanvas_ref 131842
to durationcanvas_ref 132098
yz 121 2015 explicitmsg "2. SprawdzenieReszty"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
label_xy 394 105
msg 133122 synchronous
from durationcanvas_ref 132098
to durationcanvas_ref 132994
yz 184 2015 explicitmsg "3. WydanieReszty"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
label_xy 305 168
end

98
models/128130.diagram Normal file
View File

@ -0,0 +1,98 @@
format 223
classinstance 128044 class_ref 151340 // AutomatKontroler
name "" xyz -0.44 4.4 2000 life_line_z 2000
classinstance 128172 class_ref 128940 // Magazyn
name "" xyz 275.8 7.46 2000 life_line_z 2000
classinstance 128300 class_ref 129964 // Produkt
name "" xyz 573.76 7.08 2000 life_line_z 2000
classinstance 128428 class_ref 129324 // PodsumowanieKontroli
name "" xyz 631.64 48.86 2000 life_line_z 2000
classinstance 128556 class_ref 129196 // ZewnetrznySystemObslugi
name "" xyz 697.2 4.68 2000 life_line_z 2000
note 131116 "zwracana warto == False jest wydarzeniem systemowym dla nast pnego diagramy interakcji: 5-2-Odebranie informacji o nieotrzymaniu podsumowania kontroli przez system zewnetrzny"
xyzwh 369.76 439.64 2000 171 133
durationcanvas 128684 classinstance_ref 128044 // :AutomatKontroler
xyzwh 52 85.6 2010 11 36
end
durationcanvas 128812 classinstance_ref 128172 // :Magazyn
xyzwh 304 77.6 2010 11 62
end
durationcanvas 129068 classinstance_ref 128428 // :PodsumowanieKontroli
xyzwh 699 98.6 2010 11 41
end
durationcanvas 129324 classinstance_ref 128172 // :Magazyn
xyzwh 304 170 2010 11 52
end
durationcanvas 129452 classinstance_ref 128300 // :Produkt
xyzwh 598 163.2 2010 11 57
end
durationcanvas 129836 classinstance_ref 128172 // :Magazyn
xyzwh 304 249.2 2010 11 26
end
durationcanvas 130092 classinstance_ref 128172 // :Magazyn
xyzwh 304 292.4 2010 11 31
end
durationcanvas 130220 classinstance_ref 128044 // :AutomatKontroler
xyzwh 52 285.8 2010 11 39
end
durationcanvas 130476 classinstance_ref 128044 // :AutomatKontroler
xyzwh 52 345 2010 11 32
end
durationcanvas 130604 classinstance_ref 128556 // :ZewnetrznySystemObslugi
xyzwh 777 352.8 2010 11 85
end
durationcanvas 130860 classinstance_ref 128044 // :AutomatKontroler
xyzwh 52 390.6 2010 11 46
end
msg 128940 synchronous
from durationcanvas_ref 128684
to durationcanvas_ref 128812
yz 92 2015 explicitmsg "1.rozpocznijKontrole()"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
label_xy 110 79
msg 129196 synchronous
from durationcanvas_ref 128812
to durationcanvas_ref 129068
yz 114 2015 explicitmsg "2.stworzPodsumowanieKontroli()"
stereotype "<<create>>" xyz 385 121 3000
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
label_xy 350 100
msg 129580 synchronous
from durationcanvas_ref 129324
to durationcanvas_ref 129452
yz 179 2015 explicitmsg "2.1.podajDate()"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
label_xy 385 166
msg 129708 return
from durationcanvas_ref 129452
to durationcanvas_ref 129324
yz 209 2020 explicitmsg "2.1.1.dataPrzydatnosciProduktu:date"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
label_xy 337 195
reflexivemsg 129964 synchronous
to durationcanvas_ref 129836
yz 249 2015 explicitmsg "2.2.[*]porownajDate()"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
args "dataPrzydatnosciProduktu:date"
label_xy 328 240
msg 130348 return
from durationcanvas_ref 130092
to durationcanvas_ref 130220
yz 313 2015 explicitmsg "3.podsumowanieKontroli:PodsumowanieKontroli"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
label_xy 57 297
msg 130732 synchronous
from durationcanvas_ref 130476
to durationcanvas_ref 130604
yz 366 2015 explicitmsg "4.przekarzPodsumowanieKontroli()"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
args "podsumowanieKontroli:PodsumowanieKontroli"
label_xy 207 352
msg 130988 return
from durationcanvas_ref 130604
to durationcanvas_ref 130860
yz 426 2015 explicitmsg "4.1czyPodsumowanieKontroliZostaloOdebrane:bool"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
label_xy 310 414
end

59
models/128258.diagram Normal file
View File

@ -0,0 +1,59 @@
format 223
classinstance 128044 class_ref 128172 // Automat
name "" xyz 25.56 4.4 2000 life_line_z 2000
classinstance 128172 class_ref 128044 // Klient
name "" xyz 284.8 7.46 2000 life_line_z 2000
classinstance 128300 class_ref 129964 // Produkt
name "" xyz 573.76 7.08 2000 life_line_z 2000
classinstance 128556 class_ref 130476 // RodzajPlatnosci
name "" xyz 727.2 4.68 2000 life_line_z 2000
durationcanvas 128258 classinstance_ref 128044 // :Automat
xyzwh 52 71 2010 11 86
end
durationcanvas 128514 classinstance_ref 128300 // :Produkt
xyzwh 598 108 2010 11 73
end
durationcanvas 128812 classinstance_ref 128172 // :Klient
xyzwh 303 54 2010 11 44
end
durationcanvas 128898 classinstance_ref 128044 // :Automat
xyzwh 52 199 2010 11 40
end
durationcanvas 129026 classinstance_ref 128172 // :Klient
xyzwh 303 220 2010 11 57
end
durationcanvas 129282 classinstance_ref 128556 // :RodzajPlatnosci
xyzwh 776 244 2010 11 51
end
msg 128386 synchronous
from durationcanvas_ref 128812
to durationcanvas_ref 128258
yz 71 3005 explicitmsg "1. WpisanieKodu"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
label_xy 129 50
msg 128642 synchronous
from durationcanvas_ref 128258
to durationcanvas_ref 128514
yz 108 2015 explicitmsg "2. PobierzCene()"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
label_xy 280 92
msg 128770 return
from durationcanvas_ref 128514
to durationcanvas_ref 128258
yz 134 2020 explicitmsg "2.1 PobierzCene(:cena)"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
label_xy 262 118
msg 129154 synchronous
from durationcanvas_ref 128898
to durationcanvas_ref 129026
yz 220 2015 explicitmsg "3. PodajeCene(:cena)"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
label_xy 121 204
msg 129410 synchronous
from durationcanvas_ref 129026
to durationcanvas_ref 129282
yz 253 2020 explicitmsg "4. Rodzajplatnosci(:platnoscgotowka)"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
label_xy 437 237
end

32
models/128386.diagram Normal file
View File

@ -0,0 +1,32 @@
format 223
classinstance 128044 class_ref 128172 // Automat
name "" xyz 25.56 4.4 2000 life_line_z 2000
classinstance 128172 class_ref 128044 // Klient
name "" xyz 284.8 7.46 2000 life_line_z 2000
classinstance 128300 class_ref 129964 // Produkt
name "" xyz 573.76 7.08 2000 life_line_z 2000
classinstance 128556 class_ref 130476 // RodzajPlatnosci
name "" xyz 727.2 4.68 2000 life_line_z 2000
durationcanvas 129666 classinstance_ref 128300 // :Produkt
xyzwh 598 84 2010 11 40
end
durationcanvas 129794 classinstance_ref 128044 // :Automat
xyzwh 52 84 2010 11 53
end
durationcanvas 130050 classinstance_ref 128172 // :Klient
xyzwh 303 124 2010 11 25
end
msg 129922 synchronous
from durationcanvas_ref 129666
to durationcanvas_ref 129794
yz 84 2015 explicitmsg "1. PodgrzanieProduktu"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
label_xy 264 68
msg 130178 synchronous
from durationcanvas_ref 129794
to durationcanvas_ref 130050
yz 124 2015 explicitmsg "2. WydanieProduktu"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
label_xy 124 108
end

View File

@ -1,63 +1,63 @@
format 223
classinstance 128044 class_ref 151340 // AutomatKontroler
name "" xyz -0.84 2.94 2000 life_line_z 2000
name "" xyz -0.74 4.1 2000 life_line_z 2000
classinstance 128172 class_ref 128940 // Magazyn
name "" xyz 275 7.46 2000 life_line_z 2000
name "" xyz 275.7 7.46 2000 life_line_z 2000
classinstance 128300 class_ref 129964 // Produkt
name "" xyz 573.16 7.08 2000 life_line_z 2000
name "" xyz 573.06 7.08 2000 life_line_z 2000
classinstance 128428 class_ref 129324 // PodsumowanieKontroli
name "" xyz 631.64 49.46 2000 life_line_z 2000
name "" xyz 632.14 49.06 2000 life_line_z 2000
classinstance 128556 class_ref 129196 // ZewnetrznySystemObslugi
name "" xyz 697.8 5.08 2000 life_line_z 2000
name "" xyz 697.4 5.48 2000 life_line_z 2000
note 131116 "zwracana warto == False jest wydarzeniem systemowym dla nast pnego diagramy interakcji: 5-2-Odebranie informacji o nieotrzymaniu podsumowania kontroli przez system zewnetrzny"
xyzwh 369.96 439.64 2000 171 133
xyzwh 369.16 439.14 2000 171 133
durationcanvas 128684 classinstance_ref 128044 // :AutomatKontroler
xyzwh 43 86.88 2010 11 36
xyzwh 52 85 2010 11 36
end
durationcanvas 128812 classinstance_ref 128172 // :Magazyn
xyzwh 299 78.28 2010 11 62
xyzwh 304 78 2010 11 62
end
durationcanvas 129068 classinstance_ref 128428 // :PodsumowanieKontroli
xyzwh 688 98.4 2010 11 41
xyzwh 700 98 2010 11 41
end
durationcanvas 129324 classinstance_ref 128172 // :Magazyn
xyzwh 299 170.56 2010 11 52
xyzwh 304 169 2010 11 52
end
durationcanvas 129452 classinstance_ref 128300 // :Produkt
xyzwh 593 163.56 2010 11 57
xyzwh 598 163 2010 11 57
end
durationcanvas 129836 classinstance_ref 128172 // :Magazyn
xyzwh 299 249.04 2010 11 26
xyzwh 304 249 2010 11 26
end
durationcanvas 130092 classinstance_ref 128172 // :Magazyn
xyzwh 299 292.08 2010 11 31
xyzwh 304 292 2010 11 32
end
durationcanvas 130220 classinstance_ref 128044 // :AutomatKontroler
xyzwh 43 285.56 2010 11 39
xyzwh 52 285 2010 11 39
end
durationcanvas 130476 classinstance_ref 128044 // :AutomatKontroler
xyzwh 43 345.48 2010 11 32
xyzwh 52 345 2010 11 32
end
durationcanvas 130604 classinstance_ref 128556 // :ZewnetrznySystemObslugi
xyzwh 765 352.24 2010 11 85
xyzwh 777 352 2010 11 85
end
durationcanvas 130860 classinstance_ref 128044 // :AutomatKontroler
xyzwh 43 391.68 2010 11 46
xyzwh 52 390 2010 11 47
end
msg 128940 synchronous
from durationcanvas_ref 128684
to durationcanvas_ref 128812
yz 92.12 2015 explicitmsg "1.rozpocznijKontrole()"
yz 92 2015 explicitmsg "1.rozpocznijKontrole()"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
label_xy 110 79.12
label_xy 110 79
msg 129196 synchronous
from durationcanvas_ref 128812
to durationcanvas_ref 129068
yz 114.12 2015 explicitmsg "2.stworzPodsumowanieKontroli()"
stereotype "<<create>>" xyz 385 121.12 3000
yz 114 2015 explicitmsg "2.stworzPodsumowanieKontroli()"
stereotype "<<create>>" xyz 385 121 3000
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
label_xy 350 100.12
label_xy 350 100
msg 129580 synchronous
from durationcanvas_ref 129324
to durationcanvas_ref 129452
@ -88,7 +88,7 @@ msg 130732 synchronous
yz 366 2015 explicitmsg "4.przekarzPodsumowanieKontroli()"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
args "podsumowanieKontroli:PodsumowanieKontroli"
label_xy 207 352
label_xy 208 352
msg 130988 return
from durationcanvas_ref 130604
to durationcanvas_ref 130860

20
models/2.session Normal file
View File

@ -0,0 +1,20 @@
window_sizes 3840 2081 900 2934 1899 128
diagrams
sequencediagram_ref 128258 // 4-1-WpisanieKoduProduku
2347 1519 100 A4 0 0
sequencediagram_ref 128002 // 4-2-WrzucenieGotówki
2347 1519 100 A4 0 0
classdiagram_ref 128044 // domain-model
2347 1519 100 A3 0 0
active sequencediagram_ref 128386 // 4-3-WydanieProduktu
2347 1519 100 A4 0 0
end
show_stereotypes
open
classview_ref 128044 // domain
state_ref 128044 // zakupProduktu
sequencediagram_ref 128002 // 4-2-WrzucenieGotówki
sequencediagram_ref 128258 // 4-1-WpisanieKoduProduku
end
end

View File

@ -1,7 +1,7 @@
format 223
"models"
revision 9
modified_by 44 "Marta Roszak"
revision 10
modified_by 2 "adamc"
@ -1059,5 +1059,20 @@ format 223
collaborationdiagramsettings end
size A4
end
sequencediagram 128002 "4-2-WrzucenieGotówki"
sequencediagramsettings end
overlapping_bars size A4
end
sequencediagram 128258 "4-1-WpisanieKoduProduku"
sequencediagramsettings end
overlapping_bars size A4
end
sequencediagram 128386 "4-3-WydanieProduktu"
sequencediagramsettings end
overlapping_bars size A4
end
end
end