wzorce projektowe

This commit is contained in:
shaaqu 2021-02-10 09:11:12 +01:00
parent 33db63afb2
commit e03d1efcf7
3 changed files with 125 additions and 16 deletions

View File

@ -53,9 +53,9 @@ textcanvas 144770 "1"
note 146434 "Singleton
"
xyzwh 46.82 649.78 2005 107 44
classcanvas 147202 class_ref 144386 // FabrykaTransakcji
classcanvas 148226 class_ref 144514 // FabrykaTransakcji
classdiagramsettings member_max_width 0 end
xyz 549 828 2000
xyz 481 828 2000
end
relationcanvas 137986 relation_ref 145410 // wchodziWInterakcje
from ref 128770 z 2001 label "wchodziWInterakcje" italic max_width 255 xyz 456 107 2001 to ref 129026
@ -99,37 +99,37 @@ relationcanvas 139650 relation_ref 152962 // obsluguje
no_role_a no_role_b
no_multiplicity_a no_multiplicity_b
end
relationcanvas 147330 relation_ref 163330 // <unidirectional association>
from ref 129282 z 2001 to ref 147202
relationcanvas 148354 relation_ref 164226 // <unidirectional association>
from ref 148226 z 2006 to ref 140802
no_role_a no_role_b
no_multiplicity_a no_multiplicity_b
end
relationcanvas 147458 relation_ref 163458 // <unidirectional association>
from ref 147202 z 2006 to ref 140802
relationcanvas 148482 relation_ref 164354 // <unidirectional association>
from ref 148226 z 2001 to ref 140546
no_role_a no_role_b
no_multiplicity_a no_multiplicity_b
end
relationcanvas 147586 relation_ref 163586 // <unidirectional association>
from ref 147202 z 2001 to ref 140546
relationcanvas 148610 relation_ref 164482 // <unidirectional association>
from ref 148226 z 2001 to ref 140674
no_role_a no_role_b
no_multiplicity_a no_multiplicity_b
end
relationcanvas 147714 relation_ref 163714 // <unidirectional association>
from ref 147202 z 2001 to ref 140674
relationcanvas 148738 relation_ref 164610 // <unidirectional association>
from ref 129282 z 2001 to ref 148226
no_role_a no_role_b
no_multiplicity_a no_multiplicity_b
end
relationcanvas 147842 relation_ref 163842 // <realization>
relationcanvas 148866 relation_ref 164738 // <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>
relationcanvas 148994 relation_ref 164866 // <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>
relationcanvas 149122 relation_ref 164994 // <realization>
from ref 140674 z 2001 to ref 128642
no_role_a no_role_b
no_multiplicity_a no_multiplicity_b

View File

@ -7,13 +7,13 @@ diagrams
1636 939 100 B-Landscape 230 115
end
show_stereotypes
selected operation_ref 151682 // utworzWyplate
selected operation_ref 151682 // utworzWplate
open
class_ref 128002 // Bankomat
class_ref 128386 // BLIK
class_ref 129538 // System_Transakcji
class_ref 129922 // Transakcja
state_ref 128002 // SM-1
class_ref 144386 // FabrykaTransakcji
class_ref 144514 // FabrykaTransakcji
end
end

View File

@ -1,6 +1,6 @@
format 224
"backup"
revision 18
revision 19
modified_by 2 "Pawel Lukaszewicz"
@ -667,6 +667,14 @@ ${members}}
mysql_decl ""
MysqlColumn
end
classrelation 164482 // <realization>
relation 164866 -_-|>
a public
java "${type}"
classrelation_ref 164482 // <realization>
b parent class_ref 129922 // Transakcja
end
end
class 128642 "Wplata"
@ -712,6 +720,14 @@ ${members}}
mysql_decl ""
MysqlColumn
end
classrelation 164610 // <realization>
relation 164994 -_-|>
a public
java "${type}"
classrelation_ref 164610 // <realization>
b parent class_ref 129922 // Transakcja
end
end
class 128770 "Klient"
@ -1137,6 +1153,14 @@ ${members}}
end
classrelation 164354 // <realization>
relation 164738 -_-|>
a public
java "${type}"
classrelation_ref 164354 // <realization>
b parent class_ref 129922 // Transakcja
end
end
class 129538 "System_Transakcji"
@ -1316,6 +1340,15 @@ ${members}}
classrelation_ref 157314 // (obsluguje)
b parent class_ref 129922 // Transakcja
end
classrelation 164226 // <unidirectional association>
relation 164610 --->
a role_name "" private
java " ${comment}${@}${visibility}${static}${final}${transient}${volatile}${type} ${name}${value};
"
classrelation_ref 164226 // <unidirectional association>
b parent class_ref 144514 // FabrykaTransakcji
end
end
class 129666 "Potwierdzenie"
@ -2388,5 +2421,81 @@ ${members}}
pseudostate 128258 final ""
end
end
class 144514 "FabrykaTransakcji"
visibility package
cpp_decl ""
java_decl "${comment}${@}${visibility}${static}${final}${abstract}class ${name}${extends}${implements} {
${members}}
"
php_decl ""
python_2_2 python_decl ""
idl_decl ""
explicit_switch_type ""
mysql_decl ""
operation 151426 "utworzPrzelew"
public explicit_return_type ""
nparams 0
java_def " ${comment}${@}${visibility}${final}${static}${abstract}${synchronized}${type} ${name}${(}${)}${throws}${staticnl}{
${body}}
"
end
operation 151554 "utworzWyplate"
public explicit_return_type ""
nparams 0
java_def " ${comment}${@}${visibility}${final}${static}${abstract}${synchronized}${type} ${name}${(}${)}${throws}${staticnl}{
${body}}
"
end
operation 151682 "utworzWplate"
public explicit_return_type ""
nparams 0
java_def " ${comment}${@}${visibility}${final}${static}${abstract}${synchronized}${type} ${name}${(}${)}${throws}${staticnl}{
${body}}
"
end
classrelation 163842 // <unidirectional association>
relation 164226 --->
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>
relation 164354 --->
a role_name "" private
java " ${comment}${@}${visibility}${static}${final}${transient}${volatile}${type} ${name}${value};
"
classrelation_ref 163970 // <unidirectional association>
b parent class_ref 128514 // Wyplata
end
classrelation 164098 // <unidirectional association>
relation 164482 --->
a role_name "" private
java " ${comment}${@}${visibility}${static}${final}${transient}${volatile}${type} ${name}${value};
"
classrelation_ref 164098 // <unidirectional association>
b parent class_ref 128642 // Wplata
end
end
end
end