From edb7fb80e5f4ec9eac39d90e5dab37f90f620be3 Mon Sep 17 00:00:00 2001 From: shaaqu Date: Wed, 10 Feb 2021 09:04:20 +0100 Subject: [PATCH] wzorce projektowe --- models/148354.diagram | 41 ++++++++++++++++++--------- models/2.session | 10 ++++--- models/backup.prj | 64 +++++++++++++++++++++++++++++-------------- 3 files changed, 78 insertions(+), 37 deletions(-) diff --git a/models/148354.diagram b/models/148354.diagram index de3d85b..807a459 100644 --- a/models/148354.diagram +++ b/models/148354.diagram @@ -49,13 +49,13 @@ classcanvas 140802 class_ref 129410 // Przelew xyz 882.32 666.66 2005 end textcanvas 144770 "1" - xyzwh 311.78 696.52 2005 21 37 + xyzwh 311 696 2005 21 37 note 146434 "Singleton " 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 - xyz 533.2 814.86 2000 + xyz 549 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 @@ -63,8 +63,8 @@ relationcanvas 137986 relation_ref 145410 // wchodziWInterakcje multiplicity_a_pos 513 135 3000 multiplicity_b_pos 515 112 3000 end relationcanvas 138370 relation_ref 145794 // wywoluje - 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.68 589.38 + 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 589 line 143746 z 2001 to ref 129282 no_role_a no_role_b no_multiplicity_a no_multiplicity_b @@ -99,23 +99,38 @@ relationcanvas 139650 relation_ref 152962 // obsluguje no_role_a no_role_b no_multiplicity_a no_multiplicity_b end -relationcanvas 146690 relation_ref 162818 // - from ref 146562 z 2006 to ref 140802 +relationcanvas 147330 relation_ref 163330 // + from ref 129282 z 2001 to ref 147202 no_role_a no_role_b no_multiplicity_a no_multiplicity_b end -relationcanvas 146818 relation_ref 162946 // - from ref 146562 z 2001 to ref 140546 +relationcanvas 147458 relation_ref 163458 // + from ref 147202 z 2006 to ref 140802 no_role_a no_role_b no_multiplicity_a no_multiplicity_b end -relationcanvas 146946 relation_ref 163074 // - from ref 146562 z 2001 to ref 140674 +relationcanvas 147586 relation_ref 163586 // + from ref 147202 z 2001 to ref 140546 no_role_a no_role_b no_multiplicity_a no_multiplicity_b end -relationcanvas 147074 relation_ref 163202 // - from ref 129282 z 2001 to ref 146562 +relationcanvas 147714 relation_ref 163714 // + 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 // + 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 // + 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 // + from ref 140674 z 2001 to ref 128642 no_role_a no_role_b no_multiplicity_a no_multiplicity_b end diff --git a/models/2.session b/models/2.session index cca8f21..179f99e 100644 --- a/models/2.session +++ b/models/2.session @@ -1,17 +1,19 @@ -window_sizes 1440 821 278 1156 759 0 +window_sizes 1920 1001 278 1636 939 0 diagrams - active sequencediagram_ref 128377 // 3-3-wybranieOpcjiPrzelew + sequencediagram_ref 128377 // 3-3-wybranieOpcjiPrzelew 924 607 100 A4 0 0 + active classdiagram_ref 148354 // design-model + 1636 939 100 B-Landscape 230 115 end show_stereotypes -selected operation_ref 151682 // utworzPrzelew +selected operation_ref 151682 // utworzWyplate 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 144258 // FabrykaTransakcji + class_ref 144386 // FabrykaTransakcji end end diff --git a/models/backup.prj b/models/backup.prj index 7745548..6b45dca 100644 --- a/models/backup.prj +++ b/models/backup.prj @@ -667,6 +667,14 @@ ${members}} mysql_decl "" MysqlColumn end + + classrelation 164482 // + relation 163970 -_-|> + a public + java "${type}" + classrelation_ref 164482 // + b parent class_ref 129922 // Transakcja + end end class 128642 "Wplata" @@ -712,6 +720,14 @@ ${members}} mysql_decl "" MysqlColumn end + + classrelation 164610 // + relation 164098 -_-|> + a public + java "${type}" + classrelation_ref 164610 // + b parent class_ref 129922 // Transakcja + end end class 128770 "Klient" @@ -1137,6 +1153,14 @@ ${members}} end + + classrelation 164354 // + relation 163842 -_-|> + a public + java "${type}" + classrelation_ref 164354 // + b parent class_ref 129922 // Transakcja + end end class 129538 "System_Transakcji" @@ -1317,13 +1341,13 @@ ${members}} b parent class_ref 129922 // Transakcja end - classrelation 164226 // - relation 163202 ---> + classrelation 163842 // + relation 163330 ---> a role_name "" private java " ${comment}${@}${visibility}${static}${final}${transient}${volatile}${type} ${name}${value}; " - classrelation_ref 164226 // - b parent class_ref 144258 // FabrykaTransakcji + classrelation_ref 163842 // + b parent class_ref 144386 // FabrykaTransakcji end end @@ -2398,7 +2422,7 @@ ${members}} end end - class 144258 "FabrykaTransakcji" + class 144386 "FabrykaTransakcji" visibility package cpp_decl "" java_decl "${comment}${@}${visibility}${static}${final}${abstract}class ${name}${extends}${implements} { @@ -2410,7 +2434,7 @@ ${members}} explicit_switch_type "" mysql_decl "" - operation 151426 "utworzWplate" + operation 151426 "utworzPrzelew" public explicit_return_type "" nparams 0 @@ -2422,7 +2446,7 @@ ${members}} end - operation 151554 "utworzWyplate" + operation 151554 "utworzWplate" public explicit_return_type "" nparams 0 @@ -2434,7 +2458,7 @@ ${members}} end - operation 151682 "utworzPrzelew" + operation 151682 "utworzWyplate" public explicit_return_type "" nparams 0 @@ -2446,30 +2470,30 @@ ${members}} end - classrelation 163842 // - relation 162818 ---> - a role_name "" private - java " ${comment}${@}${visibility}${static}${final}${transient}${volatile}${type} ${name}${value}; -" - classrelation_ref 163842 // - b parent class_ref 129410 // Przelew - end - classrelation 163970 // - relation 162946 ---> + relation 163458 ---> a role_name "" private java " ${comment}${@}${visibility}${static}${final}${transient}${volatile}${type} ${name}${value}; " classrelation_ref 163970 // - b parent class_ref 128514 // Wyplata + b parent class_ref 129410 // Przelew end classrelation 164098 // - relation 163074 ---> + relation 163586 ---> a role_name "" private java " ${comment}${@}${visibility}${static}${final}${transient}${volatile}${type} ${name}${value}; " classrelation_ref 164098 // + b parent class_ref 128514 // Wyplata + end + + classrelation 164226 // + relation 163714 ---> + a role_name "" private + java " ${comment}${@}${visibility}${static}${final}${transient}${volatile}${type} ${name}${value}; +" + classrelation_ref 164226 // b parent class_ref 128642 // Wplata end end