sequence diagrams for use case 5 added

This commit is contained in:
Radosław Trzmielewski 2022-12-14 18:51:10 +01:00
parent b35615dcca
commit 740d0c0392
5 changed files with 200 additions and 43 deletions

View File

@ -121,28 +121,28 @@ classcanvas 140931 class_ref 131843 // Kasetka
xyz 596 148.3 2000
end
relationcanvas 128012 relation_ref 128012 // wy wietla
from ref 128131 z 2006 label "wy wietla" italic max_width 255 xyz 572 441 2006 to ref 130435
from ref 128131 z 2006 label "wy wietla" italic max_width 255 xyz 575 446 2006 to ref 130435
no_role_a no_role_b
multiplicity_a_pos 683 579 3000 multiplicity_b_pos 480 320 3000
multiplicity_a_pos 684 579 3000 multiplicity_b_pos 485 330 3000
end
relationcanvas 128396 relation_ref 128268 // wystepuje
from ref 128131 z 2006 label "wystepuje" italic max_width 255 xyz 319 441 2006 to ref 128268
from ref 128131 z 2006 label "wystepuje" italic max_width 255 xyz 317 446 2006 to ref 128268
no_role_a no_role_b
multiplicity_a_pos 244 579 3000 multiplicity_b_pos 416 320 3000
multiplicity_a_pos 244 579 3000 multiplicity_b_pos 412 330 3000
end
relationcanvas 128652 relation_ref 128396 // zawiera
from ref 128268 z 2001 label "zawiera" italic max_width 255 xyz 168 646.5 2001 to ref 128524
from ref 128268 z 2001 label "zawiera" italic max_width 255 xyz 168 646 2001 to ref 128524
no_role_a no_role_b
multiplicity_a_pos 170 686 3000 multiplicity_b_pos 202 635 3000
end
relationcanvas 128919 relation_ref 128279 // komunikuje sie
decenter_begin 435
from ref 128771 z 2006 label "komunikuje sie" italic max_width 255 xyz 453 185 2006 to ref 128131
from ref 128771 z 2006 label "komunikuje sie" italic max_width 255 xyz 453.5 185 2006 to ref 128131
no_role_a no_role_b
multiplicity_a_pos 465 214 3000 multiplicity_b_pos 486 173 3000
multiplicity_a_pos 465 214 3000 multiplicity_b_pos 487 173 3000
end
relationcanvas 129164 relation_ref 128524 // posiada
from ref 130947 z 2001 label "posiada" italic max_width 255 xyz 554.5 625.5 2001 to ref 129036
from ref 130947 z 2001 label "posiada" italic max_width 255 xyz 554 625 2001 to ref 129036
no_role_a no_role_b
multiplicity_a_pos 567 660 3000 multiplicity_b_pos 549 609 3000
end
@ -162,41 +162,41 @@ relationcanvas 133271 relation_ref 129303 // ma przypisane
multiplicity_a_pos 730 286 3000 multiplicity_b_pos 720 244 3000
end
relationcanvas 133655 relation_ref 129431 // posiada (jako atrybut)
from ref 128003 z 2006 label "posiada (jako atrybut)" italic max_width 255 xyz 654 418 2006 to ref 128387
from ref 128003 z 2006 label "posiada (jako atrybut)" italic max_width 255 xyz 652 423 2006 to ref 128387
no_role_a no_role_b
multiplicity_a_pos 671 455 3000 multiplicity_b_pos 706 408 3000
multiplicity_a_pos 672 455 3000 multiplicity_b_pos 701 418 3000
end
relationcanvas 135191 relation_ref 129943 // ma wbudowany
from ref 128131 z 2006 label "ma wbudowany" italic max_width 255 xyz 540 255 2006 to ref 131587
from ref 128131 z 2006 label "ma wbudowany" italic max_width 255 xyz 540 257.5 2006 to ref 131587
no_role_a no_role_b
multiplicity_a_pos 635 274 3000 multiplicity_b_pos 514 278 3000
multiplicity_a_pos 635 275 3000 multiplicity_b_pos 514 282 3000
end
relationcanvas 136599 relation_ref 130455 // ma wbudowany
from ref 128131 z 2006 label "ma wbudowany" italic max_width 255 xyz 497 302 2006 to ref 130691
from ref 128131 z 2006 label "ma wbudowany" italic max_width 255 xyz 497 306 2006 to ref 130691
no_role_a no_role_b
multiplicity_a_pos 551 346 3000 multiplicity_b_pos 514 309 3000
multiplicity_a_pos 551 350 3000 multiplicity_b_pos 514 313 3000
end
relationcanvas 137111 relation_ref 130583 // przyjmuje
from ref 130691 z 2001 label "przyjmuje" italic max_width 255 xyz 654 337 2001 to ref 128003
from ref 130691 z 2001 label "przyjmuje" italic max_width 255 xyz 658 342 2001 to ref 128003
no_role_a no_role_b
multiplicity_a_pos 694 360 3000 multiplicity_b_pos 656 363 3000
multiplicity_a_pos 694 365 3000 multiplicity_b_pos 664 368 3000
end
relationcanvas 137219 relation_ref 128899 // ma wbudowany
decenter_end 745
from ref 136451 z 2006 label "ma wbudowany" italic max_width 255 xyz 411.5 444 2006 to ref 128131
from ref 136451 z 2006 label "ma wbudowany" italic max_width 255 xyz 411 449 2006 to ref 128131
no_role_a no_role_b
multiplicity_a_pos 466 320 3000 multiplicity_b_pos 400 591 3000
multiplicity_a_pos 466 330 3000 multiplicity_b_pos 400 591 3000
end
relationcanvas 137731 relation_ref 129027 // jest
decenter_end 497
from ref 130307 z 2012 label "jest" italic max_width 255 xyz 73 385.5 2012 to ref 137603
from ref 130307 z 2012 label "jest" italic max_width 255 xyz 73 385 2012 to ref 137603
no_role_a no_role_b
multiplicity_a_pos 88 499 3000 multiplicity_b_pos 44 289 3000
end
relationcanvas 137987 relation_ref 129155 // udziela serwisu
from ref 137859 z 2006 label "udziela serwisu" italic max_width 255 xyz 378.5 392.5 2006 to ref 128131
from ref 137859 z 2006 label "udziela serwisu" italic max_width 255 xyz 377.5 397 2006 to ref 128131
no_role_a no_role_b
multiplicity_a_pos 428 320 3000 multiplicity_b_pos 369 474 3000
multiplicity_a_pos 426 330 3000 multiplicity_b_pos 370 474 3000
end
relationcanvas 138371 relation_ref 129411 // zarejestrowana
from ref 128259 z 2006 label "zarejestrowana" italic max_width 255 xyz 549 82 2006 to ref 128771
@ -204,40 +204,40 @@ relationcanvas 138371 relation_ref 129411 // zarejestrowana
multiplicity_a_pos 541 124 3000 multiplicity_b_pos 612 72 3000
end
relationcanvas 138883 relation_ref 136067 // tworzy
from ref 128899 z 2006 label "tworzy" italic max_width 255 xyz 366 146 2006 to ref 128131
from ref 128899 z 2006 label "tworzy" italic max_width 255 xyz 364 146 2006 to ref 128131
no_role_a no_role_b
multiplicity_a_pos 413 214 3000 multiplicity_b_pos 321 98 3000
multiplicity_a_pos 410 214 3000 multiplicity_b_pos 320 98 3000
end
relationcanvas 139139 relation_ref 136195 // przeprowadza
from ref 132099 z 2006 label "przeprowadza" italic max_width 255 xyz 329 198.5 2006 to ref 128131
from ref 132099 z 2006 label "przeprowadza" italic max_width 255 xyz 329 200 2006 to ref 128131
no_role_a no_role_b
multiplicity_a_pos 403 259 3000 multiplicity_b_pos 318 192 3000
multiplicity_a_pos 403 263 3000 multiplicity_b_pos 318 192 3000
end
relationcanvas 139523 relation_ref 136451 // posiada
decenter_begin 458
from ref 139267 z 2001 label "posiada" italic max_width 255 xyz 738 451.5 3000 to ref 128003
from ref 139267 z 2001 label "posiada" italic max_width 255 xyz 738 456 2001 to ref 128003
no_role_a no_role_b
multiplicity_a_pos 729 408 3000 multiplicity_b_pos 734 513 3000
multiplicity_a_pos 729 418 3000 multiplicity_b_pos 734 513 3000
end
relationcanvas 140183 relation_ref 131607 // ma wbudowany
from ref 128131 z 2006 label "ma wbudowany" italic max_width 255 xyz 331 275 2006 to ref 131075
from ref 128131 z 2006 label "ma wbudowany" italic max_width 255 xyz 331 277.5 2006 to ref 131075
no_role_a no_role_b
multiplicity_a_pos 336 307 3000 multiplicity_b_pos 403 286 3000
multiplicity_a_pos 336 309 3000 multiplicity_b_pos 403 291 3000
end
relationcanvas 140547 relation_ref 136707 // generuje
from ref 140419 z 2017 label "generuje" italic max_width 255 xyz 181 36 3000 to ref 128899
from ref 140419 z 2017 label "generuje" italic max_width 255 xyz 181 36 2017 to ref 128899
no_role_a no_role_b
multiplicity_a_pos 243 61 3000 multiplicity_b_pos 155 53 3000
end
relationcanvas 140803 relation_ref 136835 // posiada
from ref 140675 z 2001 label "posiada" italic max_width 255 xyz 311.5 615.5 2001 to ref 137859
from ref 140675 z 2001 label "posiada" italic max_width 255 xyz 311 615 2001 to ref 137859
no_role_a no_role_b
multiplicity_a_pos 335 580 3000 multiplicity_b_pos 283 670 3000
end
relationcanvas 141059 relation_ref 136963 // ma wbudowane
from ref 128131 z 2006 label "ma wbudowane" italic max_width 255 xyz 511 204 2006 to ref 140931
from ref 128131 z 2006 label "ma wbudowane" italic max_width 255 xyz 511 206.5 2006 to ref 140931
no_role_a no_role_b
multiplicity_a_pos 579 193 3000 multiplicity_b_pos 514 248 3000
multiplicity_a_pos 579 194 3000 multiplicity_b_pos 514 252 3000
end
relationcanvas 141335 relation_ref 131991 // przeprowadza
decenter_begin 527
@ -248,9 +248,9 @@ end
relationcanvas 141847 relation_ref 132247 // ma wbudowana
decenter_begin 291
decenter_end 875
from ref 130947 z 2006 label "ma wbudowana" italic max_width 255 xyz 475.5 415 2006 to ref 128131
from ref 130947 z 2006 label "ma wbudowana" italic max_width 255 xyz 475 420 2006 to ref 128131
no_role_a no_role_b
multiplicity_a_pos 479 320 3000 multiplicity_b_pos 521 533 3000
multiplicity_a_pos 479 330 3000 multiplicity_b_pos 521 533 3000
end
relationcanvas 142359 relation_ref 132503 // wybierany
from ref 131715 z 2011 label "wybierany" italic max_width 255 xyz 149 77 2011 to ref 128899

50
models/134551.diagram Normal file
View File

@ -0,0 +1,50 @@
format 224
classinstance 128407 class_ref 128023 // Klient
drawing_mode actor name "" xyz 54 4 2000 life_line_z 2000
classinstance 128535 class_ref 128131 // Bankomat
name "" xyz 178 4 2000 life_line_z 2000
classinstance 128663 class_ref 130691 // Czytnik
name "" xyz 344 4 2000 life_line_z 2000
classinstance 128791 class_ref 128003 // Karta
name "karta" xyz 504 4 2000 life_line_z 2000
note 130967 "Aby wlozyc karte do bankomatu kart potrzebujemy:
Bankomatu, Czytnika, Karty, Klienta
Klient wklada kart do czytynika który znajduje sie w bankomacie (po czenie z bankiem?).
"
xyzwh 611 65 2000 193 123
durationcanvas 131095 classinstance_ref 128407 // :Klient
xyzwh 65 124 2010 11 40
end
durationcanvas 131223 classinstance_ref 128535 // :Bankomat
xyzwh 203 124 2010 11 35
end
durationcanvas 131479 classinstance_ref 128663 // :Czytnik
xyzwh 363 141 2010 11 31
end
durationcanvas 131735 classinstance_ref 128663 // :Czytnik
xyzwh 363 168 2010 11 51
end
durationcanvas 131863 classinstance_ref 128791 // karta:Karta
xyzwh 530 168 2010 11 36
end
msg 131351 synchronous
from durationcanvas_ref 131095
to durationcanvas_ref 131223
yz 124 2015 msg operation_ref 128023 // "wlozKarte()"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
label_xy 110 110
msg 131607 synchronous
from durationcanvas_ref 131223
to durationcanvas_ref 131479
yz 145 2015 msg operation_ref 128151 // "odczytajKarte()"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
label_xy 251 131
msg 131991 synchronous
from durationcanvas_ref 131735
to durationcanvas_ref 131863
yz 168 2015 msg operation_ref 128279 // "utworz()"
stereotype "<<create>>" xyz 425 182 3000
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
label_xy 431 154
end

3
models/134679.diagram Normal file
View File

@ -0,0 +1,3 @@
format 224
end

View File

@ -1,11 +1,19 @@
window_sizes 1920 1017 244 1671 867 104
diagrams
active classdiagram_ref 128023 // domain-model
1420 693 100 A4 0 0
active sequencediagram_ref 134551 // 5-1-wlozKarteDoBankomatu
1671 867 100 A4 0 0
classdiagram_ref 128023 // domain-model
114 86 100 A4 0 0
sequencediagram_ref 134679 // 5-2-wprowadzPIN
114 86 100 A4 0 0
end
show_stereotypes
selected operation_ref 128279 // utworz
open
classview_ref 128023 // domain
class_ref 128003 // Karta
class_ref 128131 // Bankomat
class_ref 130691 // Czytnik
sequencediagram_ref 134935 // 5-4-wpiszKwote
end
end

View File

@ -1,6 +1,6 @@
format 224
"models"
revision 7
revision 9
modified_by 23 "s464978"
@ -266,8 +266,18 @@ ${members}};
MysqlColumn
end
classrelation 138627 // (posiada)
classrelation 138627 // posiada
relation_ref 136451 // posiada
end
operation 128279 "utworz"
public explicit_return_type ""
nparams 0
end
end
@ -412,6 +422,16 @@ ${members}};
classrelation_ref 128524 // (wystepuje)
b role_name "" multiplicity "*" private
classrelation_ref 128652 // (wystepuje)
end
operation 128023 "wlozKarte"
public explicit_return_type ""
nparams 0
end
end
@ -766,7 +786,7 @@ ${members}};
MysqlColumn
end
classrelation 139139 // (generuje)
classrelation 139139 // generuje
relation_ref 136707 // generuje
end
end
@ -1184,6 +1204,16 @@ ${members}};
idl_decl ""
mysql_decl ""
MysqlColumn
end
operation 128151 "odczytajKarte"
public explicit_return_type ""
nparams 0
end
end
@ -1736,7 +1766,7 @@ ${members}};
a role_name "" multiplicity "1..*" private
classrelation_ref 138499 // (posiada)
b role_name "" multiplicity "1..*" private
classrelation_ref 138627 // (posiada)
classrelation_ref 138627 // posiada
end
end
@ -1770,7 +1800,7 @@ ${members}};
a role_name "" multiplicity "1" private
classrelation_ref 139011 // (generuje)
b role_name "" multiplicity "1" private
classrelation_ref 139139 // (generuje)
classrelation_ref 139139 // generuje
end
end
@ -1830,4 +1860,70 @@ ${members}};
end
end
end
classview 134551 "design"
classdiagramsettings member_max_width 0 end
classcompositediagramsettings end
collaborationdiagramsettings end
objectdiagramsettings end
objectcompositediagramsettings end
sequencediagramsettings end
statediagramsettings
end
activitydiagramsettings
end
sequencediagram 134551 "5-1-wlozKarteDoBankomatu"
sequencediagramsettings end
overlapping_bars size A4
end
sequencediagram 134679 "5-2-wprowadzPIN"
sequencediagramsettings end
overlapping_bars size A4
end
sequencediagram 134807 "5-3-wybierzOpcjeZakupPrepaid"
sequencediagramsettings end
overlapping_bars size A4
end
sequencediagram 134935 "5-4-wpiszKwote"
sequencediagramsettings end
overlapping_bars size A4
end
sequencediagram 135063 "5-5-odbierzKodPrepaid"
sequencediagramsettings end
overlapping_bars size A4
end
sequencediagram 135191 "5-6-wyjmijKarteZBankomatu"
sequencediagramsettings end
overlapping_bars size A4
end
sequencediagram 135319 "5-7-anulujZakupPrepaid"
sequencediagramsettings end
overlapping_bars size A4
end
sequencediagram 135447 "5-8-nieodebranieKarty"
sequencediagramsettings end
overlapping_bars size A4
end
sequencediagram 135575 "5-9-brakAktywnosci"
sequencediagramsettings end
overlapping_bars size A4
end
end
end