From 05cc457badc08eca67e84c262687189d3a5c0e9b Mon Sep 17 00:00:00 2001 From: EctopistesMigratorius <49035524+EctopistesMigratorius@users.noreply.github.com> Date: Tue, 11 Jan 2022 21:46:05 +0100 Subject: [PATCH] Add design-model --- models/109.session | 49 +-- models/149613.diagram | 105 ++++++ models/models.prj | 807 +++++++++++++++++++++++++++++++++++++++++- 3 files changed, 919 insertions(+), 42 deletions(-) create mode 100644 models/149613.diagram diff --git a/models/109.session b/models/109.session index 4253525..62fabae 100644 --- a/models/109.session +++ b/models/109.session @@ -1,47 +1,16 @@ -window_sizes 1920 1001 450 1464 947 0 +window_sizes 1920 1017 450 1465 971 0 diagrams - active classdiagram_ref 128109 // domain-model - 1469 971 93 C-Landscape 376 12 + active classdiagram_ref 149613 // design-model + 1465 971 100 A4 45 0 end show_stereotypes -selected sequencediagram_ref 135277 // 5-4-wyswietlHistorie +selected sequencediagram_ref 135021 // 5-7-odbiorIdentyfikatora open - class_ref 128109 // Bankomat - class_ref 128237 // Karta - class_ref 128493 // Konto_Bankowe - class_ref 128621 // Karta_Prepaid - class_ref 128749 // Sensory - class_ref 128877 // Wplata_Gotowki - class_ref 129005 // Wyplata_Gotowki - class_ref 129133 // Doladowanie_Konta - class_ref 129261 // Sprawdzenie_Stanu_Konta - class_ref 129389 // Przelew - class_ref 129517 // Operator_Kart_Platniczych - class_ref 129645 // Bank - class_ref 136173 // Uzytkownik - class_ref 136301 // Operator_Bankomatu - class_ref 136429 // Operator_Telefonii_Komorkowej - class_ref 136685 // Weryfikacja_Uzytkownika - class_ref 149741 // Komora_10 - class_ref 149869 // Komora_20 - class_ref 149997 // Komora_50 - class_ref 150125 // Komora_100 - class_ref 150253 // Komora_200 - class_ref 150381 // Transakcja - class_ref 150509 // Wlozone_Banknoty - class_ref 150637 // Wlozone_10 - class_ref 150765 // Wlozone_20 - class_ref 150893 // Wlozone_50 - class_ref 151021 // Wlozone_100 - class_ref 151149 // Wlozone_200 - class_ref 151277 // Wydane_Banknoty - class_ref 151405 // Wydane_10 - class_ref 151533 // Wydane_20 - class_ref 151661 // Wydane_50 - class_ref 151789 // Wydane_100 - class_ref 151917 // Wydane_200 - class_ref 158701 // Waluta - classview_ref 128123 // design + attribute_ref 128123 // numer + class_ref 173037 // Sprawdzenie_Stanu_Konta + class_ref 172653 // Operator_Kart_Platniczych + operation_ref 138989 // BlockCard + class_ref 172397 // Karta end end diff --git a/models/149613.diagram b/models/149613.diagram new file mode 100644 index 0000000..1f201f8 --- /dev/null +++ b/models/149613.diagram @@ -0,0 +1,105 @@ +format 224 + +classcanvas 128109 class_ref 171885 // Bankomat + classdiagramsettings member_max_width 0 end + xyz 122 279 2000 +end +classcanvas 128237 class_ref 172269 // Weryfikacja_Uzytkownika + classdiagramsettings member_max_width 0 end + xyz 126 124 2000 +end +classcanvas 128493 class_ref 172141 // Sensory + classdiagramsettings member_max_width 0 end + xyz 397 330 2006 +end +classcanvas 128877 class_ref 172013 // Banknoty + classdiagramsettings member_max_width 0 end + xyz 440 177 2000 +end +classcanvas 129133 class_ref 172397 // Karta + classdiagramsettings member_max_width 0 end + xyz 459 519 2000 +end +classcanvas 129389 class_ref 172525 // Bank + classdiagramsettings member_max_width 0 end + xyz 639 523 2000 +end +classcanvas 129645 class_ref 172653 // Operator_Kart_Platniczych + classdiagramsettings member_max_width 0 end + xyz 436 655 2000 +end +classcanvas 129901 class_ref 172909 // Wyplata_Gotowki + classdiagramsettings member_max_width 0 end + xyz 20 560 2000 +end +classcanvas 130029 class_ref 172781 // Wplata_Gotowki + classdiagramsettings member_max_width 0 end + xyz 149 563 2000 +end +classcanvas 130157 class_ref 173037 // Sprawdzenie_Stanu_Konta + classdiagramsettings member_max_width 0 end + xyz 265 572 2006 +end +classcanvas 130285 class_ref 173165 // Potwierdzenie_Transakcji + classdiagramsettings member_max_width 0 end + xyz 60 704 2000 +end +relationcanvas 128365 relation_ref 163949 // wywoluje + from ref 128109 z 2001 label "wywoluje" italic max_width 255 xyz 149.5 228 3000 to ref 128237 + no_role_a no_role_b + multiplicity_a_pos 185 197 3000 multiplicity_b_pos 182 260 3000 +end +relationcanvas 128749 relation_ref 164077 // ma + decenter_end 504 + from ref 128109 z 2007 label "ma" italic max_width 255 xyz 328 373 3000 to ref 128493 + no_role_a no_role_b + multiplicity_a_pos 382 394 3000 multiplicity_b_pos 284 395 3000 +end +relationcanvas 129005 relation_ref 164205 // obsluguje + from ref 128493 z 2007 label "obsluguje" italic max_width 255 xyz 518 279 3000 to ref 128877 + no_role_a no_role_b + multiplicity_a_pos 498 240 3000 multiplicity_b_pos 496 311 3000 +end +relationcanvas 129261 relation_ref 164333 // obsluguje + from ref 128109 z 2001 label "obsluguje" italic max_width 255 xyz 359 462 3000 to ref 129133 + no_role_a no_role_b + multiplicity_a_pos 430 541 3000 multiplicity_b_pos 284 441 3000 +end +relationcanvas 129517 relation_ref 164461 // obsluguje + from ref 129389 z 2001 label "obsluguje" italic max_width 255 xyz 581 546 3000 to ref 129133 + no_role_a no_role_b + multiplicity_a_pos 581 567 3000 multiplicity_b_pos 622 567 3000 +end +relationcanvas 129773 relation_ref 164589 // obsluguje + from ref 129645 z 2001 label "obsluguje" italic max_width 255 xyz 518 622 3000 to ref 129133 + no_role_a no_role_b + multiplicity_a_pos 488 608 3000 multiplicity_b_pos 498 636 3000 +end +relationcanvas 130413 relation_ref 164717 // tworzy + from ref 128109 z 2001 label "tworzy" italic max_width 255 xyz 73 520 3000 to ref 129901 + no_role_a no_role_b + multiplicity_a_pos 82 541 3000 multiplicity_b_pos 109 506 3000 +end +relationcanvas 130541 relation_ref 164845 // tworzy + from ref 128109 z 2001 label "tworzy" italic max_width 255 xyz 162 526 3000 to ref 130029 + no_role_a no_role_b + multiplicity_a_pos 184 544 3000 multiplicity_b_pos 182 506 3000 +end +relationcanvas 130669 relation_ref 164973 // tworzy + from ref 128109 z 2007 label "tworzy" italic max_width 255 xyz 262 530 3000 to ref 130157 + no_role_a no_role_b + multiplicity_a_pos 303 553 3000 multiplicity_b_pos 260 506 3000 +end +relationcanvas 130925 relation_ref 165229 // tworzy + decenter_end 708 + from ref 130029 z 2001 label "tworzy" italic max_width 255 xyz 145 661 3000 to ref 130285 + no_role_a no_role_b + multiplicity_a_pos 158 685 3000 multiplicity_b_pos 170 636 3000 +end +relationcanvas 131053 relation_ref 165357 // tworzy + decenter_end 178 + from ref 129901 z 2001 label "tworzy" italic max_width 255 xyz 50 657 3000 to ref 130285 + no_role_a no_role_b + multiplicity_a_pos 63 685 3000 multiplicity_b_pos 75 633 3000 +end +end diff --git a/models/models.prj b/models/models.prj index 1ec13b4..9f294f1 100644 --- a/models/models.prj +++ b/models/models.prj @@ -1,7 +1,7 @@ format 224 "models" - revision 21 - modified_by 123 "s452652" + revision 22 + modified_by 109 "legion" @@ -208,6 +208,18 @@ format 224 + end + + classrelation 168813 // (posiada>) + relation_ref 161133 // posiada> + end + + classrelation 172397 // (dokonuje>) + relation_ref 162925 // dokonuje> + end + + classrelation 173421 // (dokonuje>) + relation_ref 163437 // dokonuje> end end @@ -270,6 +282,22 @@ format 224 mysql_decl "" MysqlColumn end + + classrelation 169581 // () + relation 160493 ---- name "posiada>" + a role_name "" multiplicity "1" private + classrelation_ref 167533 // (posiada>) + b role_name "" multiplicity "1..*" private + classrelation_ref 167405 // (posiada>) end end @@ -471,6 +519,14 @@ format 224 mysql_decl "" MysqlColumn end + + classrelation 168557 // (dokonuje>) + relation 161005 ---- name "dokonuje>" + a role_name "" multiplicity "1" private + classrelation_ref 168557 // (dokonuje>) + b role_name "" multiplicity "*" private + classrelation_ref 168429 // (dokonuje>) + end end class 129005 "Wyplata_Gotowki" @@ -513,6 +569,14 @@ format 224 mysql_decl "" MysqlColumn end + + classrelation 168301 // (dokonuje>) + relation 160877 ---- name "dokonuje>" + a role_name "" multiplicity "1" private + classrelation_ref 168301 // (dokonuje>) + b role_name "" multiplicity "*" private + classrelation_ref 168173 // (dokonuje>) + end end class 129133 "Doladowanie_Konta" @@ -649,6 +713,10 @@ format 224 + end + + classrelation 169837 // () + relation 160621 ---- name "konserwuje>" + a role_name "" multiplicity "1..*" private + classrelation_ref 167789 // (konserwuje>) + b role_name "" multiplicity "1..*" private + classrelation_ref 167661 // (konserwuje>) + end end class 136429 "Operator_Telefonii_Komorkowej" @@ -831,6 +907,10 @@ format 224 mysql_decl "" MysqlColumn end + + classrelation 170605 // ( relation_ref 135277 // ma> end + + classrelation 168045 // (ma>) + relation 160749 ---- name "ma>" + a role_name "" multiplicity "1" private + classrelation_ref 168045 // (ma>) + b role_name "" multiplicity "1" private + classrelation_ref 167917 // (ma>) + end end class 149741 "Komora_10" @@ -1086,6 +1174,38 @@ format 224 mysql_decl "" MysqlColumn end + + classrelation 169325 // (wymaga>) + relation 161389 ---- name "wymaga>" + a role_name "" multiplicity "1" private + classrelation_ref 169325 // (wymaga>) + b role_name "" multiplicity "1" private + classrelation_ref 169197 // (wymaga>) + end + + classrelation 170349 // + relation_ref 161901 // + end + + classrelation 172141 // (dziedziczy po>) + relation_ref 162797 // dziedziczy po> + end + + classrelation 173165 // (dziedziczy po>) + relation_ref 163309 // dziedziczy po> + end + + classrelation 173933 // () + relation 163821 ---- name "wydaje>" + a role_name "" multiplicity "1" private + classrelation_ref 174189 // (wydaje>) + b role_name "" multiplicity "1" private + classrelation_ref 174061 // (wydaje>) + end end class 150509 "Wlozone_Banknoty" @@ -1125,6 +1245,14 @@ format 224 b role_name "" multiplicity "1..*" private classrelation_ref 151405 // end + + classrelation 172909 // (jest rozliczana poprzez>) + relation 163181 ---- name "jest rozliczana poprzez>" + a role_name "" multiplicity "1" private + classrelation_ref 172909 // (jest rozliczana poprzez>) + b role_name "" multiplicity "1..*" private + classrelation_ref 172781 // (jest rozliczana poprzez>) + end end class 151405 "Wydane_10" @@ -1566,6 +1702,460 @@ format 224 activitydiagramsettings end + class 173165 "Potwierdzenie_Transakcji" + visibility package stereotype "Wynik Czynnosci Finansowej" + cpp_decl "" + java_decl "" + php_decl "" + python_2_2 python_decl "" + idl_decl "" + explicit_switch_type "" + mysql_decl "" + + classrelation 174061 // (wydaje>) + relation_ref 163821 // wydaje> + end + end + + class 173037 "Sprawdzenie_Stanu_Konta" + visibility package stereotype "Transakcja" + cpp_decl "" + java_decl "" + php_decl "" + python_2_2 python_decl "" + idl_decl "" + explicit_switch_type "" + mysql_decl "" + + classrelation 173805 // ( + relation 165101 ---> + a role_name "" private + classrelation_ref 175469 // + b parent class_ref 173165 // Potwierdzenie_Transakcji + end + + operation 139373 "AddUserHistory" + public explicit_return_type "" + nparams 0 + + + + + + end + end + + class 172909 "Wyplata_Gotowki" + visibility package stereotype "Transakcja" + cpp_decl "" + java_decl "" + php_decl "" + python_2_2 python_decl "" + idl_decl "" + explicit_switch_type "" + mysql_decl "" + + classrelation 172781 // (jest rozliczana poprzez>) + relation_ref 163181 // jest rozliczana poprzez> + end + + classrelation 173037 // (dziedziczy po>) + relation 163309 ---- name "dziedziczy po>" + a role_name "" multiplicity "1" private + classrelation_ref 173037 // (dziedziczy po>) + b role_name "" multiplicity "*" private + classrelation_ref 173165 // (dziedziczy po>) + end + + classrelation 173293 // (dokonuje>) + relation 163437 ---- name "dokonuje>" + a role_name "" multiplicity "1" private + classrelation_ref 173293 // (dokonuje>) + b role_name "" multiplicity "*" private + classrelation_ref 173421 // (dokonuje>) + end + + attribute 140653 "kwota:Waluta" + private explicit_type "" + cpp_decl "" + java_decl "" + php_decl "" + python_decl "" + idl_decl "" + mysql_decl "" + MysqlColumn + end + + classrelation 173549 // (dokonuje>) + relation 163565 ---- name "dokonuje>" + a role_name "" multiplicity "1" private + classrelation_ref 173549 // (dokonuje>) + b role_name "" multiplicity "*" private + classrelation_ref 173677 // (dokonuje>) + end + + classrelation 175725 // (tworzy) + relation 165357 ---> name "tworzy" + a role_name "" multiplicity "0..1" private + classrelation_ref 175725 // (tworzy) + b multiplicity "1" parent class_ref 173165 // Potwierdzenie_Transakcji + end + end + + class 172781 "Wplata_Gotowki" + visibility package stereotype "Transakcja" + cpp_decl "" + java_decl "" + php_decl "" + python_2_2 python_decl "" + idl_decl "" + explicit_switch_type "" + mysql_decl "" + + classrelation 171757 // () + relation 162797 ---- name "dziedziczy po>" + a role_name "" multiplicity "1" private + classrelation_ref 172013 // (dziedziczy po>) + b role_name "" multiplicity "*" private + classrelation_ref 172141 // (dziedziczy po>) + end + + classrelation 172269 // (dokonuje>) + relation 162925 ---- name "dokonuje>" + a role_name "" multiplicity "1" private + classrelation_ref 172269 // (dokonuje>) + b role_name "" multiplicity "*" private + classrelation_ref 172397 // (dokonuje>) + end + + attribute 140525 "kwota:Waluta" + private explicit_type "" + cpp_decl "" + java_decl "" + php_decl "" + python_decl "" + idl_decl "" + mysql_decl "" + MysqlColumn + end + + classrelation 172525 // (dokonuje>) + relation 163053 ---- name "dokonuje>" + a role_name "" multiplicity "1" private + classrelation_ref 172525 // (dokonuje>) + b role_name "" multiplicity "*" private + classrelation_ref 172653 // (dokonuje>) + end + + classrelation 175597 // (tworzy) + relation 165229 ---> name "tworzy" + a role_name "" multiplicity "0..1" private + classrelation_ref 175597 // (tworzy) + b multiplicity "1" parent class_ref 173165 // Potwierdzenie_Transakcji + end + end + + class 172653 "Operator_Kart_Platniczych" + visibility package stereotype "Organizacja" + cpp_decl "" + java_decl "" + php_decl "" + python_2_2 python_decl "" + idl_decl "" + explicit_switch_type "" + mysql_decl "" + + classrelation 171245 // ( name "obsluguje" + a role_name "" multiplicity "1..*" private + classrelation_ref 174957 // (obsluguje) + b multiplicity "1" parent class_ref 172397 // Karta + end + end + + class 172525 "Bank" + visibility package stereotype "Organizacja" + cpp_decl "" + java_decl "" + php_decl "" + python_2_2 python_decl "" + idl_decl "" + explicit_switch_type "" + mysql_decl "" + + classrelation 170989 // ( name "obsluguje" + a role_name "" multiplicity "1..*" private + classrelation_ref 174829 // (obsluguje) + b multiplicity "1" parent class_ref 172397 // Karta + end + end + + class 172397 "Karta" + visibility package stereotype "Obiekt Fizyczny" + cpp_decl "" + java_decl "" + php_decl "" + python_2_2 python_decl "" + idl_decl "" + explicit_switch_type "" + mysql_decl "" + + classrelation 169709 // ( + relation 161901 ---- + a role_name "" private + classrelation_ref 170221 // + b role_name "" private + classrelation_ref 170349 // + end + + classrelation 170477 // () + relation_ref 161389 // wymaga> + end + + classrelation 169453 // () + relation 161133 ---- name "posiada>" + a role_name "" multiplicity "1" private + classrelation_ref 168685 // (posiada>) + b role_name "" multiplicity "1..*" private + classrelation_ref 168813 // (posiada>) + end + + operation 138349 "IsHardwareOk" + public explicit_return_type "" + nparams 0 + + + + + + end + + operation 138477 "AreNotesToBePicked" + public explicit_return_type "" + nparams 0 + + + + + + end + + operation 138605 "AreConfirmationToBePicked" + public explicit_return_type "" + nparams 0 + + + + + + end + + operation 138733 "AreCardToBePicked" + public explicit_return_type "" + nparams 0 + + + + + + end + + classrelation 168941 // (posiada>) + relation 161261 ---- name "posiada>" + a role_name "" multiplicity "1" private + classrelation_ref 168941 // (posiada>) + b role_name "" multiplicity "1..*" private + classrelation_ref 169069 // (posiada>) + end + + classrelation 174573 // (obsluguje) + relation 164205 ---> name "obsluguje" + a role_name "" multiplicity "*" private + classrelation_ref 174573 // (obsluguje) + b multiplicity "1" parent class_ref 172013 // Banknoty + end + end + sequencediagram 128507 "1-1-wlorzenieidentyfikatora" sequencediagramsettings end overlapping_bars size A4 @@ -1579,11 +2169,219 @@ format 224 end end + class 171885 "Bankomat" + visibility package stereotype "Obiekt Fizyczny" + cpp_decl "" + java_decl "" + php_decl "" + python_2_2 python_decl "" + idl_decl "" + explicit_switch_type "" + mysql_decl "" + + classrelation 167405 // (posiada>) + relation_ref 160493 // posiada> + end + + classrelation 167661 // (konserwuje>) + relation_ref 160621 // konserwuje> + end + + classrelation 167917 // (ma>) + relation_ref 160749 // ma> + end + + classrelation 168173 // (dokonuje>) + relation_ref 160877 // dokonuje> + end + + classrelation 168429 // (dokonuje>) + relation_ref 161005 // dokonuje> + end + + attribute 139757 "nr_seryjny" + private explicit_type "" + cpp_decl "" + java_decl "" + php_decl "" + python_decl "" + idl_decl "" + mysql_decl "" + MysqlColumn + end + + operation 137069 "EnterSafeMode" + public explicit_return_type "" + nparams 0 + + + + + + end + + operation 137197 "InsertCard" + public explicit_return_type "" + nparams 0 + + + + + + end + + operation 137325 "ReturnCard" + public explicit_return_type "" + nparams 0 + + + + + + end + + operation 137453 "InsertPIN" + public explicit_return_type "" + nparams 0 + + + + + + end + + operation 137581 "IncreaseFailStreak" + public explicit_return_type "" + nparams 0 + + + + + + end + + operation 137709 "ChooseOption" + public explicit_return_type "" + nparams 0 + + + + + + end + + operation 137837 "EnterDepositMode" + public explicit_return_type "" + nparams 0 + + + + + + end + + operation 137965 "InsertDepositValue" + public explicit_return_type "" + nparams 0 + + + + + + end + + operation 138093 "CloseNotesLid" + public explicit_return_type "" + nparams 0 + + + + + + end + + operation 138221 "SetConfirmationToPrintState" + public explicit_return_type "" + nparams 0 + + + + + + end + + classrelation 169069 // (posiada>) + relation_ref 161261 // posiada> + end + + classrelation 172653 // (dokonuje>) + relation_ref 163053 // dokonuje> + end + + classrelation 173677 // (dokonuje>) + relation_ref 163565 // dokonuje> + end + + classrelation 174317 // (wywoluje) + relation 163949 ---> name "wywoluje" + a role_name "" multiplicity "*" private + classrelation_ref 174317 // (wywoluje) + b multiplicity "1" parent class_ref 172269 // Weryfikacja_Uzytkownika + end + + classrelation 174445 // (ma) + relation 164077 ---> name "ma" + a role_name "" multiplicity "*" private + classrelation_ref 174445 // (ma) + b multiplicity "1" parent class_ref 172141 // Sensory + end + + classrelation 174701 // (obsluguje) + relation 164333 ---> name "obsluguje" + a role_name "" multiplicity "0..1" private + classrelation_ref 174701 // (obsluguje) + b multiplicity "1" parent class_ref 172397 // Karta + end + + classrelation 175085 // (tworzy) + relation 164717 ---> name "tworzy" + a role_name "" multiplicity "*" private + classrelation_ref 175085 // (tworzy) + b multiplicity "1" parent class_ref 172909 // Wyplata_Gotowki + end + + classrelation 175213 // (tworzy) + relation 164845 ---> name "tworzy" + a role_name "" multiplicity "*" private + classrelation_ref 175213 // (tworzy) + b multiplicity "1" parent class_ref 172781 // Wplata_Gotowki + end + + classrelation 175341 // (tworzy) + relation 164973 ---> name "tworzy" + a role_name "" multiplicity "*" private + classrelation_ref 175341 // (tworzy) + b multiplicity "1" parent class_ref 173037 // Sprawdzenie_Stanu_Konta + end + end + sequencediagram 128635 "1-2-autentykacja" sequencediagramsettings end overlapping_bars size A4 end + class 172013 "Banknoty" + visibility package stereotype "Rzeczy w Kontenerze" + cpp_decl "" + java_decl "" + php_decl "" + python_2_2 python_decl "" + idl_decl "" + explicit_switch_type "" + mysql_decl "" + + end + sequencediagram 128891 "1-3-wyburopcjiwmenu" sequencediagramsettings end overlapping_bars size A4 @@ -1731,5 +2529,10 @@ format 224 mysql_decl "" end + + classdiagram 149613 "design-model" + classdiagramsettings draw_all_relations no member_max_width 0 end + size A4 + end end end