interaction diagram uc2

This commit is contained in:
s444417 2021-01-31 11:25:35 +01:00
parent d7907f64ba
commit d8b2380b62
8 changed files with 339 additions and 146 deletions

View File

@ -1,27 +0,0 @@
format 223
classinstancecanvas 128002 classinstance_ref 129154 //
xyz 81 13 2000 life_line_z 2000
end
classinstancecanvas 128386 classinstance_ref 128514 // KontrolerAutomatu
xyz 182 21 2000 life_line_z 2000
end
classinstance 128514 class_ref 165122 // ManagerTransakcji
name "" xyz 427 19 2000 life_line_z 2000
classinstancecanvas 128642 classinstance_ref 135682 //
xyz 593 20 2000 life_line_z 2000
end
classinstance 128770 class_ref 164226 // ModulPlatnosciGotowkowej
name "" xyz 690 19 2000 life_line_z 2000
durationcanvas 128898 classinstance_ref 128002 // :Klient
xyzwh 97 127 2010 11 29
end
durationcanvas 129026 classinstance_ref 128386 // KontrolerAutomatu:ZakupProduktu
xyzwh 272 127 2010 11 26
end
msg 129154 synchronous
from durationcanvas_ref 128898
to durationcanvas_ref 129026
yz 127 2015 unspecifiedmsg
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
end

View File

@ -1,55 +0,0 @@
format 223
classinstancecanvas 128130 classinstance_ref 128514 // KontrolerAutomatu
xyz 115 33 2010 life_line_z 2000
end
classinstancecanvas 128258 classinstance_ref 128642 //
show_stereotype_properties no xyz 455 29 2015 life_line_z 2000
end
classinstance 133890 class_ref 128142 // Klient
name "" xyz 19 27 2000 life_line_z 2000
classinstance 137090 class_ref 171906 // Sprzedaz
name "" xyz 741 28 2000 life_line_z 2000
durationcanvas 128770 classinstance_ref 128130 // KontrolerAutomatu:ZakupProduktu
xyzwh 226 143 2010 11 102
overlappingdurationcanvas 134914
xyzwh 232 150 2020 11 25
end
end
durationcanvas 129026 classinstance_ref 128258 // :ManagerTransakcji
xyzwh 519 189 2010 11 51
end
durationcanvas 134786 classinstance_ref 133890 // :Klient
xyzwh 35 149 2010 11 27
end
durationcanvas 138242 classinstance_ref 137090 // :Sprzedaz
xyzwh 775 217 2010 11 26
end
msg 129154 synchronous
from durationcanvas_ref 128770
to durationcanvas_ref 129026
yz 190 2015 explicitmsg "rozpocznijTransakcje()"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
args "idPorduktu:Int"
label_xy 252 173
msg 135042 synchronous
from durationcanvas_ref 134786
to durationcanvas_ref 134914
yz 153 2025 explicitmsg "wybranyProdukt()"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
args "idProduktu:Int"
label_xy 37 129
msg 137346 synchronous
from durationcanvas_ref 129026
to durationcanvas_ref 138242
yz 226 3010 explicitmsg "create()"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
args "nazwaProduktu:String, cenaProduktu:Money"
label_xy 538 201
msg 139266 return
from durationcanvas_ref 129026
to durationcanvas_ref 128770
yz 229 2015 explicitmsg "cena:Money"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
label_xy 347 212
end

View File

@ -1,49 +1,49 @@
format 223
classinstancecanvas 128002 classinstance_ref 129154 //
xyz 40 102 2000
xyz 28 103 2000
end
classinstancecanvas 128130 classinstance_ref 128514 // KontrolerAutomatu
xyz 219 106 2000
xyz 326 108 2000
end
classinstance 128770 class_ref 164226 // ModulPlatnosciGotowkowej
name "" xyz 422 369 2000
classinstance 128898 class_ref 178434 // ModulPlatnosciKarta
name "" xyz 82 368 2000
classinstance 128898 class_ref 164226 // ManagerPlatnosciGotowkowej
name "" xyz 167 375 2000
classinstance 129282 class_ref 178562 // ManagerPlatnosci
name "" xyz 272 212 2006
name "" xyz 377 213 2006
classinstance 130946 class_ref 178434 // ManagerPlatnosciKarta
name "" xyz 500 397 2000
linkcanvas 128514
from ref 128002 z 2001 to ref 128130
dirscanvas 130306 z 1000 linkcanvas_ref 128514
forward_label "1 wyborFormyPatnosci" xyz 76 88 3000
forward_label "1 wybranaFormaPatnosci(numerFormyPlatnosci:Int)" xyz 29 89 3000
linkcanvas 129410
from ref 128898 z 2007 to ref 129282
dirscanvas 130690 z 1000 linkcanvas_ref 129410
backward_label "3 aktywuj()" xyz 232 322 3000
linkcanvas 129538
from ref 129282 z 2007 to ref 128770
dirscanvas 130818 z 1000 linkcanvas_ref 129538
forward_label "4 aktywuj()" xyz 415 269 3000
backward_label "3 zrealizujPlatnosc(cena:Money)" xyz 273 325 3000
linkcanvas 130434
from ref 128130 z 2007 to ref 129282
dirscanvas 130562 z 1000 linkcanvas_ref 130434
forward_label "2 ustawFormePlatnosci(formaPlatnosci:Enum)" xyz 353 162 3000
forward_label "2 ustawFormePlatnosci(formaPlatnosci:Enum)" xyz 459 166 3000
linkcanvas 131074
from ref 129282 z 2007 to ref 130946
dirscanvas 131202 z 1000 linkcanvas_ref 131074
forward_label "4 zrealizujPlatnosci(cena:Money)" xyz 437 286 3000
msgs
explicitmsg "wyborFormyPatnosci"
explicitmsg "wybranaFormaPatnosci(numerFormyPlatnosci:Int)"
forward ranks 1 "1" dirscanvas_ref 130306
msgs
explicitmsg "ustawFormePlatnosci(formaPlatnosci:Enum)"
forward ranks 2 "1.1" dirscanvas_ref 130562
msgs
explicitmsg "aktywuj()"
explicitmsg "zrealizujPlatnosc(cena:Money)"
backward ranks 3 "1.1.1" dirscanvas_ref 130690
no_msg
explicitmsg "aktywuj()"
forward ranks 4 "1.1.2" dirscanvas_ref 130818
explicitmsg "zrealizujPlatnosci(cena:Money)"
forward ranks 4 "1.1.2" dirscanvas_ref 131202
no_msg
msgsend
msgsend

View File

@ -1,21 +1,84 @@
format 223
classinstance 128002 class_ref 164226 // ModulPlatnosciGotowkowej
name "" xyz 250 19 2000 life_line_z 2000
classinstancecanvas 128130 classinstance_ref 129154 //
xyz 79 4 2000 life_line_z 2000
xyz 71.9 4.2 2000 life_line_z 2000
end
durationcanvas 128258 classinstance_ref 128130 // :Klient
xyzwh 95 118 2010 11 26
classinstancecanvas 128642 classinstance_ref 128514 // KontrolerAutomatu
xyz 149.8 12.8 2000 life_line_z 2000
end
durationcanvas 128386 classinstance_ref 128002 // :ModulPlatnosciGotowkowej
xyzwh 341 118 2010 11 25
classinstance 129154 class_ref 164226 // ManagerPlatnosciGotowkowej
name "" xyz 433.4 12.8 2000 life_line_z 2000
classinstance 129922 class_ref 178562 // ManagerPlatnosci
name "" xyz 755.5 8.2 2000 life_line_z 2000
classinstance 130306 class_ref 185218 // ManagerSprzedazy
name "" xyz 1019.6 13.6 2000 life_line_z 2000
classinstance 130690 class_ref 171906 // Sprzedaz
name "" xyz 1585.4 3.6 2000 life_line_z 2000
durationcanvas 128770 classinstance_ref 128130 // :Klient
xyzwh 87 59.7 2010 11 40
end
msg 128514 synchronous
from durationcanvas_ref 128258
to durationcanvas_ref 128386
yz 118 2015 explicitmsg "wprowadzenieMonet()"
durationcanvas 128898 classinstance_ref 128642 // KontrolerAutomatu:ZakupProduktu
xyzwh 260 75.6 2010 11 121
end
durationcanvas 129282 classinstance_ref 129154 // :ManagerPlatnosciGotowkowej
xyzwh 533 86.3 2010 11 120
overlappingdurationcanvas 129666
xyzwh 539 137 2020 11 25
end
end
durationcanvas 130050 classinstance_ref 129922 // :ManagerPlatnosci
xyzwh 815 157.6 2010 11 92
end
durationcanvas 130434 classinstance_ref 130306 // :ManagerSprzedazy
xyzwh 1083 211.2 2010 11 61
end
durationcanvas 130818 classinstance_ref 130690 // :Sprzedaz
xyzwh 1617 244.2 2010 11 25
end
msg 129026 synchronous
from durationcanvas_ref 128770
to durationcanvas_ref 128898
yz 80 2015 explicitmsg "wprowadzonoMonety(wartosc:Money)"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
args "kwota:Money"
label_xy 113 100
label_xy 61 58
msg 129410 synchronous
from durationcanvas_ref 128898
to durationcanvas_ref 129282
yz 90 2015 explicitmsg "wprowadzonaKwota()"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
args "wartosc:Money"
label_xy 282 73
msg 129538 return
from durationcanvas_ref 129282
to durationcanvas_ref 128898
yz 174 2015 explicitmsg "reszta:Money"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
label_xy 357 157
reflexivemsg 129794 synchronous
to durationcanvas_ref 129666
yz 137 2025 explicitmsg "obliczReszte()"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
args "cena:Money, kredytKlienta:Money"
label_xy 498 107
msg 130178 synchronous
from durationcanvas_ref 129282
to durationcanvas_ref 130050
yz 194 2015 explicitmsg "ustawReszte()"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
args "reszta:Money"
label_xy 581 177
msg 130562 synchronous
from durationcanvas_ref 130050
to durationcanvas_ref 130434
yz 233 2015 explicitmsg "ustawInformacjeOPlatnosci()"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
args "reszta:Money"
label_xy 825 212
msg 130946 synchronous
from durationcanvas_ref 130434
to durationcanvas_ref 130818
yz 260 2015 explicitmsg "create()"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
args "nazwa:String, cena:Money, metodaPlatnosci:String, reszta:Money"
label_xy 1139 236
end

59
models/154626.diagram Normal file
View File

@ -0,0 +1,59 @@
format 223
classinstancecanvas 128002 classinstance_ref 129154 //
xyz 73 116 2000
end
classinstancecanvas 128130 classinstance_ref 128514 // KontrolerAutomatu
xyz 336 124 2000
end
classinstance 128770 class_ref 165122 // ManagerProduktow
name "" xyz 381 264 2000
classinstance 129794 class_ref 185218 // ManagerSprzedazy
name "" xyz 204 390 2000
classinstance 130178 class_ref 178562 // ManagerPlatnosci
name "" xyz 565 391 2000
linkcanvas 128258
from ref 128002 z 2001 to ref 128130
dirscanvas 128386 z 1000 linkcanvas_ref 128258
forward_label "1 wybranyProdukt(produktId:Int)" xyz 125 104 3000
linkcanvas 128898 decenter_begin 662 decenter_end 779
from ref 128130 z 2001 to ref 128770
dirscanvas 129026 z 1000 linkcanvas_ref 128898
forward_label "2 wybranyProdukt(produktId:Int)" xyz 508 200 3000
linkcanvas 129154
from ref 128770 z 2001 to ref 128130
dirscanvas 129282 z 1000 linkcanvas_ref 129154
forward_label "3 cena:Money" xyz 342 199 3000
linkcanvas 129922
from ref 128770 z 2001 to ref 129794
dirscanvas 130050 z 1000 linkcanvas_ref 129922
forward_label "4 ustawProdukt(nazwa:String, cena:Money)" xyz 241 361 3000
linkcanvas 130306
from ref 128770 z 2001 to ref 130178
dirscanvas 130434 z 1000 linkcanvas_ref 130306
forward_label "5 aktywuj(cena:Money)" xyz 486 307 3000
msgs
explicitmsg "wybranyProdukt(produktId:Int)"
forward ranks 1 "1" dirscanvas_ref 128386
msgs
explicitmsg "wybranyProdukt(produktId:Int)"
forward ranks 2 "1.1" dirscanvas_ref 129026
msgs
explicitmsg "cena:Money"
forward ranks 3 "1.1.1" dirscanvas_ref 129282
no_msg
explicitmsg "ustawProdukt(nazwa:String, cena:Money)"
forward ranks 4 "1.1.2" dirscanvas_ref 130050
no_msg
explicitmsg "aktywuj(cena:Money)"
forward ranks 5 "1.1.3" dirscanvas_ref 130434
no_msg
msgsend
msgsend
msgsend
end

84
models/154754.diagram Normal file
View File

@ -0,0 +1,84 @@
format 223
classinstancecanvas 128130 classinstance_ref 129154 //
xyz 71.6 4.8 2000 life_line_z 2000
end
classinstancecanvas 128642 classinstance_ref 128514 // KontrolerAutomatu
xyz 150.2 12.2 2000 life_line_z 2000
end
classinstance 129154 class_ref 164226 // ManagerPlatnosciGotowkowej
name "" xyz 433.6 12.2 2000 life_line_z 2000
classinstance 129922 class_ref 178562 // ManagerPlatnosci
name "" xyz 756.4 8 2000 life_line_z 2000
classinstance 130306 class_ref 185218 // ManagerSprzedazy
name "" xyz 1019.8 13 2000 life_line_z 2000
classinstance 130690 class_ref 171906 // Sprzedaz
name "" xyz 1585.2 4 2000 life_line_z 2000
durationcanvas 128770 classinstance_ref 128130 // :Klient
xyzwh 87 59 2010 11 40
end
durationcanvas 128898 classinstance_ref 128642 // KontrolerAutomatu:ZakupProduktu
xyzwh 261 75 2010 11 121
end
durationcanvas 129282 classinstance_ref 129154 // :ManagerPlatnosciGotowkowej
xyzwh 533 85 2010 11 120
overlappingdurationcanvas 131074
xyzwh 539 134 2020 11 25
end
end
durationcanvas 130050 classinstance_ref 129922 // :ManagerPlatnosci
xyzwh 816 158 2010 11 92
end
durationcanvas 130434 classinstance_ref 130306 // :ManagerSprzedazy
xyzwh 1084 211 2010 11 61
end
durationcanvas 130818 classinstance_ref 130690 // :Sprzedaz
xyzwh 1619 244 2010 11 27
end
msg 129026 synchronous
from durationcanvas_ref 128770
to durationcanvas_ref 128898
yz 80 2015 explicitmsg "zaprzestanieWprowadzaniaMonet(wartosc:Money)"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
label_xy 61 58
msg 129410 synchronous
from durationcanvas_ref 128898
to durationcanvas_ref 129282
yz 113 2015 explicitmsg "wprowadzonaKwota()"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
args "wartosc:Money"
label_xy 282 96
msg 129538 return
from durationcanvas_ref 129282
to durationcanvas_ref 128898
yz 161 2015 explicitmsg "wartosc:Money"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
label_xy 357 144
msg 130178 synchronous
from durationcanvas_ref 129282
to durationcanvas_ref 130050
yz 194 2015 explicitmsg "ustawNiepowodzenie()"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
args "zwroconaWartosc:Money"
label_xy 581 177
msg 130562 synchronous
from durationcanvas_ref 130050
to durationcanvas_ref 130434
yz 233 2015 explicitmsg "ustawInformacjeOPlatnosci()"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
args "zwroconaWartosc:Money"
label_xy 825 212
msg 130946 synchronous
from durationcanvas_ref 130434
to durationcanvas_ref 130818
yz 260 2015 explicitmsg "create()"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
args "nazwa:String, cena:Money, metodaPlatnosci:String, zwroconaWartosc:Money"
label_xy 1139 236
reflexivemsg 131202 synchronous
to durationcanvas_ref 131074
yz 134 2025 explicitmsg "zwrocWprowadzone()"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
args "wartosc:Money"
label_xy 438 117
end

View File

@ -1,20 +1,14 @@
window_sizes 1920 1017 283 1632 890 74
window_sizes 1920 1017 302 1613 890 74
diagrams
sequencediagram_ref 147842 // 2-1-wprowadzenieNumeruProduktuNew
929 807 100 A3 0 0
sequencediagram_ref 147714 // 2-2-wybranieFormyPlatnosci
678 823 100 A4 12 0
active collaborationdiagram_ref 147970 // 2-2-wybranieFormyPlatnosci
692 810 100 A4 0 0
sequencediagram_ref 148098 // 2-3-wprowadzenieMonet
881 788 100 A4 0 0
end
show_stereotypes
selected sequencediagram_ref 148098 // 2-3-wprowadzenieMonet
selected sequencediagram_ref 154754 // 2-4-zaprzestanieWprowadzaniaMonet
open
class_ref 165122 // ManagerTransakcji
classinstance_ref 128514 // KontrolerAutomatu
class_ref 165122 // ManagerProduktow
class_ref 164226 // ManagerPlatnosciGotowkowej
class_ref 171906 // Sprzedaz
class_ref 178434 // ManagerPlatnosciKarta
class_ref 178562 // ManagerPlatnosci
class_ref 185218 // ManagerSprzedazy
end
end

View File

@ -1,6 +1,6 @@
format 223
"models"
revision 15
revision 16
modified_by 2 "48516"
@ -1696,14 +1696,14 @@ format 223
relation 163458 ---> name "uzywa"
a role_name "" multiplicity "1" private
classrelation_ref 173186 // (uzywa)
b multiplicity "1" parent class_ref 165122 // ManagerTransakcji
b multiplicity "1" parent class_ref 165122 // ManagerProduktow
end
classrelation 173442 // <generalisation>
relation 163586 ---|>
a public
classrelation_ref 173442 // <generalisation>
b parent class_ref 165122 // ManagerTransakcji
b parent class_ref 165122 // ManagerProduktow
end
end
@ -1715,7 +1715,7 @@ format 223
end
end
class 165122 "ManagerTransakcji"
class 165122 "ManagerProduktow"
visibility package
cpp_decl ""
java_decl ""
@ -1745,14 +1745,14 @@ format 223
end
classinstance 128642 ""
type class_ref 165122 // ManagerTransakcji
type class_ref 165122 // ManagerProduktow
attributes
end
relations
end
end
class 164226 "ModulPlatnosciGotowkowej"
class 164226 "ManagerPlatnosciGotowkowej"
visibility package
cpp_decl ""
java_decl ""
@ -1762,10 +1762,31 @@ format 223
explicit_switch_type ""
mysql_decl ""
attribute 151938 "cena"
private explicit_type "Money"
cpp_decl ""
java_decl ""
php_decl ""
python_decl ""
idl_decl ""
mysql_decl ""
MysqlColumn
end
attribute 152194 "kredytKlienta"
private explicit_type "Money"
cpp_decl ""
java_decl ""
php_decl ""
python_decl ""
idl_decl ""
mysql_decl ""
MysqlColumn
end
end
classinstance 128770 ""
type class_ref 164226 // ModulPlatnosciGotowkowej
type class_ref 164226 // ManagerPlatnosciGotowkowej
attributes
end
relations
@ -1868,7 +1889,7 @@ format 223
relation 163842 ---> name "wykorzystuje"
a role_name "" multiplicity "1" private
classrelation_ref 173826 // (wykorzystuje)
b multiplicity "*" parent class_ref 164226 // ModulPlatnosciGotowkowej
b multiplicity "*" parent class_ref 164226 // ManagerPlatnosciGotowkowej
end
attribute 144514 "dataRozpoczecia"
@ -1903,16 +1924,17 @@ format 223
mysql_decl ""
MysqlColumn
end
end
sequencediagram 147714 "2-2-wybranieFormyPlatnosci"
sequencediagramsettings end
overlapping_bars size A4
end
sequencediagram 147842 "2-1-wprowadzenieNumeruProduktuNew"
sequencediagramsettings end
overlapping_bars size A3
attribute 152322 "reszta"
private explicit_type "Money"
cpp_decl ""
java_decl ""
php_decl ""
python_decl ""
idl_decl ""
mysql_decl ""
MysqlColumn
end
end
collaborationdiagram 147970 "2-2-wybranieFormyPlatnosci"
@ -1920,7 +1942,7 @@ format 223
size A4
end
class 178434 "ModulPlatnosciKarta"
class 178434 "ManagerPlatnosciKarta"
visibility package
cpp_decl ""
java_decl ""
@ -1930,6 +1952,16 @@ format 223
explicit_switch_type ""
mysql_decl ""
attribute 152066 "cena"
private explicit_type "Money"
cpp_decl ""
java_decl ""
php_decl ""
python_decl ""
idl_decl ""
mysql_decl ""
MysqlColumn
end
end
class 178562 "ManagerPlatnosci"
@ -1956,7 +1988,7 @@ format 223
sequencediagram 148098 "2-3-wprowadzenieMonet"
sequencediagramsettings end
overlapping_bars size A4
overlapping_bars size A2
end
class 178690 "Produkt"
@ -2002,5 +2034,48 @@ format 223
MysqlColumn
end
end
collaborationdiagram 154626 "2-1-wprowadzenieNumeruProduktuNew"
collaborationdiagramsettings end
size A4
end
class 185218 "ManagerSprzedazy"
visibility package
cpp_decl ""
java_decl ""
php_decl ""
python_2_2 python_decl ""
idl_decl ""
explicit_switch_type ""
mysql_decl ""
attribute 151682 "nazwaProduktu"
private explicit_type "String"
cpp_decl ""
java_decl ""
php_decl ""
python_decl ""
idl_decl ""
mysql_decl ""
MysqlColumn
end
attribute 151810 "cena"
private explicit_type "Money"
cpp_decl ""
java_decl ""
php_decl ""
python_decl ""
idl_decl ""
mysql_decl ""
MysqlColumn
end
end
sequencediagram 154754 "2-4-zaprzestanieWprowadzaniaMonet"
sequencediagramsettings end
overlapping_bars size A2
end
end
end