wzorce projektowe

This commit is contained in:
shaaqu 2021-02-10 09:04:20 +01:00
parent edffc0aadd
commit edb7fb80e5
3 changed files with 78 additions and 37 deletions

View File

@ -49,13 +49,13 @@ classcanvas 140802 class_ref 129410 // Przelew
xyz 882.32 666.66 2005 xyz 882.32 666.66 2005
end end
textcanvas 144770 "1" textcanvas 144770 "1"
xyzwh 311.78 696.52 2005 21 37 xyzwh 311 696 2005 21 37
note 146434 "Singleton note 146434 "Singleton
" "
xyzwh 46.82 649.78 2005 107 44 xyzwh 46.82 649.78 2005 107 44
classcanvas 146562 class_ref 144258 // FabrykaTransakcji classcanvas 147202 class_ref 144386 // FabrykaTransakcji
classdiagramsettings member_max_width 0 end classdiagramsettings member_max_width 0 end
xyz 533.2 814.86 2000 xyz 549 828 2000
end 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
@ -63,8 +63,8 @@ relationcanvas 137986 relation_ref 145410 // wchodziWInterakcje
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.9 from ref 129026 z 2001 to point 398 553
line 143874 z 2001 label "wywoluje" italic max_width 255 xyz 248 550 2001 to point 174.68 589.38 line 143874 z 2001 label "wywoluje" italic max_width 255 xyz 248 550 2001 to point 174 589
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
@ -99,23 +99,38 @@ 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 146690 relation_ref 162818 // <unidirectional association> relationcanvas 147330 relation_ref 163330 // <unidirectional association>
from ref 146562 z 2006 to ref 140802 from ref 129282 z 2001 to ref 147202
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 146818 relation_ref 162946 // <unidirectional association> relationcanvas 147458 relation_ref 163458 // <unidirectional association>
from ref 146562 z 2001 to ref 140546 from ref 147202 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 146946 relation_ref 163074 // <unidirectional association> relationcanvas 147586 relation_ref 163586 // <unidirectional association>
from ref 146562 z 2001 to ref 140674 from ref 147202 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 147074 relation_ref 163202 // <unidirectional association> relationcanvas 147714 relation_ref 163714 // <unidirectional association>
from ref 129282 z 2001 to ref 146562 from ref 147202 z 2001 to ref 140674
no_role_a no_role_b
no_multiplicity_a no_multiplicity_b
end
relationcanvas 147842 relation_ref 163842 // <realization>
from ref 140802 z 2006 to ref 128642
no_role_a no_role_b
no_multiplicity_a no_multiplicity_b
end
relationcanvas 147970 relation_ref 163970 // <realization>
from ref 140546 z 2001 to ref 128642
no_role_a no_role_b
no_multiplicity_a no_multiplicity_b
end
relationcanvas 148098 relation_ref 164098 // <realization>
from ref 140674 z 2001 to ref 128642
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,17 +1,19 @@
window_sizes 1440 821 278 1156 759 0 window_sizes 1920 1001 278 1636 939 0
diagrams diagrams
active sequencediagram_ref 128377 // 3-3-wybranieOpcjiPrzelew sequencediagram_ref 128377 // 3-3-wybranieOpcjiPrzelew
924 607 100 A4 0 0 924 607 100 A4 0 0
active classdiagram_ref 148354 // design-model
1636 939 100 B-Landscape 230 115
end end
show_stereotypes show_stereotypes
selected operation_ref 151682 // utworzPrzelew selected operation_ref 151682 // utworzWyplate
open open
class_ref 128002 // Bankomat class_ref 128002 // Bankomat
class_ref 128386 // BLIK class_ref 128386 // BLIK
class_ref 129538 // System_Transakcji class_ref 129538 // System_Transakcji
class_ref 129922 // Transakcja class_ref 129922 // Transakcja
state_ref 128002 // SM-1 state_ref 128002 // SM-1
class_ref 144258 // FabrykaTransakcji class_ref 144386 // FabrykaTransakcji
end end
end end

View File

@ -667,6 +667,14 @@ ${members}}
mysql_decl "" mysql_decl ""
MysqlColumn MysqlColumn
end end
classrelation 164482 // <realization>
relation 163970 -_-|>
a public
java "${type}"
classrelation_ref 164482 // <realization>
b parent class_ref 129922 // Transakcja
end
end end
class 128642 "Wplata" class 128642 "Wplata"
@ -712,6 +720,14 @@ ${members}}
mysql_decl "" mysql_decl ""
MysqlColumn MysqlColumn
end end
classrelation 164610 // <realization>
relation 164098 -_-|>
a public
java "${type}"
classrelation_ref 164610 // <realization>
b parent class_ref 129922 // Transakcja
end
end end
class 128770 "Klient" class 128770 "Klient"
@ -1137,6 +1153,14 @@ ${members}}
end end
classrelation 164354 // <realization>
relation 163842 -_-|>
a public
java "${type}"
classrelation_ref 164354 // <realization>
b parent class_ref 129922 // Transakcja
end
end end
class 129538 "System_Transakcji" class 129538 "System_Transakcji"
@ -1317,13 +1341,13 @@ ${members}}
b parent class_ref 129922 // Transakcja b parent class_ref 129922 // Transakcja
end end
classrelation 164226 // <unidirectional association> classrelation 163842 // <unidirectional association>
relation 163202 ---> relation 163330 --->
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 144258 // FabrykaTransakcji b parent class_ref 144386 // FabrykaTransakcji
end end
end end
@ -2398,7 +2422,7 @@ ${members}}
end end
end end
class 144258 "FabrykaTransakcji" class 144386 "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} {
@ -2410,7 +2434,7 @@ ${members}}
explicit_switch_type "" explicit_switch_type ""
mysql_decl "" mysql_decl ""
operation 151426 "utworzWplate" operation 151426 "utworzPrzelew"
public explicit_return_type "" public explicit_return_type ""
nparams 0 nparams 0
@ -2422,7 +2446,7 @@ ${members}}
end end
operation 151554 "utworzWyplate" operation 151554 "utworzWplate"
public explicit_return_type "" public explicit_return_type ""
nparams 0 nparams 0
@ -2434,7 +2458,7 @@ ${members}}
end end
operation 151682 "utworzPrzelew" operation 151682 "utworzWyplate"
public explicit_return_type "" public explicit_return_type ""
nparams 0 nparams 0
@ -2446,30 +2470,30 @@ ${members}}
end end
classrelation 163842 // <unidirectional association>
relation 162818 --->
a role_name "" private
java " ${comment}${@}${visibility}${static}${final}${transient}${volatile}${type} ${name}${value};
"
classrelation_ref 163842 // <unidirectional association>
b parent class_ref 129410 // Przelew
end
classrelation 163970 // <unidirectional association> classrelation 163970 // <unidirectional association>
relation 162946 ---> relation 163458 --->
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 163970 // <unidirectional association> classrelation_ref 163970 // <unidirectional association>
b parent class_ref 128514 // Wyplata b parent class_ref 129410 // Przelew
end end
classrelation 164098 // <unidirectional association> classrelation 164098 // <unidirectional association>
relation 163074 ---> relation 163586 --->
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 164098 // <unidirectional association> classrelation_ref 164098 // <unidirectional association>
b parent class_ref 128514 // Wyplata
end
classrelation 164226 // <unidirectional association>
relation 163714 --->
a role_name "" private
java " ${comment}${@}${visibility}${static}${final}${transient}${volatile}${type} ${name}${value};
"
classrelation_ref 164226 // <unidirectional association>
b parent class_ref 128642 // Wplata b parent class_ref 128642 // Wplata
end end
end end