wzorce projektowe

This commit is contained in:
shaaqu 2021-02-10 08:58:49 +01:00
parent f79cf55d9e
commit edffc0aadd
3 changed files with 50 additions and 125 deletions

View File

@ -2,69 +2,69 @@ format 224
classcanvas 128642 class_ref 129922 // Transakcja classcanvas 128642 class_ref 129922 // Transakcja
classdiagramsettings member_max_width 0 end classdiagramsettings member_max_width 0 end
xyzwh 1161 843.2 2000 165 149 xyzwh 1161.74 843.26 2000 165 149
end end
classcanvas 128770 class_ref 128770 // Klient classcanvas 128770 class_ref 128770 // Klient
classdiagramsettings member_max_width 0 end classdiagramsettings member_max_width 0 end
xyzwh 435.8 -44.4 2000 209 147 xyzwh 435.82 -44.36 2000 209 147
end end
classcanvas 129026 class_ref 128002 // Bankomat classcanvas 129026 class_ref 128002 // Bankomat
classdiagramsettings member_max_width 0 end classdiagramsettings member_max_width 0 end
xyzwh 400 164.6 2000 275 472 xyzwh 400.66 164.6 2000 275 472
end end
classcanvas 129282 class_ref 129538 // System_Transakcji classcanvas 129282 class_ref 129538 // System_Transakcji
classdiagramsettings member_max_width 0 end classdiagramsettings member_max_width 0 end
xyzwh 103 699 2000 230 230 xyzwh 100.09 700.6 2000 236 229
end end
classcanvas 129410 class_ref 128258 // Karta classcanvas 129410 class_ref 128258 // Karta
classdiagramsettings member_max_width 0 end classdiagramsettings member_max_width 0 end
xyzwh 921 325 2005 149 155 xyzwh 921.1 325.36 2005 149 155
end end
classcanvas 138754 class_ref 129666 // Potwierdzenie classcanvas 138754 class_ref 129666 // Potwierdzenie
classdiagramsettings member_max_width 0 end classdiagramsettings member_max_width 0 end
xyz 68 420 2000 xyz 68.66 420.18 2000
end end
classcanvas 139010 class_ref 128386 // BLIK classcanvas 139010 class_ref 128386 // BLIK
classdiagramsettings member_max_width 0 end classdiagramsettings member_max_width 0 end
xyz 145.2 989.8 2000 xyz 145.18 989.4 2000
end end
classcanvas 139266 class_ref 129282 // Konto classcanvas 139266 class_ref 129282 // Konto
classdiagramsettings member_max_width 0 end classdiagramsettings member_max_width 0 end
xyz 49.4 272.2 2000 xyz 49.82 272.18 2000
end end
classcanvas 139522 class_ref 129410 // Przelew classcanvas 139522 class_ref 129410 // Przelew
classdiagramsettings member_max_width 0 end classdiagramsettings member_max_width 0 end
xyz 24.2 133.6 2000 xyz 24.88 133.72 2000
end end
classcanvas 140546 class_ref 128514 // Wyplata classcanvas 140546 class_ref 128514 // Wyplata
classdiagramsettings member_max_width 0 end classdiagramsettings member_max_width 0 end
xyz 922.7 839.5 2000 xyz 922.04 839.1 2000
end end
classcanvas 140674 class_ref 128642 // Wplata classcanvas 140674 class_ref 128642 // Wplata
classdiagramsettings member_max_width 0 end classdiagramsettings member_max_width 0 end
xyz 928.4 955.3 2000 xyz 928.92 955.78 2000
end end
classcanvas 140802 class_ref 129410 // Przelew classcanvas 140802 class_ref 129410 // Przelew
classdiagramsettings member_max_width 0 end classdiagramsettings member_max_width 0 end
xyz 882.2 666.6 2005 xyz 882.32 666.66 2005
end end
textcanvas 144770 "1" textcanvas 144770 "1"
xyzwh 311 696 2005 21 37 xyzwh 311.78 696.52 2005 21 37
classcanvas 145282 class_ref 144130 // Fabryka_Transakcji
classdiagramsettings member_max_width 0 end
xyz 542.3 792.3 2000
end
note 146434 "Singleton note 146434 "Singleton
" "
xyzwh 46 650 2005 107 44 xyzwh 46.82 649.78 2005 107 44
classcanvas 146562 class_ref 144258 // FabrykaTransakcji
classdiagramsettings member_max_width 0 end
xyz 533.2 814.86 2000
end
relationcanvas 137986 relation_ref 145410 // wchodziWInterakcje relationcanvas 137986 relation_ref 145410 // wchodziWInterakcje
from ref 128770 z 2001 label "wchodziWInterakcje" italic max_width 255 xyz 456 107 2001 to ref 129026 from ref 128770 z 2001 label "wchodziWInterakcje" italic max_width 255 xyz 456 107 2001 to ref 129026
no_role_a no_role_b no_role_a no_role_b
multiplicity_a_pos 513 135 3000 multiplicity_b_pos 515 112 3000 multiplicity_a_pos 513 135 3000 multiplicity_b_pos 515 112 3000
end end
relationcanvas 138370 relation_ref 145794 // wywoluje relationcanvas 138370 relation_ref 145794 // wywoluje
from ref 129026 z 2001 to point 398 553 from ref 129026 z 2001 to point 398 553.9
line 143874 z 2001 label "wywoluje" italic max_width 255 xyz 248 550 2001 to point 174 589 line 143874 z 2001 label "wywoluje" italic max_width 255 xyz 248 550 2001 to point 174.68 589.38
line 143746 z 2001 to ref 129282 line 143746 z 2001 to ref 129282
no_role_a no_role_b no_role_a no_role_b
no_multiplicity_a no_multiplicity_b no_multiplicity_a no_multiplicity_b
@ -82,7 +82,7 @@ relationcanvas 138882 relation_ref 152578 // obsluguje
no_multiplicity_a no_multiplicity_b no_multiplicity_a no_multiplicity_b
end end
relationcanvas 139138 relation_ref 152706 // obsluguje relationcanvas 139138 relation_ref 152706 // obsluguje
from ref 129282 z 2001 label "obsluguje" italic max_width 255 xyz 172 933 2001 to ref 139010 from ref 129282 z 2001 label "obsluguje" italic max_width 255 xyz 172 932 2001 to ref 139010
no_role_a no_role_b no_role_a no_role_b
no_multiplicity_a no_multiplicity_b no_multiplicity_a no_multiplicity_b
end end
@ -99,38 +99,23 @@ relationcanvas 139650 relation_ref 152962 // obsluguje
no_role_a no_role_b no_role_a no_role_b
no_multiplicity_a no_multiplicity_b no_multiplicity_a no_multiplicity_b
end end
relationcanvas 144898 relation_ref 161794 // <realization> relationcanvas 146690 relation_ref 162818 // <unidirectional association>
from ref 140802 z 2006 to ref 128642 from ref 146562 z 2006 to ref 140802
no_role_a no_role_b no_role_a no_role_b
no_multiplicity_a no_multiplicity_b no_multiplicity_a no_multiplicity_b
end end
relationcanvas 145026 relation_ref 161922 // <realization> relationcanvas 146818 relation_ref 162946 // <unidirectional association>
from ref 140546 z 2001 to ref 128642 from ref 146562 z 2001 to ref 140546
no_role_a no_role_b no_role_a no_role_b
no_multiplicity_a no_multiplicity_b no_multiplicity_a no_multiplicity_b
end end
relationcanvas 145154 relation_ref 162050 // <realization> relationcanvas 146946 relation_ref 163074 // <unidirectional association>
from ref 140674 z 2001 to ref 128642 from ref 146562 z 2001 to ref 140674
no_role_a no_role_b no_role_a no_role_b
no_multiplicity_a no_multiplicity_b no_multiplicity_a no_multiplicity_b
end end
relationcanvas 145410 relation_ref 162178 // <unidirectional association> relationcanvas 147074 relation_ref 163202 // <unidirectional association>
from ref 145282 z 2006 to ref 140802 from ref 129282 z 2001 to ref 146562
no_role_a no_role_b
no_multiplicity_a no_multiplicity_b
end
relationcanvas 145538 relation_ref 162306 // <unidirectional association>
from ref 145282 z 2001 to ref 140546
no_role_a no_role_b
no_multiplicity_a no_multiplicity_b
end
relationcanvas 146178 relation_ref 162562 // <unidirectional association>
from ref 145282 z 2001 to ref 140674
no_role_a no_role_b
no_multiplicity_a no_multiplicity_b
end
relationcanvas 146306 relation_ref 162690 // <unidirectional association>
from ref 129282 z 2001 to ref 145282
no_role_a no_role_b no_role_a no_role_b
no_multiplicity_a no_multiplicity_b no_multiplicity_a no_multiplicity_b
end end

View File

@ -1,20 +1,17 @@
window_sizes 1920 1001 278 1636 939 0 window_sizes 1440 821 278 1156 759 0
diagrams diagrams
active classdiagram_ref 148354 // design-model active sequencediagram_ref 128377 // 3-3-wybranieOpcjiPrzelew
1636 939 69 B-Landscape 0 0 924 607 100 A4 0 0
end end
show_stereotypes show_stereotypes
selected sequencediagram_ref 141573 // 5-1-wybranieOpcjiBlik selected operation_ref 151682 // utworzPrzelew
open open
class_ref 128258 // Karta class_ref 128002 // Bankomat
class_ref 128514 // Wyplata class_ref 128386 // BLIK
class_ref 128642 // Wplata
class_ref 129410 // Przelew
class_ref 129538 // System_Transakcji class_ref 129538 // System_Transakcji
class_ref 129666 // Potwierdzenie
class_ref 129922 // Transakcja class_ref 129922 // Transakcja
state_ref 128002 // SM-1 state_ref 128002 // SM-1
class_ref 144130 // Fabryka_Transakcji class_ref 144258 // FabrykaTransakcji
end end
end end

View File

@ -667,14 +667,6 @@ ${members}}
mysql_decl "" mysql_decl ""
MysqlColumn MysqlColumn
end end
classrelation 163970 // <realization>
relation 161922 -_-|>
a public
java "${type}"
classrelation_ref 163970 // <realization>
b parent class_ref 129922 // Transakcja
end
end end
class 128642 "Wplata" class 128642 "Wplata"
@ -720,14 +712,6 @@ ${members}}
mysql_decl "" mysql_decl ""
MysqlColumn MysqlColumn
end end
classrelation 164098 // <realization>
relation 162050 -_-|>
a public
java "${type}"
classrelation_ref 164098 // <realization>
b parent class_ref 129922 // Transakcja
end
end end
class 128770 "Klient" class 128770 "Klient"
@ -1153,14 +1137,6 @@ ${members}}
end end
classrelation 163842 // <realization>
relation 161794 -_-|>
a public
java "${type}"
classrelation_ref 163842 // <realization>
b parent class_ref 129922 // Transakcja
end
end end
class 129538 "System_Transakcji" class 129538 "System_Transakcji"
@ -1341,37 +1317,13 @@ ${members}}
b parent class_ref 129922 // Transakcja b parent class_ref 129922 // Transakcja
end end
attribute 143234 "system_transakcji" classrelation 164226 // <unidirectional association>
private explicit_type "instance" relation 163202 --->
cpp_decl ""
java_decl " ${comment}${@}${visibility}${static}${final}${transient}${volatile}${type} ${name}${value};
"
php_decl ""
python_decl ""
idl_decl ""
mysql_decl ""
MysqlColumn
end
classrelation 164738 // <unidirectional association>
relation 162690 --->
a role_name "" private a role_name "" private
java " ${comment}${@}${visibility}${static}${final}${transient}${volatile}${type} ${name}${value}; java " ${comment}${@}${visibility}${static}${final}${transient}${volatile}${type} ${name}${value};
" "
classrelation_ref 164738 // <unidirectional association> classrelation_ref 164226 // <unidirectional association>
b parent class_ref 144130 // Fabryka_Transakcji b parent class_ref 144258 // FabrykaTransakcji
end
operation 151810 "getInstance"
public explicit_return_type ""
nparams 0
java_def " ${comment}${@}${visibility}${final}${static}${abstract}${synchronized}${type} ${name}${(}${)}${throws}${staticnl}{
${body}}
"
end end
end end
@ -2446,7 +2398,7 @@ ${members}}
end end
end end
class 144130 "Fabryka_Transakcji" class 144258 "FabrykaTransakcji"
visibility package visibility package
cpp_decl "" cpp_decl ""
java_decl "${comment}${@}${visibility}${static}${final}${abstract}class ${name}${extends}${implements} { java_decl "${comment}${@}${visibility}${static}${final}${abstract}class ${name}${extends}${implements} {
@ -2494,39 +2446,30 @@ ${members}}
end end
classrelation 164226 // <unidirectional association> classrelation 163842 // <unidirectional association>
relation 162178 ---> relation 162818 --->
a role_name "" private a role_name "" private
java " ${comment}${@}${visibility}${static}${final}${transient}${volatile}${type} ${name}${value}; java " ${comment}${@}${visibility}${static}${final}${transient}${volatile}${type} ${name}${value};
" "
classrelation_ref 164226 // <unidirectional association> classrelation_ref 163842 // <unidirectional association>
b parent class_ref 129410 // Przelew b parent class_ref 129410 // Przelew
end end
classrelation 164354 // <unidirectional association> classrelation 163970 // <unidirectional association>
relation 162306 ---> relation 162946 --->
a role_name "" private a role_name "" private
java " ${comment}${@}${visibility}${static}${final}${transient}${volatile}${type} ${name}${value}; java " ${comment}${@}${visibility}${static}${final}${transient}${volatile}${type} ${name}${value};
" "
classrelation_ref 164354 // <unidirectional association> classrelation_ref 163970 // <unidirectional association>
b parent class_ref 128514 // Wyplata b parent class_ref 128514 // Wyplata
end end
classrelation 164482 // <unidirectional association> classrelation 164098 // <unidirectional association>
relation 162434 ---> relation 163074 --->
a role_name "" private a role_name "" private
java " ${comment}${@}${visibility}${static}${final}${transient}${volatile}${type} ${name}${value}; java " ${comment}${@}${visibility}${static}${final}${transient}${volatile}${type} ${name}${value};
" "
classrelation_ref 164482 // <unidirectional association> classrelation_ref 164098 // <unidirectional association>
b parent class_ref 144130 // Fabryka_Transakcji
end
classrelation 164610 // <unidirectional association>
relation 162562 --->
a role_name "" private
java " ${comment}${@}${visibility}${static}${final}${transient}${volatile}${type} ${name}${value};
"
classrelation_ref 164610 // <unidirectional association>
b parent class_ref 128642 // Wplata b parent class_ref 128642 // Wplata
end end
end end