Dodanie wzorcow projektowych i asocjacji

This commit is contained in:
macmro7 2022-01-18 23:27:17 +01:00
parent db6c576ff8
commit 25d3842d20
4 changed files with 254 additions and 56 deletions

View File

@ -2,63 +2,63 @@ format 224
classcanvas 128121 class_ref 128121 // Bankomat
classdiagramsettings member_max_width 0 end
xyzwh 188.746 14.389 2000 166 219
xyzwh 188.346 15.889 2000 166 219
end
classcanvas 128249 class_ref 128249 // Wplata
classdiagramsettings member_max_width 0 end
xyz 600.579 256.414 2000
xyz 600.179 256.814 2000
end
classcanvas 128377 class_ref 128377 // Wyplata
classdiagramsettings member_max_width 0 end
xyz 695.055 140.749 2000
xyz 695.455 140.949 2000
end
classcanvas 128505 class_ref 128505 // Przelew
classdiagramsettings member_max_width 0 end
xyz 526.985 -4.99085 2000
xyz 526.385 -4.19085 2000
end
classcanvas 128633 class_ref 128633 // Sprawdz_stan_konta
classdiagramsettings member_max_width 0 end
xyz 698.46 77.3563 2000
xyz 698.66 77.9563 2000
end
classcanvas 128761 class_ref 128761 // Zakup_kod_prepaid
classdiagramsettings member_max_width 0 end
xyz 708.206 210.712 2000
xyz 708.806 210.912 2000
end
classcanvas 128889 class_ref 128889 // Klient
classdiagramsettings member_max_width 0 end
xyz 110.447 431.8 2000
xyz 110.847 431.4 2000
end
classcanvas 129017 class_ref 129017 // Konto
classdiagramsettings member_max_width 0 end
xyz 17.2255 521.97 2000
xyz 17.0255 521.37 2000
end
classcanvas 129145 class_ref 129145 // Bank
classdiagramsettings member_max_width 0 end
xyz 458.93 22.5361 2000
xyz 458.93 22.1361 2000
end
classcanvas 129273 class_ref 129273 // Serwisant
classdiagramsettings member_max_width 0 end
xyz 346.13 443.702 2000
xyz 346.53 443.702 2000
end
classcanvas 129401 class_ref 129401 // KartaKlienta
classdiagramsettings member_max_width 0 end
xyz 183.07 504.333 2000
xyz 183.47 504.533 2000
end
classcanvas 129529 class_ref 129529 // Wymiana_papieru
classdiagramsettings member_max_width 0 end
xyz 528.487 468.742 2000
xyz 528.287 468.742 2000
end
classcanvas 129657 class_ref 129657 // Wymiana_kaset
classdiagramsettings member_max_width 0 end
xyz 333.125 348.697 2005
xyz 333.725 348.697 2005
end
classcanvas 129785 class_ref 129785 // Kasety_z_gotowka
classdiagramsettings member_max_width 0 end
xyz 187.907 312.766 2000
xyz 187.907 312.366 2000
end
classcanvas 129913 class_ref 129913 // Gotowka
classdiagramsettings member_max_width 0 end
xyz 683.54 561.158 2000
xyz 683.94 561.558 2000
end
classcanvas 130041 class_ref 130041 // Rolki_papieru
classdiagramsettings member_max_width 0 end
@ -66,7 +66,7 @@ classcanvas 130041 class_ref 130041 // Rolki_papieru
end
classcanvas 130169 class_ref 130169 // Karta_serwisanta
classdiagramsettings member_max_width 0 end
xyz 426.024 626.83 2005
xyz 426.024 626.43 2005
end
classcanvas 130297 class_ref 136697 // PIN
classdiagramsettings member_max_width 0 end
@ -74,39 +74,39 @@ classcanvas 130297 class_ref 136697 // PIN
end
classcanvas 130425 class_ref 136825 // Nr_konta
classdiagramsettings member_max_width 0 end
xyz 690.657 607.607 2000
xyz 690.657 607.207 2000
end
classcanvas 130553 class_ref 136953 // Potwierdzenie_Transakcji
classdiagramsettings member_max_width 0 end
xyz 515.02 300.252 2000
xyz 515.02 300.652 2000
end
classcanvas 130681 class_ref 137081 // Weryfikacja_uzytkownika
classdiagramsettings member_max_width 0 end
xyz 322.52 528.793 2000
xyz 322.72 528.793 2000
end
classcanvas 133393 class_ref 134545 // Transakcja
classcanvas 133393 class_ref 134545 // ITransakcja
classdiagramsettings member_max_width 0 end
xyz 609.645 149.748 2000
xyz 609.845 149.948 2000
end
classcanvas 134905 class_ref 143609 // Siec_telefonii
classdiagramsettings member_max_width 0 end
xyz 734.1 318.1 2000
xyz 734.9 318.9 2000
end
classcanvas 136441 class_ref 143737 // Pieniadze
classdiagramsettings member_max_width 0 end
xyz 687.4 506.6 2005
xyz 687 506 2005
end
relationcanvas 128529 relation_ref 134673 // Posiada
from ref 128121 z 2001 to point 405.2 258
from ref 128121 z 2001 to point 405.4 258
line 134161 z 2001 label "Posiada" italic max_width 255 xyz 318 249 2001 to point 263 258
line 128657 z 2001 to ref 129785
no_role_a no_role_b
multiplicity_a_pos 224 295 3000 multiplicity_b_pos 365 224 3000
multiplicity_a_pos 224 295 3000 multiplicity_b_pos 368 225 3000
end
relationcanvas 128785 relation_ref 134801 // Posiada
from ref 128121 z 2001 label "Posiada" italic max_width 255 xyz 392 274 2001 to ref 130041
no_role_a no_role_b
multiplicity_a_pos 453 351 3000 multiplicity_b_pos 341 224 3000
multiplicity_a_pos 452 351 3000 multiplicity_b_pos 338 222 3000
end
relationcanvas 129297 relation_ref 135313 // Dokonuje transakcji
decenter_end 418
@ -117,7 +117,7 @@ relationcanvas 129297 relation_ref 135313 // Dokonuje transakcji
end
relationcanvas 129425 relation_ref 135441 // < Posiada
decenter_end 418
from ref 128889 z 2001 label "< Posiada" italic max_width 255 xyz 48 424 2001 to point 35.2 433
from ref 128889 z 2001 label "< Posiada" italic max_width 255 xyz 48 424 2001 to point 35.4 433
line 129681 z 2001 to ref 129017
no_role_a no_role_b
multiplicity_a_pos 38 503 3000 multiplicity_b_pos 94 454 3000
@ -125,13 +125,13 @@ end
relationcanvas 130809 relation_ref 128121 // Posiada >
decenter_begin 513
decenter_end 421
from ref 129145 z 2001 label "Posiada >" italic max_width 255 xyz 352.5 67 2001 to ref 128121
from ref 129145 z 2001 label "Posiada >" italic max_width 255 xyz 352 66 2001 to ref 128121
no_role_a no_role_b
multiplicity_a_pos 365 110 3000 multiplicity_b_pos 439 48 3000
multiplicity_a_pos 369 102 3000 multiplicity_b_pos 438 39 3000
end
relationcanvas 132217 relation_ref 128505 // Wydaje
from ref 133393 z 2001 to point 630.2 186.8
line 132985 z 2001 label "Wydaje" italic max_width 255 xyz 589 201 2001 to point 580.2 243
from ref 133393 z 2001 to point 630.4 186.6
line 132985 z 2001 label "Wydaje" italic max_width 255 xyz 589 201 2001 to point 580.4 243
line 132345 z 2001 to point 583 243
line 132473 z 2001 to ref 130553
no_role_a no_role_b
@ -150,9 +150,9 @@ relationcanvas 133241 relation_ref 128761 // Wykonuje
multiplicity_a_pos 364 391 3000 multiplicity_b_pos 360 426 3000
end
relationcanvas 133521 relation_ref 136593 // Realizuje
from ref 128121 z 2001 label "Realizuje" italic max_width 255 xyz 445 127 2001 to ref 133393
from ref 128121 z 2001 label "Realizuje" italic max_width 255 xyz 445 126 2001 to ref 133393
no_role_a no_role_b
multiplicity_a_pos 592 178 3000 multiplicity_b_pos 365 143 3000
multiplicity_a_pos 589 174 3000 multiplicity_b_pos 368 138 3000
end
relationcanvas 133625 relation_ref 128889 //
from ref 129529 z 2001 to ref 130041
@ -160,13 +160,13 @@ relationcanvas 133625 relation_ref 128889 //
multiplicity_a_pos 500 411 3000 multiplicity_b_pos 545 451 3000
end
relationcanvas 133649 relation_ref 136721 // Weryfikuje
from ref 128121 z 2001 to point 128 178
from ref 128121 z 2001 to point 128 179
line 133905 z 2001 label "Weryfikuje" italic max_width 255 xyz 106 289 2001 to ref 128889
no_role_a no_role_b
multiplicity_a_pos 115 411 3000 multiplicity_b_pos 170 157 3000
multiplicity_a_pos 115 411 3000 multiplicity_b_pos 168 152 3000
end
relationcanvas 134009 relation_ref 129145 //
from ref 129657 z 2006 to point 376.8 314.6
from ref 129657 z 2006 to point 376.6 314.2
line 134137 z 2006 to ref 129785
no_role_a no_role_b
multiplicity_a_pos 319 332 3000 multiplicity_b_pos 370 336 3000
@ -177,7 +177,7 @@ relationcanvas 135033 relation_ref 129913 // Zakup do
no_multiplicity_a no_multiplicity_b
end
relationcanvas 135929 relation_ref 130425 // Weryfikuje sie
from ref 129401 z 2001 label "Weryfikuje sie" italic max_width 255 xyz 274.5 526 2001 to ref 130681
from ref 129401 z 2001 label "Weryfikuje sie" italic max_width 255 xyz 274 526 2001 to ref 130681
no_role_a no_role_b
multiplicity_a_pos 306 548 3000 multiplicity_b_pos 288 546 3000
end

View File

@ -4,28 +4,74 @@ classcanvas 128155 class_ref 128121 // Bankomat
classdiagramsettings member_max_width 0 end
xyz 27 54.2 2010
end
note 128401 "Strategy
Podobne, powazane klasy, z roznymi algorytmami"
xyzwh 405 196 2000 135 85
classcanvas 129051 class_ref 129401 // KartaKlienta
classdiagramsettings member_max_width 0 end
xyz 223.2 24.3 2000
xyz 714.2 5.3 2000
end
classcanvas 129179 class_ref 128027 // CzytnikKart
classdiagramsettings member_max_width 0 end
xyzwh 395.3 31.1 2000 167 75
xyzwh 421.3 20.1 2000 167 75
end
classcanvas 129435 class_ref 134545 // Transakcja
classcanvas 129435 class_ref 134545 // ITransakcja
classdiagramsettings member_max_width 0 end
xyz 195.4 222.3 2000
xyz 262.4 218.3 2000
end
classcanvas 129563 class_ref 128249 // Wplata
classdiagramsettings member_max_width 0 end
xyz 398 131 2000
xyz 121 363 2000
end
classcanvas 129691 class_ref 128377 // Wyplata
classdiagramsettings member_max_width 0 end
xyz 403 204 2000
xyz 421 361 2000
end
classcanvas 129819 class_ref 128633 // Sprawdz_stan_konta
classdiagramsettings member_max_width 0 end
xyz 409 288 2000
xyz 299 397 2000
end
classcanvas 130833 class_ref 147729 // CzytnikFactory
classdiagramsettings member_max_width 0 end
xyz 189 32 2000
end
note 132369 "Factory
"
xyzwh 228 71 2005 73 39
relationcanvas 128017 relation_ref 143249 // <dependency>
from ref 129563 z 2001 to ref 129435
no_role_a no_role_b
no_multiplicity_a no_multiplicity_b
end
relationcanvas 128145 relation_ref 143377 // <dependency>
decenter_begin 282
from ref 129819 z 2001 to ref 129435
no_role_a no_role_b
no_multiplicity_a no_multiplicity_b
end
relationcanvas 128273 relation_ref 143505 // <dependency>
from ref 129691 z 2001 to ref 129435
no_role_a no_role_b
no_multiplicity_a no_multiplicity_b
end
relationcanvas 130449 relation_ref 144529 // czyta
from ref 129179 z 2001 label "czyta" italic max_width 255 xyz 638 30 3000 to ref 129051
no_role_a no_role_b
multiplicity_a_pos 699 40 3000 multiplicity_b_pos 597 52 3000
end
relationcanvas 131857 relation_ref 145169 // <unidirectional association>
from ref 128155 z 2011 to ref 130833
no_role_a no_role_b
multiplicity_a_pos 185 65 3000 multiplicity_b_pos 151 103 3000
end
relationcanvas 131985 relation_ref 145297 // tworzy
from ref 130833 z 2001 label "tworzy" italic max_width 255 xyz 333 41 3000 to ref 129179
no_role_a no_role_b
no_multiplicity_a no_multiplicity_b
end
relationcanvas 132113 relation_ref 145425 // tworzy
from ref 128155 z 2011 label "tworzy" italic max_width 255 xyz 186 181.5 3000 to ref 129435
no_role_a no_role_b
multiplicity_a_pos 247 228 3000 multiplicity_b_pos 151 176 3000
end
end

View File

@ -1,8 +1,15 @@
window_sizes 1200 623 300 894 451 120
window_sizes 1200 597 300 894 425 120
cleanlooks_style
diagrams
active classdiagram_ref 135579 // design-model
894 425 100 A4 0 0
classdiagram_ref 128121 // domain-model
120 86 70 A4 6 0
end
show_stereotypes
selected sequencediagram_ref 135441 // 4-3-sprawdzStanKonta
selected classdiagram_ref 128121 // domain-model
open
classview_ref 128121 // domain
classview_ref 128027 // design
end
end

View File

@ -1,7 +1,7 @@
format 224
"models"
revision 16
modified_by 35 "s444502"
revision 17
modified_by 17 "s444448"
@ -276,7 +276,98 @@ format 224
relation 134683 --->
a role_name "" private
classrelation_ref 134683 // <unidirectional association>
b parent class_ref 134545 // Transakcja
b parent class_ref 134545 // ITransakcja
end
classrelation 145681 // <generalisation>
relation 143633 ---|>
a public
classrelation_ref 145681 // <generalisation>
b parent class_ref 128027 // CzytnikKart
end
classrelation 145809 // <generalisation>
relation 143761 ---|>
a public
classrelation_ref 145809 // <generalisation>
b parent class_ref 134545 // ITransakcja
end
classrelation 145937 // <generalisation>
relation 143889 ---|>
a public
classrelation_ref 145937 // <generalisation>
b parent class_ref 129401 // KartaKlienta
end
classrelation 146065 // <directional composition>
relation 144017 *-->
a role_name "" private
classrelation_ref 146065 // <directional composition>
b parent class_ref 128027 // CzytnikKart
end
classrelation 146193 // <unidirectional association>
relation 144145 --->
a role_name "" private
classrelation_ref 146193 // <unidirectional association>
b parent class_ref 129401 // KartaKlienta
end
classrelation 146321 // <unidirectional association>
relation 144273 --->
a role_name "" private
classrelation_ref 146321 // <unidirectional association>
b parent class_ref 128027 // CzytnikKart
end
classrelation 146449 // <unidirectional association>
relation 144401 --->
stereotype "tworzy"
a role_name "" multiplicity "1" private
classrelation_ref 146449 // <unidirectional association>
b multiplicity "1" parent class_ref 128027 // CzytnikKart
end
classrelation 146705 // <unidirectional association>
relation 144657 --->
a role_name "" private
classrelation_ref 146705 // <unidirectional association>
b parent class_ref 134545 // ITransakcja
end
classrelation 146833 // <unidirectional association>
relation 144785 --->
a role_name "" private
classrelation_ref 146833 // <unidirectional association>
b parent class_ref 128121 // Bankomat
end
classrelation 146961 // <unidirectional association>
relation 144913 --->
stereotype "tworzy"
a role_name "" multiplicity "1" init_value "tworzy" private
comment "tworzy
"
constraint "tworzy"
classrelation_ref 146961 // <unidirectional association>
b multiplicity "1" parent class_ref 147729 // CzytnikFactory
association_explicit_type "tworzy"
end
classrelation 147217 // <unidirectional association>
relation 145169 --->
a role_name "" multiplicity "1" private
classrelation_ref 147217 // <unidirectional association>
b multiplicity "1" parent class_ref 147729 // CzytnikFactory
end
classrelation 147473 // (tworzy)
relation 145425 ---> name "tworzy"
a role_name "" multiplicity "*" private
classrelation_ref 147473 // (tworzy)
b multiplicity "1" parent class_ref 134545 // ITransakcja
end
end
@ -305,7 +396,14 @@ format 224
relation 130937 ---|>
a public
classrelation_ref 133113 // <generalisation>
b parent class_ref 134545 // Transakcja
b parent class_ref 134545 // ITransakcja
end
classrelation 145297 // <dependency>
relation 143249 -_->
a public
classrelation_ref 145297 // <dependency>
b parent class_ref 134545 // ITransakcja
end
end
@ -345,7 +443,14 @@ format 224
relation 131193 ---|>
a public
classrelation_ref 133369 // <generalisation>
b parent class_ref 134545 // Transakcja
b parent class_ref 134545 // ITransakcja
end
classrelation 145553 // <dependency>
relation 143505 -_->
a public
classrelation_ref 145553 // <dependency>
b parent class_ref 134545 // ITransakcja
end
end
@ -385,7 +490,7 @@ format 224
relation 131449 ---|>
a public
classrelation_ref 133625 // <generalisation>
b parent class_ref 134545 // Transakcja
b parent class_ref 134545 // ITransakcja
end
attribute 130425 "nrKontaZKtoregoPrzelewamy:Nr_konta"
@ -445,7 +550,14 @@ format 224
relation 131321 ---|>
a public
classrelation_ref 133497 // <generalisation>
b parent class_ref 134545 // Transakcja
b parent class_ref 134545 // ITransakcja
end
classrelation 145425 // <dependency>
relation 143377 -_->
a public
classrelation_ref 145425 // <dependency>
b parent class_ref 134545 // ITransakcja
end
end
@ -482,7 +594,7 @@ format 224
relation 131065 ---|>
a public
classrelation_ref 133241 // <generalisation>
b parent class_ref 134545 // Transakcja
b parent class_ref 134545 // ITransakcja
end
end
@ -1029,7 +1141,7 @@ format 224
end
end
class 134545 "Transakcja"
class 134545 "ITransakcja"
visibility package
cpp_decl ""
java_decl ""
@ -1238,7 +1350,7 @@ format 224
end
classinstance 135057 ""
type class_ref 134545 // Transakcja
type class_ref 134545 // ITransakcja
attributes
end
relations
@ -1290,6 +1402,13 @@ format 224
end
classrelation 146577 // (czyta)
relation 144529 ---> name "czyta"
a role_name "" multiplicity "*" private
classrelation_ref 146577 // (czyta)
b multiplicity "1" parent class_ref 129401 // KartaKlienta
end
end
@ -1494,5 +1613,31 @@ format 224
sequencediagramsettings end
overlapping_bars size A4
end
class 147729 "CzytnikFactory"
visibility package
cpp_decl ""
java_decl ""
php_decl ""
python_2_2 python_decl ""
idl_decl ""
explicit_switch_type ""
mysql_decl ""
classrelation 147089 // <unidirectional association>
relation 145041 --->
stereotype "tworzy"
a role_name "" private
classrelation_ref 147089 // <unidirectional association>
b parent class_ref 134545 // ITransakcja
end
classrelation 147345 // (tworzy)
relation 145297 ---> name "tworzy"
a role_name "" private
classrelation_ref 147345 // (tworzy)
b parent class_ref 128027 // CzytnikKart
end
end
end
end