projektowy diagram klas uc2

This commit is contained in:
s444417 2021-01-31 20:17:42 +01:00
parent 96dc28c2ea
commit b469908684
7 changed files with 287 additions and 160 deletions

View File

@ -1,36 +1,83 @@
format 223
format 224
classcanvas 128386 class_ref 164994 // Automat
classcanvas 128386 class_ref 164994 // ZakupProduktu
classdiagramsettings member_max_width 0 end
xyz 48 145 2000
xyz 10 53 2000
end
classcanvas 128514 class_ref 165122 // ManagerTransakcji
classcanvas 128514 class_ref 165122 // ManagerProduktow
classdiagramsettings member_max_width 0 end
xyz 221 143 2000
xyz 264 47 2000
end
classcanvas 129282 class_ref 164226 // ModulPlatnosciGotowkowej
classcanvas 130434 class_ref 178562 // ManagerPlatnosci
classdiagramsettings member_max_width 0 end
xyz 563 338 2000
xyz 574 47 2000
end
classcanvas 129538 class_ref 171906 // Sprzedaz
classcanvas 130562 class_ref 178434 // ManagerPlatnosciKarta
classdiagramsettings member_max_width 0 end
xyz 630 141 2005
xyz 996 43 2000
end
relationcanvas 128898 relation_ref 163458 // uzywa
decenter_end 510
from ref 128386 z 2001 label "uzywa" italic max_width 255 xyz 147 147.5 3000 to ref 128514
classcanvas 130690 class_ref 164226 // ManagerPlatnosciGotowkowej
classdiagramsettings member_max_width 0 end
xyz 1009 105 2000
end
classcanvas 130818 class_ref 185218 // ManagerSprzedazy
classdiagramsettings member_max_width 0 end
xyz 427 286 2000
end
classcanvas 130946 class_ref 171906 // Sprzedaz
classdiagramsettings member_max_width 0 end
xyz 431 547 2005
end
relationcanvas 128898 relation_ref 163458 // wykorzytuje
decenter_end 509
from ref 128386 z 2001 label "wykorzytuje" italic max_width 255 xyz 157 56.5 2001 to ref 128514
no_role_a no_role_b
multiplicity_a_pos 202 172 3000 multiplicity_b_pos 126 173 3000
multiplicity_a_pos 245 84 3000 multiplicity_b_pos 138 82 3000
end
relationcanvas 129666 relation_ref 163714 // tworzy
decenter_begin 558
from ref 128514 z 2006 label "tworzy" italic max_width 255 xyz 476.5 146.5 3000 to ref 129538
role_a_pos 558 140 3000 no_role_b
multiplicity_a_pos 613 170 3000 multiplicity_b_pos 377 174 3000
end
relationcanvas 130306 relation_ref 163842 // wykorzystuje
from ref 129538 z 2006 label "wykorzystuje" italic max_width 255 xyz 625 243 3000 to ref 129282
relationcanvas 131330 relation_ref 170498 // aktywuje
from ref 128514 z 2001 label "aktywuje" italic max_width 255 xyz 465 58 3000 to ref 130434
no_role_a no_role_b
multiplicity_a_pos 649 315 3000 multiplicity_b_pos 652 191 3000
multiplicity_a_pos 555 83 3000 multiplicity_b_pos 424 83 3000
end
relationcanvas 131586 relation_ref 170754 // wykorzystuje
decenter_begin 228
decenter_end 287
from ref 130434 z 2001 label "wykorzystuje" italic max_width 255 xyz 783 33.5 3000 to ref 130562
no_role_a no_role_b
multiplicity_a_pos 977 63 3000 multiplicity_b_pos 722 67 3000
end
relationcanvas 131714 relation_ref 170882 // wykorzystuje
decenter_begin 935
decenter_end 577
from ref 130434 z 2001 label "wykorzystuje" italic max_width 255 xyz 817.5 107.5 3000 to ref 130690
no_role_a no_role_b
multiplicity_a_pos 990 158 3000 multiplicity_b_pos 722 109 3000
end
relationcanvas 132610 relation_ref 171522 // przesylaDane
from ref 130434 z 2001 label "przesylaDane" italic max_width 255 xyz 535 177 3000 to ref 130818
no_role_a no_role_b
multiplicity_a_pos 520 263 3000 multiplicity_b_pos 605 111 3000
end
relationcanvas 132738 relation_ref 171650 // przesylaDane
from ref 128514 z 2001 label "przesylaDane" italic max_width 255 xyz 362 177 3000 to ref 130818
no_role_a no_role_b
multiplicity_a_pos 438 263 3000 multiplicity_b_pos 341 111 3000
end
relationcanvas 132866 relation_ref 171778 // tworzy
from ref 130818 z 2006 label "tworzy" italic max_width 255 xyz 475 467 3000 to ref 130946
no_role_a no_role_b
multiplicity_a_pos 479 524 3000 multiplicity_b_pos 480 430 3000
end
relationcanvas 132994 relation_ref 171906 // <realization>
decenter_begin 767
from ref 130562 z 2001 to ref 130434
no_role_a no_role_b
no_multiplicity_a no_multiplicity_b
end
relationcanvas 133122 relation_ref 172034 // <realization>
decenter_end 776
from ref 130690 z 2001 to ref 130434
no_role_a no_role_b
no_multiplicity_a no_multiplicity_b
end
end

View File

@ -1,8 +1,5 @@
format 223
format 224
classinstancecanvas 128002 classinstance_ref 129154 //
xyz 40 102 2000
end
classinstancecanvas 128130 classinstance_ref 128514 // KontrolerAutomatu
xyz 219 106 2000
end
@ -12,11 +9,8 @@ classinstance 128898 class_ref 178434 // ManagerPlatnosciKarta
name "" xyz 82 368 2000
classinstance 129282 class_ref 178562 // ManagerPlatnosci
name "" xyz 272 212 2006
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
classinstance 130946 class_ref 191746 // Klient
name "" xyz 42 101 2000
linkcanvas 129410
from ref 128898 z 2007 to ref 129282
dirscanvas 130690 z 1000 linkcanvas_ref 129410
@ -32,20 +26,24 @@ linkcanvas 130434
dirscanvas 130562 z 1000 linkcanvas_ref 130434
forward_label "2 ustawFormePlatnosci(formaPlatnosci:Enum)" xyz 353 162 3000
linkcanvas 131074
from ref 130946 z 2001 to ref 128130
dirscanvas 131202 z 1000 linkcanvas_ref 131074
forward_label "1 wyborFormyPlatnosci()" xyz 71 87 3000
msgs
explicitmsg "wyborFormyPatnosci"
forward ranks 1 "1" dirscanvas_ref 130306
msgs
explicitmsg "wyborFormyPlatnosci()"
forward ranks 1 "1" dirscanvas_ref 131202
no_msg
explicitmsg "ustawFormePlatnosci(formaPlatnosci:Enum)"
forward ranks 2 "1.1" dirscanvas_ref 130562
forward ranks 2 "2" dirscanvas_ref 130562
msgs
explicitmsg "aktywuj()"
backward ranks 3 "1.1.1" dirscanvas_ref 130690
backward ranks 3 "2.1" dirscanvas_ref 130690
no_msg
explicitmsg "aktywuj()"
forward ranks 4 "1.1.2" dirscanvas_ref 130818
forward ranks 4 "2.2" dirscanvas_ref 130818
no_msg
msgsend
msgsend
msgsend
end

View File

@ -1,8 +1,5 @@
format 223
format 224
classinstancecanvas 128002 classinstance_ref 129154 //
xyz 71 109 2000
end
classinstancecanvas 128130 classinstance_ref 128514 // KontrolerAutomatu
xyz 317 117 2000
end
@ -12,12 +9,9 @@ classinstance 128386 class_ref 178562 // ManagerPlatnosci
name "" xyz 510 405 2000
classinstance 128514 class_ref 185218 // ManagerSprzedazy
name "" xyz 217 405 2000
linkcanvas 128642
from ref 128002 z 2001 to ref 128130
dirscanvas 129410 z 1000 linkcanvas_ref 128642
forward_label "1 wybranyProdukt(produktId:Int)" xyz 114 97 3000
linkcanvas 128770 decenter_begin 615 decenter_end 686
classinstance 130050 class_ref 191746 // Klient
name "" xyz 68 113 2000
linkcanvas 128770 decenter_begin 615 decenter_end 685
from ref 128130 z 2001 to ref 128258
dirscanvas 129538 z 1000 linkcanvas_ref 128770
@ -37,23 +31,27 @@ linkcanvas 129282
dirscanvas 129794 z 1000 linkcanvas_ref 129282
forward_label "5 aktywuj(cena:Money)" xyz 455 313 3000
linkcanvas 130178
from ref 130050 z 2001 to ref 128130
dirscanvas 130306 z 1000 linkcanvas_ref 130178
forward_label "1 wybranyProdukt(produktId:Int)" xyz 112 99 3000
msgs
explicitmsg "wybranyProdukt(produktId:Int)"
forward ranks 1 "1" dirscanvas_ref 129410
msgs
forward ranks 1 "1" dirscanvas_ref 130306
no_msg
explicitmsg "wybranyProdukt(produktId:Int)"
forward ranks 2 "1.1" dirscanvas_ref 129538
forward ranks 2 "2" dirscanvas_ref 129538
msgs
explicitmsg "cena:Money"
forward ranks 3 "1.1.1" dirscanvas_ref 129666
forward ranks 3 "2.1" dirscanvas_ref 129666
no_msg
explicitmsg "ustawProdukt(nazwa:String, cena:Money)"
forward ranks 4 "1.1.2" dirscanvas_ref 129922
forward ranks 4 "2.2" dirscanvas_ref 129922
no_msg
explicitmsg "aktywuj(cena:Money)"
forward ranks 5 "1.1.3" dirscanvas_ref 129794
forward ranks 5 "2.3" dirscanvas_ref 129794
no_msg
msgsend
msgsend
msgsend
end

View File

@ -1,8 +1,5 @@
format 223
format 224
classinstancecanvas 128002 classinstance_ref 129154 //
xyz 41 4 2000 life_line_z 2000
end
classinstancecanvas 128130 classinstance_ref 128514 // KontrolerAutomatu
xyz 111 9 2000 life_line_z 2000
end
@ -14,16 +11,18 @@ classinstance 128514 class_ref 185218 // ManagerSprzedazy
name "" xyz 997 27 2000 life_line_z 2000
classinstance 128642 class_ref 171906 // Sprzedaz
name "" xyz 1246 22 2000 life_line_z 2000
durationcanvas 128770 classinstance_ref 128002 // :Klient
xyzwh 57 99 2010 11 25
end
classinstance 130562 class_ref 191746 // Klient
name "" xyz 19 4 2000 life_line_z 2000
durationcanvas 128898 classinstance_ref 128130 // KontrolerAutomatu:ZakupProduktu
xyzwh 222 100 2010 11 158
overlappingdurationcanvas 130818
xyzwh 228 126 2020 11 25
end
end
durationcanvas 129154 classinstance_ref 128258 // :ManagerPlatnosciGotowkowej
xyzwh 489 127 2010 11 168
overlappingdurationcanvas 129410
xyzwh 495 177 2020 11 25
xyzwh 495 185 2020 11 25
end
end
durationcanvas 129794 classinstance_ref 128386 // :ManagerPlatnosci
@ -35,26 +34,22 @@ end
durationcanvas 130306 classinstance_ref 128642 // :Sprzedaz
xyzwh 1280 401 2010 11 44
end
msg 129026 synchronous
from durationcanvas_ref 128770
to durationcanvas_ref 128898
yz 100 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 67 79
durationcanvas 130690 classinstance_ref 130562 // :Klient
xyzwh 35 125 2010 11 40
end
msg 129282 synchronous
from durationcanvas_ref 128898
to durationcanvas_ref 129154
yz 138 2020 explicitmsg "wprowadzonaKwota()"
yz 159 2020 explicitmsg "wprowadzonaKwota()"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
args "wartosc:Money"
label_xy 245 116
label_xy 245 137
reflexivemsg 129538 synchronous
to durationcanvas_ref 129410
yz 177 2025 explicitmsg "obliczReszte()"
yz 185 2025 explicitmsg "obliczReszte()"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
args "cena:Money, wprowadzonaKwota:Money"
label_xy 504 161
label_xy 504 169
msg 129666 return
from durationcanvas_ref 129154
to durationcanvas_ref 128898
@ -88,4 +83,11 @@ nazwaMetodyTransakcji:String,
wprowadzonaKwota:Money,
reszta:Money"
label_xy 1166 362
msg 130946 synchronous
from durationcanvas_ref 130690
to durationcanvas_ref 130818
yz 126 2025 explicitmsg "wprowadzonaKwota()"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
args "wartosc:Money"
label_xy 17 109
end

View File

@ -1,8 +1,5 @@
format 223
format 224
classinstancecanvas 128002 classinstance_ref 129154 //
xyz 41 4 2000 life_line_z 2000
end
classinstancecanvas 128130 classinstance_ref 128514 // KontrolerAutomatu
xyz 111 9 2000 life_line_z 2000
end
@ -14,11 +11,13 @@ classinstance 128514 class_ref 185218 // ManagerSprzedazy
name "" xyz 997 27 2000 life_line_z 2000
classinstance 128642 class_ref 171906 // Sprzedaz
name "" xyz 1246 22 2000 life_line_z 2000
durationcanvas 128770 classinstance_ref 128002 // :Klient
xyzwh 57 99 2010 11 25
end
classinstance 130562 class_ref 191746 // Klient
name "" xyz 27 14 2000 life_line_z 2000
durationcanvas 128898 classinstance_ref 128130 // KontrolerAutomatu:ZakupProduktu
xyzwh 222 100 2010 11 158
overlappingdurationcanvas 130818
xyzwh 228 110 2020 11 25
end
end
durationcanvas 129154 classinstance_ref 128258 // :ManagerPlatnosciGotowkowej
xyzwh 489 127 2010 11 168
@ -35,19 +34,16 @@ end
durationcanvas 130306 classinstance_ref 128642 // :Sprzedaz
xyzwh 1280 401 2010 11 44
end
msg 129026 synchronous
from durationcanvas_ref 128770
to durationcanvas_ref 128898
yz 100 2015 explicitmsg "zaprzestanieWprowadzaniaMonet()"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
label_xy 67 79
durationcanvas 130690 classinstance_ref 130562 // :Klient
xyzwh 43 110 2010 11 40
end
msg 129282 synchronous
from durationcanvas_ref 128898
to durationcanvas_ref 129154
yz 138 2020 explicitmsg "wprowadzonaKwota()"
yz 145 2020 explicitmsg "wprowadzonaKwota()"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
args "wartosc:Money"
label_xy 245 116
label_xy 245 123
reflexivemsg 129538 synchronous
to durationcanvas_ref 129410
yz 177 2025 explicitmsg "zwrocWprowadzone()"
@ -86,5 +82,11 @@ cena:Money,
nazwaMetodyTransakcji:String,
wprowadzonaKwota:Money,
zwroconaKwota:Money"
label_xy 1166 362
label_xy 1182 393
msg 130946 synchronous
from durationcanvas_ref 130690
to durationcanvas_ref 130818
yz 110 2025 explicitmsg "zaprzestanieWprowadzaniaMonet()"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
label_xy 45 85
end

View File

@ -1,26 +1,20 @@
window_sizes 1920 1017 410 1505 890 74
window_sizes 1694 912 450 1239 755 104
diagrams
sequencediagram_ref 154882 // 2-4-zaprzestanieWprowadzaniaMonet
1227 716 100 A2 0 0
classdiagram_ref 141186 // design-model
991 604 100 A2 0 0
sequencediagram_ref 154754 // 2-3-wprowadzanieMonet
114 106 100 A2 0 0
active collaborationdiagram_ref 154626 // 2-1-wprowadzenieNumeruProduktu
861 712 100 A4 0 0
1239 755 100 A4 0 0
collaborationdiagram_ref 147970 // 2-2-wybranieFormyPlatnosci
114 106 100 A4 0 0
end
show_stereotypes
selected collaborationdiagram_ref 154626 // 2-1-wprowadzenieNumeruProduktu
open
classinstance_ref 129154 //
classinstance_ref 128514 // KontrolerAutomatu
sequencediagram_ref 128013 // 7-1-opcjaDodajProdukty
sequencediagram_ref 128141 // 7-2-dodanieProduktow
sequencediagram_ref 128269 // 7-3-zamkniecie
classinstance_ref 128141 // Ekran_dotykowy
sequencediagram_ref 134572 // 8-1 podlaczenieLaptopaDoAutomatu
sequencediagram_ref 134828 // 8-3 rozpoczecieNaprawy
sequencediagram_ref 128044 // 8-4 zamkniecieAutomatu
collaborationdiagram_ref 147970 // 2-2-wybranieFormyPlatnosci
sequencediagram_ref 154754 // 2-3-wprowadzanieMonet
sequencediagram_ref 154882 // 2-4-zaprzestanieWprowadzaniaMonet
classinstance_ref 128642 //
class_ref 178434 // ManagerPlatnosciKarta
classinstance_ref 135682 //
classview_ref 128002 // design
end
end

View File

@ -1,7 +1,7 @@
format 224
"models"
revision 22
modified_by 10 "Miko³aj"
revision 25
modified_by 2 "48516"
@ -1677,15 +1677,6 @@ format 224
activitydiagramsettings
end
classinstance 129154 ""
stereotype "actor"
type class_ref 128142 // Klient
attributes
end
relations
end
end
class 164994 "ZakupProduktu"
visibility package
cpp_decl ""
@ -1696,11 +1687,11 @@ format 224
explicit_switch_type ""
mysql_decl ""
classrelation 173186 // (uzywa)
relation 163458 ---> name "uzywa"
classrelation 173186 // (wykorzytuje)
relation 163458 ---> name "wykorzytuje"
a role_name "" multiplicity "1" private
classrelation_ref 173186 // (uzywa)
b multiplicity "1" parent class_ref 165122 // ManagerProduktow
classrelation_ref 173186 // (wykorzytuje)
b multiplicity "*" parent class_ref 165122 // ManagerProduktow
end
classrelation 173442 // <generalisation>
@ -1781,7 +1772,7 @@ format 224
classdiagram 141186 "design-model"
classdiagramsettings draw_all_relations no member_max_width 0 end
size A4
size A2
end
class 128044 "Serwisant"
@ -1856,27 +1847,27 @@ format 224
end
sequencediagram 134572 "8-1 podlaczenieLaptopaDoAutomatu"
sequencediagram 134572 "8-1-podlaczenieLaptopaDoAutomatu"
sequencediagramsettings end
overlapping_bars size A4
end
sequencediagram 134700 "8-2 wlaczenieNarzedziDiagnostycznych"
sequencediagram 134700 "8-2-wlaczenieNarzedziDiagnostycznych"
sequencediagramsettings end
overlapping_bars size A4
end
sequencediagram 134828 "8-3 rozpoczecieNaprawy"
sequencediagram 134828 "8-3-rozpoczecieNaprawy"
sequencediagramsettings end
overlapping_bars size A4
end
sequencediagram 128044 "8-4 zamkniecieAutomatu"
sequencediagram 128044 "8-4-zamkniecieAutomatu"
sequencediagramsettings end
overlapping_bars size A4
end
sequencediagram 134956 "8-5 restartAutomatu"
sequencediagram 134956 "8-5-restartAutomatu"
sequencediagramsettings end
overlapping_bars size A4
end
@ -1925,12 +1916,16 @@ format 224
overlapping_bars size A2
end
classinstance 128642 ""
type class_ref 165122 // ManagerProduktow
attributes
end
relations
end
class 191746 "Klient"
visibility package stereotype "actor"
cpp_decl ""
java_decl ""
php_decl ""
python_2_2 python_decl ""
idl_decl ""
explicit_switch_type ""
mysql_decl ""
end
class 165122 "ManagerProduktow"
@ -1960,6 +1955,28 @@ format 224
mysql_decl ""
MysqlColumn
end
classrelation 180354 // <association>
relation 170370 ----
a role_name "" private
classrelation_ref 180354 // <association>
b role_name "" private
classrelation_ref 180482 // <association>
end
classrelation 180610 // (aktywuje)
relation 170498 ---> name "aktywuje"
a role_name "" multiplicity "1" private
classrelation_ref 180610 // (aktywuje)
b multiplicity "1" parent class_ref 178562 // ManagerPlatnosci
end
classrelation 181890 // (przesylaDane)
relation 171650 ---> name "przesylaDane"
a role_name "" multiplicity "1" private
classrelation_ref 181890 // (przesylaDane)
b multiplicity "1" parent class_ref 185218 // ManagerSprzedazy
end
end
class 178562 "ManagerPlatnosci"
@ -1982,6 +1999,39 @@ format 224
mysql_decl ""
MysqlColumn
end
classrelation 180482 // <association>
relation_ref 170370 // <association>
end
classrelation 180738 // <association>
relation 170626 ----
a role_name "" private
classrelation_ref 180738 // <association>
b role_name "" private
classrelation_ref 180866 // <association>
end
classrelation 180994 // (wykorzystuje)
relation 170754 ---> name "wykorzystuje"
a role_name "" multiplicity "1" private
classrelation_ref 180994 // (wykorzystuje)
b multiplicity "1" parent class_ref 178434 // ManagerPlatnosciKarta
end
classrelation 181122 // (wykorzystuje)
relation 170882 ---> name "wykorzystuje"
a role_name "" multiplicity "1" private
classrelation_ref 181122 // (wykorzystuje)
b multiplicity "1" parent class_ref 164226 // ManagerPlatnosciGotowkowej
end
classrelation 181762 // (przesylaDane)
relation 171522 ---> name "przesylaDane"
a role_name "" multiplicity "1" private
classrelation_ref 181762 // (przesylaDane)
b multiplicity "1" parent class_ref 185218 // ManagerSprzedazy
end
end
class 178434 "ManagerPlatnosciKarta"
@ -1994,6 +2044,30 @@ format 224
explicit_switch_type ""
mysql_decl ""
classrelation 180866 // <association>
relation_ref 170626 // <association>
end
classrelation 181250 // <unidirectional association>
relation 171010 --->
a role_name "" private
classrelation_ref 181250 // <unidirectional association>
b parent class_ref 185218 // ManagerSprzedazy
end
classrelation 181506 // (odpowiada)
relation 171266 ---> name "odpowiada"
a role_name "" multiplicity "1" private
classrelation_ref 181506 // (odpowiada)
b multiplicity "1" parent class_ref 178562 // ManagerPlatnosci
end
classrelation 182146 // <realization>
relation 171906 -_-|>
a public
classrelation_ref 182146 // <realization>
b parent class_ref 178562 // ManagerPlatnosci
end
end
class 164226 "ManagerPlatnosciGotowkowej"
@ -2027,13 +2101,26 @@ format 224
mysql_decl ""
MysqlColumn
end
classrelation 181378 // <unidirectional association>
relation 171138 --->
a role_name "" private
classrelation_ref 181378 // <unidirectional association>
b parent class_ref 185218 // ManagerSprzedazy
end
classinstance 128770 ""
type class_ref 164226 // ManagerPlatnosciGotowkowej
attributes
classrelation 181634 // (odpowiada)
relation 171394 ---> name "odpowiada"
a role_name "" multiplicity "1" private
classrelation_ref 181634 // (odpowiada)
b multiplicity "1" parent class_ref 178562 // ManagerPlatnosci
end
relations
classrelation 182274 // <realization>
relation 172034 -_-|>
a public
classrelation_ref 182274 // <realization>
b parent class_ref 178562 // ManagerPlatnosci
end
end
@ -2101,13 +2188,12 @@ format 224
mysql_decl ""
MysqlColumn
end
end
classinstance 135682 ""
type class_ref 128526 // Sprzedaz
attributes
end
relations
classrelation 182018 // (tworzy)
relation 171778 ---> name "tworzy"
a role_name "" multiplicity "*" private
classrelation_ref 182018 // (tworzy)
b multiplicity "1" parent class_ref 171906 // Sprzedaz
end
end