diff --git a/.idea/.gitignore b/.idea/.gitignore new file mode 100644 index 0000000..1d1c1a3 --- /dev/null +++ b/.idea/.gitignore @@ -0,0 +1,8 @@ +# Default ignored files +/shelf/ +/workspace.xml +# Datasource local storage ignored files +/../../../../../:\IntelliJ_IDEA\IntelliJ projects\APO\.idea/dataSources/ +/dataSources.local.xml +# Editor-based HTTP Client requests +/httpRequests/ diff --git a/.idea/APO.iml b/.idea/APO.iml new file mode 100644 index 0000000..d6ebd48 --- /dev/null +++ b/.idea/APO.iml @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file diff --git a/.idea/dictionaries/Pawe_ukaszewicz.xml b/.idea/dictionaries/Pawe_ukaszewicz.xml new file mode 100644 index 0000000..75c16d1 --- /dev/null +++ b/.idea/dictionaries/Pawe_ukaszewicz.xml @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml new file mode 100644 index 0000000..f820c64 --- /dev/null +++ b/.idea/misc.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 0000000..c635082 --- /dev/null +++ b/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..35eb1dd --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..e69de29 diff --git a/models/121.session b/models/121.session new file mode 100644 index 0000000..6ad1d48 --- /dev/null +++ b/models/121.session @@ -0,0 +1,9 @@ +window_sizes 1920 1001 466 1448 811 128 + +show_stereotypes +selected sequencediagram_ref 128761 // 3-6-potwierdzeniePrzelewu +open + classview_ref 128002 // domain + classview_ref 134530 // design +end +end diff --git a/models/122.session b/models/122.session new file mode 100644 index 0000000..1fc6538 --- /dev/null +++ b/models/122.session @@ -0,0 +1,13 @@ +window_sizes 1920 1001 450 1464 811 128 + +diagrams + active classdiagram_ref 128002 // domain-model + 1464 811 90 B-Landscape 0 0 +end +show_stereotypes +selected classrelation_ref 131458 // +open + class_ref 128002 // Bankomat + class_ref 129026 // Serwisant +end +end diff --git a/models/128002.diagram b/models/128002.diagram new file mode 100644 index 0000000..531fee9 --- /dev/null +++ b/models/128002.diagram @@ -0,0 +1,193 @@ +format 224 + +classcanvas 128130 class_ref 128002 // Bankomat + classdiagramsettings member_max_width 0 end + xyzwh 869.4 434.54 2000 167 114 +end +classcanvas 128258 class_ref 128130 // Got體ka + classdiagramsettings member_max_width 0 end + xyzwh 1180.79 436.25 2005 104 110 +end +classcanvas 128386 class_ref 128258 // Karta + classdiagramsettings member_max_width 0 end + xyzwh 297.65 26.73 2005 149 109 +end +classcanvas 128514 class_ref 128386 // BLIK + classdiagramsettings member_max_width 0 end + xyzwh 324.16 784.07 2000 95 127 +end +classcanvas 128642 class_ref 128514 // Wyplata + classdiagramsettings member_max_width 0 end + xyzwh 61.51 792.01 2000 107 112 +end +classcanvas 128770 class_ref 128642 // Wplata + classdiagramsettings member_max_width 0 end + xyzwh 530.23 805.86 2000 123 77 +end +classcanvas 128898 class_ref 128770 // Klient + classdiagramsettings member_max_width 0 end + xyzwh 587.15 206.05 2000 209 148 +end +classcanvas 129026 class_ref 128898 // Konwojent + classdiagramsettings member_max_width 0 end + xyzwh 1143.36 215.83 2000 170 75 +end +classcanvas 129154 class_ref 129026 // Serwisant + classdiagramsettings member_max_width 0 end + xyzwh 852.97 217.93 2000 190 100 +end +classcanvas 129282 class_ref 129154 // Bank + classdiagramsettings member_max_width 0 end + xyzwh 62.19 234.51 2000 127 114 +end +classcanvas 129410 class_ref 129282 // Konto + classdiagramsettings member_max_width 0 end + xyzwh 299.53 232.71 2000 145 104 +end +classcanvas 129538 class_ref 129410 // Przelew + classdiagramsettings member_max_width 0 end + xyzwh 40.7 513.46 2000 129 80 +end +classcanvas 129666 class_ref 129538 // System_Transakcji + classdiagramsettings member_max_width 0 end + xyzwh 274.05 425.49 2000 195 113 +end +classcanvas 129794 class_ref 129666 // Potwierdzenie + classdiagramsettings member_max_width 0 end + xyzwh 294.47 942.17 2000 147 100 +end +classcanvas 129922 class_ref 129794 // PIN + classdiagramsettings member_max_width 0 end + xyzwh 588.12 40.37 2000 101 76 +end +classcanvas 130050 class_ref 129922 // Transakcja + classdiagramsettings member_max_width 0 end + xyzwh 287.61 579.83 2000 181 136 +end +classcanvas 130178 class_ref 130050 // Ekran_Bankomatu + classdiagramsettings member_max_width 0 end + xyzwh 862.25 642.9 2005 173 99 +end +relationcanvas 128762 relation_ref 128122 // posiada + from ref 130178 z 2006 label "posiada" italic max_width 255 xyz 916 572 2006 to ref 128130 + no_role_a no_role_b + multiplicity_a_pos 926 556 3000 multiplicity_b_pos 925 613 3000 +end +relationcanvas 130042 relation_ref 128250 // wplaca + from ref 129026 z 2006 label "wplaca" italic max_width 255 xyz 1198 341 2006 to ref 128258 + no_role_a no_role_b + multiplicity_a_pos 1206 407 3000 multiplicity_b_pos 1203 299 3000 +end +relationcanvas 132610 relation_ref 128770 // posiada + geometry HV unfixed + decenter_begin 537 + from ref 129410 z 2001 label "posiada" italic max_width 255 xyz 481 262 2001 to point 584 285 + line 130298 z 2001 to ref 128898 + no_role_a no_role_b + multiplicity_a_pos 570 294 3000 multiplicity_b_pos 454 297 3000 +end +relationcanvas 132738 relation_ref 128898 // daje_dostep + from ref 128386 z 2006 label "daje_dostep" italic max_width 255 xyz 332 160 2006 to ref 129410 + no_role_a no_role_b + multiplicity_a_pos 351 204 3000 multiplicity_b_pos 348 144 3000 +end +relationcanvas 132866 relation_ref 129026 // posiada + decenter_begin 532 + decenter_end 537 + from ref 129282 z 2001 label "posiada" italic max_width 255 xyz 210 269 2001 to ref 129410 + no_role_a no_role_b + multiplicity_a_pos 278 297 3000 multiplicity_b_pos 201 305 3000 +end +relationcanvas 132994 relation_ref 129154 // posiada + from ref 129922 z 2006 label "posiada" italic max_width 255 xyz 482 55 2006 to ref 128386 + no_role_a no_role_b + multiplicity_a_pos 457 86 3000 multiplicity_b_pos 563 85 3000 +end +relationcanvas 133122 relation_ref 129282 // posiada + from ref 129794 z 2001 label "posiada" italic max_width 255 xyz 170 967 2001 to point 111 987 + line 138754 z 2001 to ref 128642 + no_role_a no_role_b + multiplicity_a_pos 90 912 3000 multiplicity_b_pos 269 999 3000 +end +relationcanvas 133250 relation_ref 129410 // posiada + decenter_begin 456 + decenter_end 430 + from ref 129794 z 2001 label "posiada" italic max_width 255 xyz 479 965 2001 to point 583 983 + line 138626 z 2001 to point 582 889 + line 139138 z 2001 to ref 128770 + no_role_a no_role_b + multiplicity_a_pos 561 890 3000 multiplicity_b_pos 452 996 3000 +end +relationcanvas 133506 relation_ref 129666 // naprawia + from ref 128130 z 2001 label "naprawia" italic max_width 255 xyz 912 352 2001 to ref 129154 + no_role_a no_role_b + multiplicity_a_pos 924 324 3000 multiplicity_b_pos 931 405 3000 +end +relationcanvas 134402 relation_ref 130562 // posiada + from ref 128130 z 2006 label "posiada" italic max_width 255 xyz 1073 467 2006 to ref 128258 + no_role_a no_role_b + multiplicity_a_pos 1157 500 3000 multiplicity_b_pos 1046 500 3000 +end +relationcanvas 134530 relation_ref 130690 // posiada + from ref 128514 z 2001 label "posiada" italic max_width 255 xyz 214 825 2001 to ref 128642 + no_role_a no_role_b + multiplicity_a_pos 180 856 3000 multiplicity_b_pos 300 856 3000 +end +relationcanvas 134658 relation_ref 130818 // posiada + from ref 128514 z 2001 label "posiada" italic max_width 255 xyz 440 822 2001 to ref 128770 + no_role_a no_role_b + multiplicity_a_pos 506 852 3000 multiplicity_b_pos 430 855 3000 +end +relationcanvas 134914 relation_ref 131074 // obsluguje + from ref 129666 z 2001 label "obsluguje" italic max_width 255 xyz 334 370 2001 to ref 129410 + no_role_a no_role_b + multiplicity_a_pos 348 345 3000 multiplicity_b_pos 351 396 3000 +end +relationcanvas 135042 relation_ref 131202 // posiada + geometry HV unfixed + decenter_end 458 + from ref 129666 z 2001 label "posiada" italic max_width 255 xyz 164 470.5 2001 to point 118 478 + line 130170 z 2001 to ref 129282 + no_role_a no_role_b + multiplicity_a_pos 102 355 3000 multiplicity_b_pos 255 488 3000 +end +relationcanvas 136706 relation_ref 131330 // nadzoruje + decenter_end 465 + from ref 129666 z 2001 label "nadzoruje" italic max_width 255 xyz 332 535 2001 to ref 130050 + no_role_a no_role_b + multiplicity_a_pos 351 551 3000 multiplicity_b_pos 352 546 3000 +end +relationcanvas 137218 relation_ref 131586 // posiada + decenter_end 85 + from ref 129538 z 2001 label "posiada" italic max_width 255 xyz 193 559 2001 to ref 130050 + no_role_a no_role_b + multiplicity_a_pos 263 602 3000 multiplicity_b_pos 180 584 3000 +end +relationcanvas 137346 relation_ref 131714 // posiada + geometry HV unfixed + decenter_begin 532 + from ref 130050 z 2001 label "posiada" italic max_width 255 xyz 166 627 2001 to point 112 649 + line 128634 z 2001 to ref 128642 + no_role_a no_role_b + multiplicity_a_pos 91 762 3000 multiplicity_b_pos 263 661 3000 +end +relationcanvas 137474 relation_ref 131842 // autoryzuje + decenter_begin 465 + from ref 130050 z 2001 label "autoryzuje" italic max_width 255 xyz 331 725 2001 to ref 128514 + no_role_a no_role_b + multiplicity_a_pos 347 755 3000 multiplicity_b_pos 348 725 3000 +end +relationcanvas 137602 relation_ref 138370 // posiada + decenter_begin 536 + from ref 130050 z 2001 label "posiada" italic max_width 255 xyz 494 631 2001 to point 586 654 + line 137730 z 2001 to point 586 754 + line 137858 z 2001 to ref 128770 + no_role_a no_role_b + multiplicity_a_pos 566 776 3000 multiplicity_b_pos 480 662 3000 +end +relationcanvas 139010 relation_ref 138498 // obsluguje + from ref 129666 z 2001 label "obsluguje" italic max_width 255 xyz 630 462 2001 to ref 128130 + no_role_a no_role_b + multiplicity_a_pos 850 496 3000 multiplicity_b_pos 481 490 3000 +end +end diff --git a/models/128005.diagram b/models/128005.diagram new file mode 100644 index 0000000..e8dd282 --- /dev/null +++ b/models/128005.diagram @@ -0,0 +1,3 @@ +format 224 + +end diff --git a/models/134530.diagram b/models/134530.diagram new file mode 100644 index 0000000..4d96ae8 --- /dev/null +++ b/models/134530.diagram @@ -0,0 +1,3 @@ +format 223 + +end diff --git a/models/134533_5.d b/models/134533_5.d new file mode 100644 index 0000000..e8dd282 --- /dev/null +++ b/models/134533_5.d @@ -0,0 +1,3 @@ +format 224 + +end diff --git a/models/134661.diagram b/models/134661.diagram new file mode 100644 index 0000000..765e3be --- /dev/null +++ b/models/134661.diagram @@ -0,0 +1,21 @@ +format 224 + +classinstancecanvas 128005 classinstance_ref 134533 // + xyz 59 4 2005 life_line_z 2000 +end +classinstancecanvas 128133 classinstance_ref 134917 // + xyz 162 4 2005 life_line_z 2000 +end +durationcanvas 128261 classinstance_ref 128005 // :Klient + xyzwh 75 82 2010 11 40 +end +durationcanvas 128389 classinstance_ref 128133 // :Bankomat + xyzwh 197 82 2010 11 25 +end +msg 128517 synchronous + from durationcanvas_ref 128261 + to durationcanvas_ref 128389 + yz 82 2015 explicitmsg "wybierzWyplata()" + show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default + label_xy 85 65 +end diff --git a/models/134661_5.d b/models/134661_5.d new file mode 100644 index 0000000..765e3be --- /dev/null +++ b/models/134661_5.d @@ -0,0 +1,21 @@ +format 224 + +classinstancecanvas 128005 classinstance_ref 134533 // + xyz 59 4 2005 life_line_z 2000 +end +classinstancecanvas 128133 classinstance_ref 134917 // + xyz 162 4 2005 life_line_z 2000 +end +durationcanvas 128261 classinstance_ref 128005 // :Klient + xyzwh 75 82 2010 11 40 +end +durationcanvas 128389 classinstance_ref 128133 // :Bankomat + xyzwh 197 82 2010 11 25 +end +msg 128517 synchronous + from durationcanvas_ref 128261 + to durationcanvas_ref 128389 + yz 82 2015 explicitmsg "wybierzWyplata()" + show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default + label_xy 85 65 +end diff --git a/models/134789.diagram b/models/134789.diagram new file mode 100644 index 0000000..f9080e1 --- /dev/null +++ b/models/134789.diagram @@ -0,0 +1,21 @@ +format 224 + +classinstancecanvas 128005 classinstance_ref 135045 // + xyz 81 4 2005 life_line_z 2000 +end +classinstancecanvas 128133 classinstance_ref 135173 // + xyz 227 4 2005 life_line_z 2000 +end +durationcanvas 128389 classinstance_ref 128005 // :Klient + xyzwh 97 98 2010 11 40 +end +durationcanvas 128517 classinstance_ref 128133 // :Bankomat + xyzwh 262 98 2010 11 25 +end +msg 128645 synchronous + from durationcanvas_ref 128389 + to durationcanvas_ref 128517 + yz 98 2015 explicitmsg "wyborKwoty()" + show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default + label_xy 141 81 +end diff --git a/models/134917.diagram b/models/134917.diagram new file mode 100644 index 0000000..49d14e2 --- /dev/null +++ b/models/134917.diagram @@ -0,0 +1,90 @@ +format 224 + +classinstancecanvas 128005 classinstance_ref 135429 // + xyz 68 4 2005 life_line_z 2000 +end +classinstancecanvas 128133 classinstance_ref 135557 // + xyz 224 4 2005 life_line_z 2000 +end +classinstancecanvas 128261 classinstance_ref 135685 // + xyz 345 4 2005 life_line_z 2000 +end +classinstancecanvas 128389 classinstance_ref 135813 // + xyz 553 4 2005 life_line_z 2000 +end +classinstancecanvas 129669 classinstance_ref 136581 // + xyz 722 4 2005 life_line_z 2000 +end +durationcanvas 128517 classinstance_ref 128133 // :Bankomat + xyzwh 259 85 2010 11 40 +end +durationcanvas 128645 classinstance_ref 128261 // :System_Transakcji + xyzwh 410 85 2010 11 25 +end +durationcanvas 128901 classinstance_ref 128261 // :System_Transakcji + xyzwh 410 115 2010 11 40 +end +durationcanvas 129029 classinstance_ref 128389 // :Transakcja + xyzwh 591 115 2010 11 25 +end +durationcanvas 129285 classinstance_ref 128005 // :Klient + xyzwh 84 65 2010 11 41 +end +durationcanvas 129413 classinstance_ref 128133 // :Bankomat + xyzwh 259 65 2010 11 26 +end +durationcanvas 129797 classinstance_ref 128389 // :Transakcja + xyzwh 591 149 2010 11 40 +end +durationcanvas 129925 classinstance_ref 129669 // :BLIK + xyzwh 741 149 2010 11 25 +end +durationcanvas 130181 classinstance_ref 129669 // :BLIK + xyzwh 741 205 2010 11 40 +end +durationcanvas 130309 classinstance_ref 128389 // :Transakcja + xyzwh 591 205 2010 11 25 +end +durationcanvas 130565 classinstance_ref 128389 // :Transakcja + xyzwh 591 253 2010 11 40 +end +durationcanvas 130693 classinstance_ref 128261 // :System_Transakcji + xyzwh 410 253 2010 11 25 +end +msg 128773 synchronous + from durationcanvas_ref 128517 + to durationcanvas_ref 128645 + yz 85 2015 explicitmsg "wyplata(kwota)" + show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default + label_xy 292 68 +msg 129157 synchronous + from durationcanvas_ref 128901 + to durationcanvas_ref 129029 + yz 115 2015 explicitmsg "newWyplata(kwota, kod)" + show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default + label_xy 427 98 +msg 129541 synchronous + from durationcanvas_ref 129285 + to durationcanvas_ref 129413 + yz 65 2015 explicitmsg "podanieKodu()" + show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default + label_xy 129 51 +msg 130053 synchronous + from durationcanvas_ref 129797 + to durationcanvas_ref 129925 + yz 149 2015 explicitmsg "potwierdzKod(kod)" + show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default + label_xy 610 132 +msg 130437 synchronous + from durationcanvas_ref 130181 + to durationcanvas_ref 130309 + yz 205 2015 explicitmsg "potwierdzenieKodu" + show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default + label_xy 609 188 +msg 130821 synchronous + from durationcanvas_ref 130565 + to durationcanvas_ref 130693 + yz 253 2015 explicitmsg "wykonajTransakcje(potwierdzenieKodu)" + show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default + label_xy 377 236 +end diff --git a/models/135045.diagram b/models/135045.diagram new file mode 100644 index 0000000..d0ef360 --- /dev/null +++ b/models/135045.diagram @@ -0,0 +1,36 @@ +format 224 + +classinstancecanvas 128005 classinstance_ref 135941 // + xyz 22 4 2005 life_line_z 2000 +end +classinstancecanvas 128133 classinstance_ref 136069 // + xyz 169 4 2005 life_line_z 2000 +end +classinstancecanvas 128645 classinstance_ref 136709 // + xyz 304 4 2005 life_line_z 2000 +end +durationcanvas 128773 classinstance_ref 128645 // :System_Transakcji + xyzwh 369 82 2010 11 40 +end +durationcanvas 128901 classinstance_ref 128133 // :Bankomat + xyzwh 204 82 2010 11 25 +end +durationcanvas 129157 classinstance_ref 128133 // :Bankomat + xyzwh 204 133 2010 11 40 +end +durationcanvas 129285 classinstance_ref 128005 // :Klient + xyzwh 38 133 2010 11 25 +end +msg 129029 synchronous + from durationcanvas_ref 128773 + to durationcanvas_ref 128901 + yz 82 2015 explicitmsg "potwierdzenieTransakcji(status)" + show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default + label_xy 189 65 +msg 129413 synchronous + from durationcanvas_ref 129157 + to durationcanvas_ref 129285 + yz 133 2015 explicitmsg "wyplata(kwota)" + show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default + label_xy 78 116 +end diff --git a/models/141573.diagram b/models/141573.diagram new file mode 100644 index 0000000..0e1fd11 --- /dev/null +++ b/models/141573.diagram @@ -0,0 +1,21 @@ +format 224 + +classinstancecanvas 128005 classinstance_ref 134661 // + xyz 56 4 2005 life_line_z 2000 +end +classinstancecanvas 128133 classinstance_ref 134789 // + xyz 188 4 2005 life_line_z 2000 +end +durationcanvas 128261 classinstance_ref 128005 // :Klient + xyzwh 72 91 2010 11 40 +end +durationcanvas 128389 classinstance_ref 128133 // :Bankomat + xyzwh 223 91 2010 11 25 +end +msg 128517 synchronous + from durationcanvas_ref 128261 + to durationcanvas_ref 128389 + yz 91 2015 explicitmsg "wybierzBlik()" + show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default + label_xy 112 74 +end diff --git a/models/141573_5.d b/models/141573_5.d new file mode 100644 index 0000000..0e1fd11 --- /dev/null +++ b/models/141573_5.d @@ -0,0 +1,21 @@ +format 224 + +classinstancecanvas 128005 classinstance_ref 134661 // + xyz 56 4 2005 life_line_z 2000 +end +classinstancecanvas 128133 classinstance_ref 134789 // + xyz 188 4 2005 life_line_z 2000 +end +durationcanvas 128261 classinstance_ref 128005 // :Klient + xyzwh 72 91 2010 11 40 +end +durationcanvas 128389 classinstance_ref 128133 // :Bankomat + xyzwh 223 91 2010 11 25 +end +msg 128517 synchronous + from durationcanvas_ref 128261 + to durationcanvas_ref 128389 + yz 91 2015 explicitmsg "wybierzBlik()" + show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default + label_xy 112 74 +end diff --git a/models/2.session b/models/2.session new file mode 100644 index 0000000..cee9a1a --- /dev/null +++ b/models/2.session @@ -0,0 +1,10 @@ +window_sizes 1800 901 450 1344 715 128 + +diagrams + active classdiagram_ref 134530 // 2-1-wlozKarte + 1171 648 100 A4 0 0 +end +show_stereotypes +selected +package_ref 129 // models +end diff --git a/models/4.session b/models/4.session new file mode 100644 index 0000000..3c79484 --- /dev/null +++ b/models/4.session @@ -0,0 +1,8 @@ +window_sizes 1920 1017 450 1465 860 104 + +show_stereotypes +selected class_ref 129154 // Bank +open + class_ref 128002 // Bankomat +end +end diff --git a/models/5.session b/models/5.session new file mode 100644 index 0000000..0d4e8cd --- /dev/null +++ b/models/5.session @@ -0,0 +1,9 @@ +window_sizes 1278 1368 450 823 1187 128 + +show_stereotypes +selected sequencediagram_ref 134661 // 5-2-wybranieOpcjiWyplata +open + classview_ref 128002 // domain + classview_ref 134530 // design +end +end diff --git a/models/cpp_includes b/models/cpp_includes new file mode 100644 index 0000000..531b86f --- /dev/null +++ b/models/cpp_includes @@ -0,0 +1,13 @@ +// "a type" "needed cpp_includes" +"vector" "#include +using namespace std;" + +"list" "#include +using namespace std;" + +"map" "#include +using namespace std;" + +"string" "#include +using namespace std;" + diff --git a/models/generation_settings b/models/generation_settings new file mode 100644 index 0000000..99e6309 --- /dev/null +++ b/models/generation_settings @@ -0,0 +1,332 @@ + + java_default_defs + cpp_h_extension "h" cpp_src_extension "cpp" cpp_h_add_extensions "" cpp_src_add_extensions "" java_extension "java" php_extension "php" python_extension "py" idl_extension "idl" + cpp_inline_dont_force_incl_in_h + + type_forms 15 // uml cpp java idl cpp_in cpp_out cpp_inout cpp_return + "void" "void" "void" "void" "${type}" "${type} &" "${type}" "${type}" + "any" "void *" "Object" "any" "const ${type}" "${type}" "${type} &" "${type}" + "bool" "bool" "boolean" "boolean" "${type}" "${type} &" "${type} &" "${type}" + "char" "char" "char" "char" "${type}" "${type} &" "${type} &" "${type}" + "uchar" "unsigned char" "char" "octet" "${type}" "${type} &" "${type} &" "${type}" + "byte" "unsigned char" "byte" "octet" "${type}" "${type} &" "${type} &" "${type}" + "short" "short" "short" "short" "${type}" "${type} &" "${type} &" "${type}" + "ushort" "unsigned short" "short" "unsigned short" "${type}" "${type} &" "${type} &" "${type}" + "int" "int" "int" "long" "${type}" "${type} &" "${type} &" "${type}" + "uint" "unsigned int" "int" "unsigned long" "${type}" "${type} &" "${type} &" "${type}" + "long" "long" "long" "long" "${type}" "${type} &" "${type} &" "${type}" + "ulong" "unsigned long" "long" "unsigned long" "${type}" "${type} &" "${type} &" "${type}" + "float" "float" "float" "float" "${type}" "${type} &" "${type} &" "${type}" + "double" "double" "double" "double" "${type}" "${type} &" "${type} &" "${type}" + "string" "string" "String" "string" "${type}" "${type} &" "${type} &" "${type}" + + relations_stereotypes 5 // uml cpp java pythonidl + "sequence" "vector" "Vector" "list" "sequence" + "vector" "vector" "Vector" "list" "sequence" + "list" "list" "List" "list" "sequence" + "set" "set" "Set" "set" "sequence" + "map" "map" "Map" "dict" "sequence" + + classes_stereotypes 17 // uml cpp java php python idl + "class" "class" "class" "class" "class" "valuetype" + "trait" "class" "class" "trait" "class" "valuetype" + "interface" "class" "interface" "interface" "class" "interface" + "exception" "class" "class" "class" "class" "exception" + "enum" "enum" "enum" "enum" "enum" "enum" + "enum_class" "enum_class" "enum" "enum" "enum" "enum" + "enum_pattern" "enum" "enum_pattern" "enum" "enum" "enum" + "struct" "struct" "class" "class" "class" "struct" + "union" "union" "class" "class" "class" "union" + "typedef" "typedef" "ignored" "ignored" "ignored" "typedef" + "template_typedef" "template_typedef" "ignored" "ignored" "ignored" "ignored" + "boundary" "class" "class" "class" "class" "interface" + "control" "class" "class" "class" "class" "valuetype" + "entity" "class" "class" "class" "class" "valuetype" + "actor" "ignored" "ignored" "ignored" "ignored" "ignored" + "@interface" "ignored" "@interface" "ignored" "ignored" "ignored" + "stereotype" "ignored" "ignored" "ignored" "ignored" "ignored" + + cpp_enum_default_type_forms "${type}" "${type} &" "${type} &" "${type}" // in out inout return + other_cpp_types_default_type_forms "const ${type} &" "${type} &" "${type} &" "${type}" // in out inout return + + cpp_default_h_content "#ifndef ${NAMESPACE}_${NAME}_H +#define ${NAMESPACE}_${NAME}_H + +${comment} +${includes} +${declarations} +${namespace_start} +${definition} +${namespace_end} +#endif +" + cpp_default_src_content "${comment} +${includes} +${namespace_start} +${members} +${namespace_end}" + cpp_default_class_decl "${comment}${template}class ${name}${inherit} { +${members}}; +${inlines} +" + cpp_default_external_class_decl "${name} +#include <${name}.h> +" + cpp_default_struct_decl "${comment}${template}struct ${name}${inherit} { +${members}}; +${inlines} +" + cpp_default_union_decl "${comment}${template}union ${name} { +${members}}; +${inlines} +" + cpp_default_enum_decl "${comment}enum ${name} { +${items}}; +" + cpp_default_enumclass_decl "${comment}enum class ${name} { +${items}}; +" + cpp_default_typedef_decl "${comment}typedef ${type} ${name}; +"cpp_default_template_typedef_decl "${comment}${template}using ${name} = ${inherit}; +" + cpp_default_attribute_declaration " ${comment}${static}${thread_local}${mutable}${volatile}${const}${type} ${name}${value}; +" // multiplicity 1 + " ${comment}${static}${thread_local}${mutable}${volatile}${const}${stereotype}<${type}> ${name}${value}; +" // multiplicity * a..b + " ${comment}${static}${thread_local}${mutable}${volatile}${const}${type} ${name}${multiplicity}${value}; +" // multiplicity [..] + cpp_default_enum_item_declaration " ${name}${value},${comment}" + cpp_association_aggregation_declaration + " ${comment}${static}${thread_local}${mutable}${volatile}${const}${type} * ${name}${value}; +" // multiplicity 1 + " ${comment}${static}${thread_local}${mutable}${volatile}${const}${stereotype}<${type} *> ${name}${value}; +" // multiplicity * a..b + " ${comment}${static}${thread_local}${mutable}${volatile}${const}${type} * ${name}${multiplicity}${value}; +" // multiplicity [..] + cpp_aggregation_by_value_declaration + " ${comment}${static}${thread_local}${mutable}${volatile}${const}${type} ${name}${value}; +" // multiplicity 1 + " ${comment}${static}${thread_local}${mutable}${volatile}${const}${stereotype}<${type}> ${name}${value}; +" // multiplicity * a..b + " ${comment}${static}${thread_local}${mutable}${volatile}${const}${type} ${name}${multiplicity}${value}; +" // multiplicity [..] + cpp_get "get_${name}" inline const value_const public + cpp_set "set_${name}" public + cpp_default_operation_declaration " ${comment}${friend}${static}${inline}${virtual}${typeprefix}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract}; +" + cpp_default_operation_definition "${comment}${inline}${typeprefix}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{ + ${body}} +" + cpp_indent_visibility " " cpp_indent_friendclass " " cpp_indent_subclass " " + java_default_src_content "${comment} +${package} +${imports} +${definition}" + java_default_class_decl "${comment}${@}${visibility}${static}${final}${abstract}class ${name}${extends}${implements} { +${members}} +" + java_default_external_class_decl "${name}" + java_default_interface_decl "${comment}${@}${visibility}${static}interface ${name}${extends} { +${members}} +" + java5_default_enum_decl "${comment}${@}${visibility}${static}${final}${abstract}enum ${name}${implements} { +${items}; +${members}} +" + java_default_enum_decl "${comment}${@}${visibility}${static}$final class ${name} { +${members} + private final int value; + + public int value() { + return value; + } + + public static ${name} fromInt(int value) { + switch (value) { +${cases} default: throw new Error(); + } + + } + private ${name}(int v) { value = v; }; +} +" + java_default_attribute_declaration " ${comment}${@}${visibility}${static}${final}${transient}${volatile}${type} ${name}${value}; +" // multiplicity 1 + " ${comment}${@}${visibility}${static}${final}${transient}${volatile}${stereotype}<${type}> ${name}${value}; +" // multiplicity * a..b + " ${comment}${@}${visibility}${static}${final}${transient}${volatile}${type}${multiplicity} ${name}${value}; +" // multiplicity N + java5_default_enum_item_declaration " ${@}${name}${value},${comment}" + java_default_enum_item_declaration " ${comment}${@}public static final int _${name}${value}; +public static final ${class} ${name} = new ${class}(_${name}); +" + java_default_enum_case " case _${name}: return ${name}; +" + java_association_aggregation_declaration + " ${comment}${@}${visibility}${static}${final}${transient}${volatile}${type} ${name}${value}; +" // multiplicity 1 + " ${comment}${@}${visibility}${static}${final}${transient}${volatile}${stereotype}<${type}> ${name}${value}; +" // multiplicity * a..b + " ${comment}${@}${visibility}${static}${final}${transient}${volatile}${type}${multiplicity} ${name}${value}; +" // multiplicity N + java_get "get${Name}" final public + java_set "set${Name}" public + java_default_operation_definition " ${comment}${@}${visibility}${final}${static}${abstract}${synchronized}${type} ${name}${(}${)}${throws}${staticnl}{ + ${body}} +" + php_default_src_content " +" + php_default_class_decl "${comment}${final}${abstract}class ${name}${extends}${implements} { +${members}} +" + php_default_enum_decl "${comment}${visibility}final class ${name} { +${items}} +" + php_default_external_class_decl "${name}" + php_default_interface_decl "${comment}interface ${name}${extends} { +${members}} +" + php_default_trait_decl "${comment}trait ${name} { +${members}} +" + php_default_attribute_declaration " ${comment}${visibility}${const}${static}${var}${name}${value}; +" + php_default_enum_item_decl " const ${name}${value};${comment} +" + php_default_relation_declaration" ${comment}${visibility}${const}${static}${var}${name}${value}; +" + php_get "get${Name}" final + php_set "set${Name}" + php_default_operation_definition " ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}${type} +{ + ${body}} +" + php_param_typed php_out_inout_by_ref python_2_2 + python_indent_step " " + python_default_src_content "${comment} +${import} +${definition}" + python_default_class_decl "class ${name}${inherit}: +${docstring}${members} +" + python_default_enum_decl "class ${name}: +${docstring}${members} +" + python_default_external_class_decl "${name}" + python_default_attribute_declaration "${comment}${self}${name} = ${value} +" // multiplicity 1 + "${comment}${self}${name} = ${stereotype}() +" // multiplicity != 1 + python_default_enum_item_decl "${comment}${self}${name} = ${value} +" + python_default_relation_declaration"${comment}${self}${name} = ${value} +" // multiplicity 1 + "${comment}${self}${name} = ${stereotype}() +" // multiplicity != 1 + python_default_composition_declaration"${comment}${self}${name} = ${type}() +" // multiplicity 1 + "${comment}${self}${name} = ${stereotype}() +" // multiplicity != 1 + python_default_operation_definition "${@}${static}${abstract}def ${name}${(}${)}: +${docstring}${body} +" + python_default_initoperation_definition "${@}${static}${abstract}def ${name}${(}${p0}${v0}${)}: +${docstring}super(${class}, ${p0}).__init__() +${body} +" + python_get "get${Name}" + python_set "set${Name}" + idl_default_src_content "#ifndef ${MODULE}_${NAME}_H +#define ${MODULE}_${NAME}_H + +${comment} +${includes} +${module_start} +${definition} +${module_end} +#endif +" + idl_default_interface_decl "${comment}${abstract}${local}interface ${name}${inherit} { +${members}}; +" + idl_default_valuetype_decl "${comment}${abstract}${custom}valuetype ${name}${inherit} { +${members}}; +" + idl_default_struct_decl "${comment}struct ${name} { +${members}}; +" + idl_default_typedef_decl "${comment}typedef ${type} ${name}; +" + idl_default_exception_decl "${comment}exception ${name} { +${members}}; +" + idl_default_union_decl "${comment}union ${name} switch(${switch}) { +${members}}; +" + idl_default_enum_decl "${comment}enum ${name} { +${items}}; +" + idl_default_external_class_decl "${name} +#include \"${name}.idl\" +" + idl_default_attribute_declaration " ${comment}${readonly}${attribute}${type} ${name}; +" // multiplicity 1 + " ${comment}${readonly}${attribute}${stereotype}<${type}> ${name}; +" // multiplicity * a..b + " ${comment}${readonly}${attribute}${stereotype}<${type},${multiplicity}> ${name}; +" // multiplicity N + idl_default_valuetype_attribute_declaration " ${comment}${visibility}${type} ${name}; +" // multiplicity 1 + " ${comment}${visibility}${stereotype}<${type}> ${name}; +" // multiplicity * a..b + " ${comment}${visibility}${stereotype}<${type},${multiplicity}> ${name}; +" // multiplicity N + idl_default_const_declaration " ${comment}const ${type} ${name}${value}; +" // multiplicity 1 + " ${comment}const ${stereotype}<${type}> ${name}${value}; +" // multiplicity * a..b + " ${comment}const ${stereotype}<${type},${multiplicity}> ${name}${value}; +" // multiplicity N + idl_default_enum_item_declaration " ${name},${comment}" + idl_default_union_item_declaration " ${comment}case ${case} : ${readonly}${type} ${name};" // multiplicity 1 + " ${comment}case ${case} : ${readonly}${stereotype}<${type}> ${name};" // multiplicity * a..b + " ${comment}case ${case} : ${readonly}${stereotype}<${type},${multiplicity}> ${name};" // multiplicity N + idl_association_aggregation_declaration + " ${comment}${readonly}${attribute}${type} ${name}; +" // multiplicity 1 + " ${comment}${readonly}${attribute}${stereotype}<${type}> ${name}; +" // multiplicity * a..b + " ${comment}${readonly}${attribute}${stereotype}<${type},${multiplicity}> ${name}; +" // multiplicity N + idl_valuetype_association_aggregation_declaration + " ${comment}${visibility}${type} ${name}; +" // multiplicity 1 + " ${comment}${visibility}${stereotype}<${type}> ${name}; +" // multiplicity * a..b + " ${comment}${visibility}${stereotype}<${type},${multiplicity}> ${name}; +" // multiplicity N + idl_union_association_aggregation_declaration + " ${comment}case ${case} : ${readonly}${type} ${name};" // multiplicity 1 + " ${comment}case ${case} : ${readonly}${stereotype}<${type}> ${name};" // multiplicity * a..b + " ${comment}case ${case} : ${readonly}${stereotype}<${type},${multiplicity}> ${name};" // multiplicity N + idl_get "get_${name}" + idl_set "set_${name}" twoways + idl_default_operation_declaration " ${comment}${oneway}${type} ${name}${(}${)}${raisesnl}${raises}; +" + mysqldefault_src_content "${comment}CREATE DATABASE IF NOT EXISTS ${name}; +use ${name}; + +${definition}" + mysql_default_table_decl "DROP TABLE IF EXISTS ${name}; +CREATE TABLE ${name} ${definition}${comment}; +" + mysql_default_column_decl " ${name} ${type}${notnull}${default}${autoincr}${comment}" + mysql_default_key_decl " ${constraint}${modifier}KEY${name}${type} (${columns})${ref}${comment}" + uml_get_name uml uml_set_name uml +end diff --git a/models/idl_includes b/models/idl_includes new file mode 100644 index 0000000..fceab64 --- /dev/null +++ b/models/idl_includes @@ -0,0 +1 @@ +// "a type" "needed idl_includes" diff --git a/models/java_imports b/models/java_imports new file mode 100644 index 0000000..bbd370a --- /dev/null +++ b/models/java_imports @@ -0,0 +1 @@ +// "a type" "needed java_imports" diff --git a/models/models.prj b/models/models.prj new file mode 100644 index 0000000..ed75843 --- /dev/null +++ b/models/models.prj @@ -0,0 +1,1253 @@ +format 224 +"models" + revision 11 + modified_by 5 "Klaudia" + + + + // class settings + default_attribute_visibility private default_relation_visibility private default_operation_visibility public + + classdiagramsettings draw_all_relations yes hide_attributes no hide_operations no hide_getset_operations no hide_ports no show_members_full_definition no show_members_visibility no show_members_stereotype no show_members_context no show_members_multiplicity no show_members_initialization no show_attribute_modifiers no member_max_width 127 show_parameter_dir yes show_parameter_name yes package_name_in_tab no class_drawing_mode natural drawing_language uml show_context_mode no auto_label_position yes show_relation_modifiers no show_relation_visibility no show_infonote no shadow yes gradient none show_stereotype_properties no end + + classcompositediagramsettings auto_label_position yes draw_all_relations yes shadow yes gradient none end + + usecasediagramsettings package_name_in_tab no show_context_mode no auto_label_position yes draw_all_relations yes class_drawing_mode actor shadow yes gradient none show_stereotype_properties no end + + sequencediagramsettings show_full_operations_definition no show_class_of_operation no write_horizontally yes instances_drawing_mode natural drawing_language uml draw_all_relations yes shadow yes gradient none show_stereotype_properties no show_class_context_mode no show_msg_context_mode no end + + collaborationdiagramsettings show_full_operations_definition no show_class_of_operation no show_hierarchical_rank no write_horizontally yes instances_drawing_mode natural drawing_language uml package_name_in_tab no show_class_pack_context_mode no show_msg_context_mode no draw_all_relations yes shadow yes gradient none show_stereotype_properties no end + + objectdiagramsettings write_horizontally yes package_name_in_tab no show_class_pack_context_mode no auto_label_position yes draw_all_relations yes shadow yes gradient none show_stereotype_properties no end + + objectcompositediagramsettings auto_label_position yes draw_all_relations yes shadow yes gradient none end + + componentdiagramsettings package_name_in_tab no show_context_mode no auto_label_position yes draw_all_relations yes shadow yes gradient none + draw_component_as_icon no show_component_req_prov no show_component_rea no show_stereotype_properties no end + + deploymentdiagramsettings package_name_in_tab no show_context_mode no write_horizontally yes auto_label_position yes draw_all_relations yes shadow yes gradient none + draw_component_as_icon no show_component_req_prov no show_component_rea no show_stereotype_properties no end + + statediagramsettings package_name_in_tab no show_context_mode no auto_label_position yes write_label_horizontally yes show_trans_definition no draw_all_relations yes shadow yes gradient none + show_activities yes region_horizontally yes drawing_language uml show_stereotype_properties no end + + activitydiagramsettings package_name_in_tab no show_context_mode no show_opaque_action_definition no auto_label_position yes write_label_horizontally no draw_all_relations yes shadow yes gradient none + show_infonote yes drawing_language uml show_stereotype_properties no end + + class_color yellow duration_color transparent continuation_color gray note_color blue fragment_color transparent subject_color transparent usecase_color yellow package_color transparent component_color green artifact_color green deploymentnode_color gray state_color yellow stateaction_color transparent activity_color transparent activityregion_color transparent activitypartition_color transparent activityaction_color transparent parameterpin_color white generalization_color black + dpi 96 + font_size 11 + diagram_format A4 + + image_root_dir "" + + + mark_for_import + + classview 128002 "domain" + + classdiagramsettings member_max_width 0 end + + classcompositediagramsettings end + + collaborationdiagramsettings end + + objectdiagramsettings end + + objectcompositediagramsettings end + + sequencediagramsettings end + + statediagramsettings + end + + + activitydiagramsettings + end + classdiagram 128002 "domain-model" + classdiagramsettings draw_all_relations no show_members_full_definition yes member_max_width 0 end + size B-Landscape + end + + class 128002 "Bankomat" + 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 "" + + classrelation 128130 // + relation_ref 128002 // + end + + classrelation 128770 // + relation 128386 ---- + a role_name "" private + java " ${comment}${@}${visibility}${static}${final}${transient}${volatile}${type} ${name}${value}; +" + classrelation_ref 128770 // + b role_name "" private + java " ${comment}${@}${visibility}${static}${final}${transient}${volatile}${type} ${name}${value}; +" + classrelation_ref 128898 // + end + + classrelation 129410 // + relation_ref 128642 // + end + + classrelation 131074 // + relation 129538 ---- + a role_name "" private + java " ${comment}${@}${visibility}${static}${final}${transient}${volatile}${type} ${name}${value}; +" + classrelation_ref 131074 // + b role_name "" private + java " ${comment}${@}${visibility}${static}${final}${transient}${volatile}${type} ${name}${value}; +" + classrelation_ref 131202 // + end + + classrelation 131330 // (naprawia) + relation 129666 ---- name "naprawia" + a role_name "" multiplicity "1" private + java " ${comment}${@}${visibility}${static}${final}${transient}${volatile}${type} ${name}${value}; +" + classrelation_ref 131330 // (naprawia) + b role_name "" multiplicity "*" private + java " ${comment}${@}${visibility}${static}${final}${transient}${volatile}${stereotype}<${type}> ${name}${value}; +" + classrelation_ref 131458 // (naprawia) + end + + classrelation 132098 // + relation 130050 ---- + a role_name "" private + java " ${comment}${@}${visibility}${static}${final}${transient}${volatile}${type} ${name}${value}; +" + classrelation_ref 132098 // + b role_name "" private + java " ${comment}${@}${visibility}${static}${final}${transient}${volatile}${type} ${name}${value}; +" + classrelation_ref 132226 // + end + + classrelation 133122 // (posiada) + relation 130562 ---- name "posiada" + a role_name "" multiplicity "1" private + java " ${comment}${@}${visibility}${static}${final}${transient}${volatile}${type} ${name}${value}; +" + classrelation_ref 133122 // (posiada) + b role_name "" multiplicity "1" private + java " ${comment}${@}${visibility}${static}${final}${transient}${volatile}${type} ${name}${value}; +" + classrelation_ref 133250 // (posiada) + end + + classrelation 134018 // + relation_ref 130946 // + end + + classrelation 128250 // posiada + relation_ref 128122 // posiada + end + + attribute 128130 "Nr_Bankomatu" + private explicit_type "int" + cpp_decl "" + java_decl " ${comment}${@}${visibility}${static}${final}${transient}${volatile}${type} ${name}${value}; +" + php_decl "" + python_decl "" + idl_decl "" + mysql_decl "" + MysqlColumn + end + + attribute 128258 "Kod_dostepu" + private explicit_type "int" + cpp_decl "" + java_decl " ${comment}${@}${visibility}${static}${final}${transient}${volatile}${type} ${name}${value}; +" + php_decl "" + python_decl "" + idl_decl "" + mysql_decl "" + MysqlColumn + end + + classrelation 142722 // obsluguje + relation_ref 138498 // obsluguje + end + end + + class 128130 "Got體ka" + 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 "" + + classrelation 133250 // (posiada) + relation_ref 130562 // posiada + end + + classrelation 128506 // wplaca + relation_ref 128250 // wplaca + end + + attribute 128386 "ilosc" + private explicit_type "int" + cpp_decl "" + java_decl " ${comment}${@}${visibility}${static}${final}${transient}${volatile}${type} ${name}${value}; +" + php_decl "" + python_decl "" + idl_decl "" + mysql_decl "" + MysqlColumn + end + end + + class 128258 "Karta" + 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 "" + + classrelation 129282 // + relation 128642 ---- + a role_name "" private + java " ${comment}${@}${visibility}${static}${final}${transient}${volatile}${type} ${name}${value}; +" + classrelation_ref 129282 // + b role_name "" private + java " ${comment}${@}${visibility}${static}${final}${transient}${volatile}${type} ${name}${value}; +" + classrelation_ref 129410 // + end + + classrelation 129794 // (daje_dostep) + relation 128898 ---- name "daje_dostep" + a role_name "" multiplicity "*" private + java " ${comment}${@}${visibility}${static}${final}${transient}${volatile}${stereotype}<${type}> ${name}${value}; +" + classrelation_ref 129794 // (daje_dostep) + b role_name "" multiplicity "1" private + java " ${comment}${@}${visibility}${static}${final}${transient}${volatile}${type} ${name}${value}; +" + classrelation_ref 129922 // (daje_dostep) + end + + classrelation 130434 // posiada + relation_ref 129154 // posiada + end + + attribute 128770 "Numer_karty" + private explicit_type "int" + cpp_decl "" + java_decl " ${comment}${@}${visibility}${static}${final}${transient}${volatile}${type} ${name}${value}; +" + php_decl "" + python_decl "" + idl_decl "" + mysql_decl "" + MysqlColumn + end + end + + class 128386 "BLIK" + 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 "" + + classrelation 132994 // + relation_ref 130434 // + end + + classrelation 133378 // (posiada) + relation 130690 ---- name "posiada" + a role_name "" multiplicity "1" private + java " ${comment}${@}${visibility}${static}${final}${transient}${volatile}${type} ${name}${value}; +" + classrelation_ref 133378 // (posiada) + b role_name "" multiplicity "1" private + java " ${comment}${@}${visibility}${static}${final}${transient}${volatile}${type} ${name}${value}; +" + classrelation_ref 133506 // (posiada) + end + + classrelation 133634 // (posiada) + relation 130818 ---- name "posiada" + a role_name "" multiplicity "1" private + java " ${comment}${@}${visibility}${static}${final}${transient}${volatile}${type} ${name}${value}; +" + classrelation_ref 133634 // (posiada) + b role_name "" multiplicity "1" private + java " ${comment}${@}${visibility}${static}${final}${transient}${volatile}${type} ${name}${value}; +" + classrelation_ref 133762 // (posiada) + end + + classrelation 135810 // autoryzuje + relation_ref 131842 // autoryzuje + end + end + + class 128514 "Wyplata" + 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 "" + + classrelation 129026 // + relation 128514 ---- + a role_name "" private + java " ${comment}${@}${visibility}${static}${final}${transient}${volatile}${type} ${name}${value}; +" + classrelation_ref 129026 // + b role_name "" private + java " ${comment}${@}${visibility}${static}${final}${transient}${volatile}${type} ${name}${value}; +" + classrelation_ref 129154 // + end + + classrelation 130690 // posiada + relation_ref 129282 // posiada + end + + classrelation 133506 // (posiada) + relation_ref 130690 // posiada + end + + classrelation 135554 // posiada + relation_ref 131714 // posiada + end + + attribute 129282 "kwota" + private explicit_type "int" + cpp_decl "" + java_decl " ${comment}${@}${visibility}${static}${final}${transient}${volatile}${type} ${name}${value}; +" + php_decl "" + python_decl "" + idl_decl "" + mysql_decl "" + MysqlColumn + end + end + + class 128642 "Wplata" + 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 "" + + classrelation 128642 // + relation_ref 128258 // + end + + classrelation 130946 // posiada + relation_ref 129410 // posiada + end + + classrelation 131714 // + relation_ref 129794 // + end + + classrelation 133762 // (posiada) + relation_ref 130818 // posiada + end + + classrelation 142466 // posiada + relation_ref 138370 // posiada + end + + attribute 129410 "kwota" + private explicit_type "int" + cpp_decl "" + java_decl " ${comment}${@}${visibility}${static}${final}${transient}${volatile}${type} ${name}${value}; +" + php_decl "" + python_decl "" + idl_decl "" + mysql_decl "" + MysqlColumn + end + end + + class 128770 "Klient" + visibility package stereotype "actor" + cpp_decl "" + java_decl "" + php_decl "" + python_2_2 python_decl "" + idl_decl "" + explicit_switch_type "" + mysql_decl "" + + classrelation 128002 // + relation 128002 ---- + a role_name "" private + java " ${comment}${@}${visibility}${static}${final}${transient}${volatile}${type} ${name}${value}; +" + classrelation_ref 128002 // + b role_name "" private + java " ${comment}${@}${visibility}${static}${final}${transient}${volatile}${type} ${name}${value}; +" + classrelation_ref 128130 // + end + + classrelation 128514 // + relation 128258 ---- + a role_name "" private + java " ${comment}${@}${visibility}${static}${final}${transient}${volatile}${type} ${name}${value}; +" + classrelation_ref 128514 // + b role_name "" private + java " ${comment}${@}${visibility}${static}${final}${transient}${volatile}${type} ${name}${value}; +" + classrelation_ref 128642 // + end + + classrelation 129154 // + relation_ref 128514 // + end + + classrelation 129666 // posiada + relation_ref 128770 // posiada + end + + classrelation 131586 // + relation 129794 ---- + a role_name "" private + java " ${comment}${@}${visibility}${static}${final}${transient}${volatile}${type} ${name}${value}; +" + classrelation_ref 131586 // + b role_name "" private + java " ${comment}${@}${visibility}${static}${final}${transient}${volatile}${type} ${name}${value}; +" + classrelation_ref 131714 // + end + + classrelation 131842 // + relation 129922 ---- + a role_name "" private + java " ${comment}${@}${visibility}${static}${final}${transient}${volatile}${type} ${name}${value}; +" + classrelation_ref 131842 // + b role_name "" private + java " ${comment}${@}${visibility}${static}${final}${transient}${volatile}${type} ${name}${value}; +" + classrelation_ref 131970 // + end + + classrelation 132354 // + relation 130178 ---- + a role_name "" private + java " ${comment}${@}${visibility}${static}${final}${transient}${volatile}${type} ${name}${value}; +" + classrelation_ref 132354 // + b role_name "" private + java " ${comment}${@}${visibility}${static}${final}${transient}${volatile}${type} ${name}${value}; +" + classrelation_ref 132482 // + end + + classrelation 132866 // + relation 130434 ---- + a role_name "" private + java " ${comment}${@}${visibility}${static}${final}${transient}${volatile}${type} ${name}${value}; +" + classrelation_ref 132866 // + b role_name "" private + java " ${comment}${@}${visibility}${static}${final}${transient}${volatile}${type} ${name}${value}; +" + classrelation_ref 132994 // + end + + classrelation 134914 // + relation 131458 ---- + a role_name "" private + java " ${comment}${@}${visibility}${static}${final}${transient}${volatile}${type} ${name}${value}; +" + classrelation_ref 134914 // + b role_name "" private + java " ${comment}${@}${visibility}${static}${final}${transient}${volatile}${type} ${name}${value}; +" + classrelation_ref 135042 // + end + + attribute 128898 "Imie" + private explicit_type "string" + cpp_decl "" + java_decl " ${comment}${@}${visibility}${static}${final}${transient}${volatile}${type} ${name}${value}; +" + php_decl "" + python_decl "" + idl_decl "" + mysql_decl "" + MysqlColumn + end + + attribute 129666 "Nazwisko" + private explicit_type "string" + cpp_decl "" + java_decl " ${comment}${@}${visibility}${static}${final}${transient}${volatile}${type} ${name}${value}; +" + php_decl "" + python_decl "" + idl_decl "" + mysql_decl "" + MysqlColumn + end + + attribute 129794 "pesel" + private explicit_type "int" + cpp_decl "" + java_decl " ${comment}${@}${visibility}${static}${final}${transient}${volatile}${type} ${name}${value}; +" + php_decl "" + python_decl "" + idl_decl "" + mysql_decl "" + MysqlColumn + end + end + + class 128898 "Konwojent" + 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 "" + + classrelation 132226 // + relation_ref 130050 // + end + + classrelation 128378 // (wplaca) + relation 128250 ---- name "wplaca" + a role_name "" multiplicity "1" private + java " ${comment}${@}${visibility}${static}${final}${transient}${volatile}${type} ${name}${value}; +" + classrelation_ref 128378 // (wplaca) + b role_name "" multiplicity "1" private + java " ${comment}${@}${visibility}${static}${final}${transient}${volatile}${type} ${name}${value}; +" + classrelation_ref 128506 // wplaca + end + + attribute 128514 "Id" + private explicit_type "int" + cpp_decl "" + java_decl " ${comment}${@}${visibility}${static}${final}${transient}${volatile}${type} ${name}${value}; +" + php_decl "" + python_decl "" + idl_decl "" + mysql_decl "" + MysqlColumn + end + end + + class 129026 "Serwisant" + 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 "" + + classrelation 131458 // (naprawia) + relation_ref 129666 // naprawia + end + + attribute 128642 "Id" + private explicit_type "int" + cpp_decl "" + java_decl " ${comment}${@}${visibility}${static}${final}${transient}${volatile}${type} ${name}${value}; +" + php_decl "" + python_decl "" + idl_decl "" + mysql_decl "" + MysqlColumn + end + end + + class 129154 "Bank" + 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 "" + + classrelation 130050 // (posiada) + relation 129026 ---- name "posiada" + a role_name "" multiplicity "*" private + java " ${comment}${@}${visibility}${static}${final}${transient}${volatile}${stereotype}<${type}> ${name}${value}; +" + classrelation_ref 130050 // (posiada) + b role_name "" multiplicity "1" private + java " ${comment}${@}${visibility}${static}${final}${transient}${volatile}${type} ${name}${value}; +" + classrelation_ref 130178 // (posiada) + end + + classrelation 134530 // posiada + relation_ref 131202 // posiada + end + + attribute 129026 "Nazwa" + private explicit_type "string" + cpp_decl "" + java_decl " ${comment}${@}${visibility}${static}${final}${transient}${volatile}${type} ${name}${value}; +" + php_decl "" + python_decl "" + idl_decl "" + mysql_decl "" + MysqlColumn + end + end + + class 129282 "Konto" + 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 "" + + classrelation 129538 // (posiada) + relation 128770 ---- name "posiada" + a role_name "" multiplicity "*" private + java " ${comment}${@}${visibility}${static}${final}${transient}${volatile}${stereotype}<${type}> ${name}${value}; +" + classrelation_ref 129538 // (posiada) + b role_name "" multiplicity "*" private + java " ${comment}${@}${visibility}${static}${final}${transient}${volatile}${stereotype}<${type}> ${name}${value}; +" + classrelation_ref 129666 // posiada + end + + classrelation 129922 // (daje_dostep) + relation_ref 128898 // daje_dostep + end + + classrelation 130178 // (posiada) + relation_ref 129026 // posiada + end + + classrelation 133890 // + relation 130946 ---- + a role_name "" private + java " ${comment}${@}${visibility}${static}${final}${transient}${volatile}${type} ${name}${value}; +" + classrelation_ref 133890 // + b role_name "" private + java " ${comment}${@}${visibility}${static}${final}${transient}${volatile}${type} ${name}${value}; +" + classrelation_ref 134018 // + end + + classrelation 134274 // obsluguje + relation_ref 131074 // obsluguje + end + + attribute 129154 "Nr_konta" + private explicit_type "string" + cpp_decl "" + java_decl " ${comment}${@}${visibility}${static}${final}${transient}${volatile}${type} ${name}${value}; +" + php_decl "" + python_decl "" + idl_decl "" + mysql_decl "" + MysqlColumn + end + end + + class 129410 "Przelew" + 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 "" + + classrelation 132482 // + relation_ref 130178 // + end + + classrelation 135170 // (posiada) + relation 131586 ---- name "posiada" + a role_name "" multiplicity "1" private + java " ${comment}${@}${visibility}${static}${final}${transient}${volatile}${type} ${name}${value}; +" + classrelation_ref 135170 // (posiada) + b role_name "" multiplicity "1" private + java " ${comment}${@}${visibility}${static}${final}${transient}${volatile}${type} ${name}${value}; +" + classrelation_ref 135298 // (posiada) + end + + attribute 129538 "kwota" + private explicit_type "double" + cpp_decl "" + java_decl " ${comment}${@}${visibility}${static}${final}${transient}${volatile}${type} ${name}${value}; +" + php_decl "" + python_decl "" + idl_decl "" + mysql_decl "" + MysqlColumn + end + end + + class 129538 "System_Transakcji" + 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 "" + + classrelation 128898 // + relation_ref 128386 // + end + + classrelation 134146 // (obsluguje) + relation 131074 ---- name "obsluguje" + a role_name "" multiplicity "1" private + java " ${comment}${@}${visibility}${static}${final}${transient}${volatile}${type} ${name}${value}; +" + classrelation_ref 134146 // (obsluguje) + b role_name "" multiplicity "*" private + java " ${comment}${@}${visibility}${static}${final}${transient}${volatile}${stereotype}<${type}> ${name}${value}; +" + classrelation_ref 134274 // obsluguje + end + + classrelation 134402 // (posiada) + relation 131202 ---- name "posiada" + a role_name "" multiplicity "1" private + java " ${comment}${@}${visibility}${static}${final}${transient}${volatile}${type} ${name}${value}; +" + classrelation_ref 134402 // (posiada) + b role_name "" multiplicity "1" private + java " ${comment}${@}${visibility}${static}${final}${transient}${volatile}${type} ${name}${value}; +" + classrelation_ref 134530 // posiada + end + + classrelation 134658 // (nadzoruje) + relation 131330 ---- name "nadzoruje" + a role_name "" multiplicity "*" private + java " ${comment}${@}${visibility}${static}${final}${transient}${volatile}${stereotype}<${type}> ${name}${value}; +" + classrelation_ref 134658 // (nadzoruje) + b role_name "" multiplicity "*" private + java " ${comment}${@}${visibility}${static}${final}${transient}${volatile}${stereotype}<${type}> ${name}${value}; +" + classrelation_ref 134786 // (nadzoruje) + end + + classrelation 135042 // + relation_ref 131458 // + end + + classrelation 142594 // (obsluguje) + relation 138498 ---- name "obsluguje" + a role_name "" multiplicity "*" private + java " ${comment}${@}${visibility}${static}${final}${transient}${volatile}${stereotype}<${type}> ${name}${value}; +" + classrelation_ref 142594 // (obsluguje) + b role_name "" multiplicity "1" private + java " ${comment}${@}${visibility}${static}${final}${transient}${volatile}${type} ${name}${value}; +" + classrelation_ref 142722 // obsluguje + end + end + + class 129666 "Potwierdzenie" + 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 "" + + classrelation 130562 // (posiada) + relation 129282 ---- name "posiada" + a role_name "" multiplicity "1" private + java " ${comment}${@}${visibility}${static}${final}${transient}${volatile}${type} ${name}${value}; +" + classrelation_ref 130562 // (posiada) + b role_name "" multiplicity "1" private + java " ${comment}${@}${visibility}${static}${final}${transient}${volatile}${type} ${name}${value}; +" + classrelation_ref 130690 // posiada + end + + classrelation 130818 // (posiada) + relation 129410 ---- name "posiada" + a role_name "" multiplicity "1" private + java " ${comment}${@}${visibility}${static}${final}${transient}${volatile}${type} ${name}${value}; +" + classrelation_ref 130818 // (posiada) + b role_name "" multiplicity "1" private + java " ${comment}${@}${visibility}${static}${final}${transient}${volatile}${type} ${name}${value}; +" + classrelation_ref 130946 // posiada + end + end + + class 129794 "PIN" + 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 "" + + classrelation 130306 // (posiada) + relation 129154 ---- name "posiada" + a role_name "" multiplicity "1" private + java " ${comment}${@}${visibility}${static}${final}${transient}${volatile}${type} ${name}${value}; +" + classrelation_ref 130306 // (posiada) + b role_name "" multiplicity "1" private + java " ${comment}${@}${visibility}${static}${final}${transient}${volatile}${type} ${name}${value}; +" + classrelation_ref 130434 // posiada + end + end + + class 129922 "Transakcja" + 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 "" + + classrelation 134786 // (nadzoruje) + relation_ref 131330 // nadzoruje + end + + classrelation 135298 // (posiada) + relation_ref 131586 // posiada + end + + classrelation 135426 // (posiada) + relation 131714 ---- name "posiada" + a role_name "" multiplicity "1" private + java " ${comment}${@}${visibility}${static}${final}${transient}${volatile}${type} ${name}${value}; +" + classrelation_ref 135426 // (posiada) + b role_name "" multiplicity "1" private + java " ${comment}${@}${visibility}${static}${final}${transient}${volatile}${type} ${name}${value}; +" + classrelation_ref 135554 // posiada + end + + classrelation 135682 // (autoryzuje) + relation 131842 ---- name "autoryzuje" + a role_name "" multiplicity "1" private + java " ${comment}${@}${visibility}${static}${final}${transient}${volatile}${type} ${name}${value}; +" + classrelation_ref 135682 // (autoryzuje) + b role_name "" multiplicity "1" private + java " ${comment}${@}${visibility}${static}${final}${transient}${volatile}${type} ${name}${value}; +" + classrelation_ref 135810 // autoryzuje + end + + classrelation 142338 // (posiada) + relation 138370 ---- name "posiada" + a role_name "" multiplicity "1" private + java " ${comment}${@}${visibility}${static}${final}${transient}${volatile}${type} ${name}${value}; +" + classrelation_ref 142338 // (posiada) + b role_name "" multiplicity "1" private + java " ${comment}${@}${visibility}${static}${final}${transient}${volatile}${type} ${name}${value}; +" + classrelation_ref 142466 // posiada + end + + attribute 129922 "Nr_transakcji" + private explicit_type "int" + cpp_decl "" + java_decl " ${comment}${@}${visibility}${static}${final}${transient}${volatile}${type} ${name}${value}; +" + php_decl "" + python_decl "" + idl_decl "" + mysql_decl "" + MysqlColumn + end + + attribute 130050 "Data" + private explicit_type "string" + cpp_decl "" + java_decl " ${comment}${@}${visibility}${static}${final}${transient}${volatile}${type} ${name}${value}; +" + php_decl "" + python_decl "" + idl_decl "" + mysql_decl "" + MysqlColumn + end + + attribute 130178 "typ" + private explicit_type "string" + cpp_decl "" + java_decl " ${comment}${@}${visibility}${static}${final}${transient}${volatile}${type} ${name}${value}; +" + php_decl "" + python_decl "" + idl_decl "" + mysql_decl "" + MysqlColumn + end + end + + class 130050 "Ekran_Bankomatu" + 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 "" + + classrelation 131202 // + relation_ref 129538 // + end + + classrelation 131970 // + relation_ref 129922 // + end + + classrelation 128122 // (posiada) + relation 128122 ---- name "posiada" + a role_name "" multiplicity "1" private + java " ${comment}${@}${visibility}${static}${final}${transient}${volatile}${type} ${name}${value}; +" + classrelation_ref 128122 // (posiada) + b role_name "" multiplicity "1" private + java " ${comment}${@}${visibility}${static}${final}${transient}${volatile}${type} ${name}${value}; +" + classrelation_ref 128250 // posiada + end + end + end + + classview 134530 "design" + + classdiagramsettings member_max_width 0 end + + classcompositediagramsettings end + + collaborationdiagramsettings end + + objectdiagramsettings end + + objectcompositediagramsettings end + + sequencediagramsettings end + + statediagramsettings + end + + + activitydiagramsettings + end + classdiagram 134530 "2-1-wlozKarte" + classdiagramsettings member_max_width 0 end + size A4 + end + + sequencediagram 134658 "2-2-podaniePinu" + sequencediagramsettings end + overlapping_bars size A4 + end + + sequencediagram 134786 "2-3-wybranieOpcjiWyplata" + sequencediagramsettings end + overlapping_bars size A4 + end + + sequencediagram 134914 "2-4-wprowadzenieKwoty" + sequencediagramsettings end + overlapping_bars size A4 + end + + sequencediagram 135042 "2-5-czyWydrukowacPotwierdzenie" + sequencediagramsettings end + overlapping_bars size A4 + end + + sequencediagram 135170 "2-6-wyjmijKarte" + sequencediagramsettings end + overlapping_bars size A4 + end + + sequencediagram 135298 "2-7-zwrocPieniadze" + sequencediagramsettings end + overlapping_bars size A4 + end + + sequencediagram 141573 "5-1-wybranieOpcjiBlik" + sequencediagramsettings end + overlapping_bars size A4 + end + + sequencediagram 134661 "5-2-wybranieOpcjiWyplata" + sequencediagramsettings end + size A4 + end + + sequencediagram 134789 "5-3-wprowadzenieKwoty" + sequencediagramsettings end + overlapping_bars size A4 + end + + sequencediagram 134917 "5-4-wprowadzenieKoduBlik" + sequencediagramsettings end + overlapping_bars size A4 + end + + sequencediagram 135045 "5-5-zwrocPieniadze" + sequencediagramsettings end + overlapping_bars size A4 + end + + sequencediagram 128121 "3-1-wlozKarte" + sequencediagramsettings end + overlapping_bars size A4 + end + + classinstance 134533 "" + type class_ref 128770 // Klient + attributes + end + relations + end + end + + classinstance 134661 "" + type class_ref 128770 // Klient + attributes + end + relations + end + end + + classinstance 134789 "" + type class_ref 128002 // Bankomat + attributes + end + relations + end + end + + classinstance 134917 "" + type class_ref 128002 // Bankomat + attributes + end + relations + end + end + + classinstance 135045 "" + type class_ref 128770 // Klient + attributes + end + relations + end + end + + classinstance 135173 "" + type class_ref 128002 // Bankomat + attributes + end + relations + end + end + + classinstance 135301 "" + type class_ref 129538 // System_Transakcji + attributes + end + relations + end + end + + classinstance 135429 "" + type class_ref 128770 // Klient + attributes + end + relations + end + end + + classinstance 135557 "" + type class_ref 128002 // Bankomat + attributes + end + relations + end + end + + classinstance 135685 "" + type class_ref 129538 // System_Transakcji + attributes + end + relations + end + end + + classinstance 135813 "" + type class_ref 129922 // Transakcja + attributes + end + relations + end + end + + classinstance 135941 "" + type class_ref 128770 // Klient + attributes + end + relations + end + end + + classinstance 136069 "" + type class_ref 128002 // Bankomat + attributes + end + relations + end + end + + classinstance 136197 "" + type class_ref 129538 // System_Transakcji + attributes + end + relations + end + end + + classinstance 136325 "" + type class_ref 128514 // Wyplata + attributes + end + relations + end + end + + classinstance 136453 "" + type class_ref 128386 // BLIK + attributes + end + relations + end + end + + classinstance 136581 "" + type class_ref 128386 // BLIK + attributes + end + relations + end + end + + classinstance 136709 "" + type class_ref 129538 // System_Transakcji + attributes + end + relations + end + end + end +end diff --git a/models/python_imports b/models/python_imports new file mode 100644 index 0000000..4a1bd3a --- /dev/null +++ b/models/python_imports @@ -0,0 +1 @@ +// "a type" "needed python_imports" diff --git a/models/stereotypes b/models/stereotypes new file mode 100644 index 0000000..0473775 --- /dev/null +++ b/models/stereotypes @@ -0,0 +1,63 @@ + + package_stereotypes 6 "facade" "framework" "model library" "stub" "toplevel" "profile" + -_-> 3 "access" "import" "from" + end + + class_stereotypes 23 "actor" "auxiliary" "boundary" "control" "entity" "enum" "enum_class" "enum_pattern" "exception" "focus" "implementationClass" "interface" "@interface" "metaclass" "stereotype" "struct" "table" "type" "typedef" "template_typedef" "union" "utility" "trait" + ---- 4 "list" "set" "vector" "map" + ---> 4 "list" "set" "vector" "map" + ---|> 4 "{complete,disjoint}" "{incomplete,disjoint}" "{complete,overlapping}" "{incomplete,overlapping}" + o--- 4 "list" "set" "vector" "map" + *--- 4 "list" "set" "vector" "map" + o--> 4 "list" "set" "vector" "map" + *--> 4 "list" "set" "vector" "map" + -_-> 5 "friend" "from" "import" "instantiate" "use" + -_-|> 1 "bind" + end + + rolepart_stereotypes 0 + use_case_stereotypes 2 "realization" "realization" + + ---|> 4 "{complete,disjoint}" "{incomplete,disjoint}" "{complete,overlapping}" "{incomplete,overlapping}" + -_-> 2 "include" "extend" + end + + artifact_stereotypes 8 "database" "document" "executable" "file" "library" "script" "source" "text" + -_-> 4 "deploy" "manifest" "import" "from" + end + + attribute_stereotypes 4 "list" "set" "vector" "map" + operation_stereotypes 0 + state_stereotypes 3 "machine" "submachine" "top" + activity_stereotypes 0 + flow_stereotypes 3 "interrupt" "multicast" "multireceive" + interruptibleactivityregion_stereotypes 0 + pseudostate_stereotypes 0 + stateaction_stereotypes 2 "send-signal" "receive-signal" + parameter_stereotypes 0 + activityvariable_stereotypes 0 + parameterset_stereotypes 0 + activitynode_stereotypes 0 + activityaction_stereotypes 0 + activityobject_stereotypes 2 "datastore" "centralBuffer" + expansionregion_stereotypes 0 + activitypartition_stereotypes 0 + pin_stereotypes 0 + port_stereotypes 0 + component_stereotypes 6 "buildComponent" "entity" "implement" "process" "service" "subsystem" + deploymentnode_stereotypes 3 "cpu" "device" "executionEnvironment" + classview_stereotypes 0 + usecaseview_stereotypes 0 + componentview_stereotypes 0 + deploymentview_stereotypes 0 + classdiagram_stereotypes 0 + classcompositediagram_stereotypes 0 + seqdiagram_stereotypes 0 + msg_stereotypes 0 + coldiagram_stereotypes 0 + usecasediagram_stereotypes 0 + statediagram_stereotypes 0 + activitydiagram_stereotypes 0 + componentdiagram_stereotypes 0 + deploymentdiagram_stereotypes 0 +end diff --git a/models/tools b/models/tools new file mode 100644 index 0000000..fbfc524 --- /dev/null +++ b/models/tools @@ -0,0 +1,18 @@ +// 'tool' "the executable" "displayed string" {target}+ +tool "HTML documentation" "ghtml" Class Operation Attribute Generalisation Realize Dependency Association DirectionalAssociation Aggregation AggregationByValue DirectionalAggregation DirectionalAggregationByValue Port RolePart Connector ExtraMember ClassInstance State Region StateAction Initial EntryPoint Final Terminate ExitPoint DeepHistory ShallowHistory Junction Choice Fork Join Transition Activity InterruptibleActivityRegion ExpansionRegion ActivityObject ActivityAction Parameter ParameterSet Pin ExpansionNode InitialActivityNode FinalActivityNode ExitPointActivityNode DecisionActivityNode MergeActivityNode ForkActivityNode JoinActivityNode Flow Project Package UseCaseView ClassView ComponentView DeploymentView UseCaseDiagram SeqDiagram ColDiagram ClassDiagram ClassCompositeDiagram ObjectDiagram StateDiagram ActivityDiagram ComponentDiagram DeploymentDiagram UseCase Component Node Artifact Inherit DependOn +tool "HTML doc. (flat)" "ghtml -flat" Class Operation Attribute Generalisation Realize Dependency Association DirectionalAssociation Aggregation AggregationByValue DirectionalAggregation DirectionalAggregationByValue Port RolePart Connector ExtraMember ClassInstance State Region StateAction Initial EntryPoint Final Terminate ExitPoint DeepHistory ShallowHistory Junction Choice Fork Join Transition Activity InterruptibleActivityRegion ExpansionRegion ActivityObject ActivityAction Parameter ParameterSet Pin ExpansionNode InitialActivityNode FinalActivityNode ExitPointActivityNode DecisionActivityNode MergeActivityNode ForkActivityNode JoinActivityNode Flow Project Package UseCaseView ClassView ComponentView DeploymentView UseCaseDiagram SeqDiagram ColDiagram ClassDiagram ClassCompositeDiagram ObjectDiagram StateDiagram ActivityDiagram ComponentDiagram DeploymentDiagram UseCase Component Node Artifact Inherit DependOn +tool "HTML doc. (svg)" "ghtml -svg" Class Operation Attribute Generalisation Realize Dependency Association DirectionalAssociation Aggregation AggregationByValue DirectionalAggregation DirectionalAggregationByValue Port RolePart Connector ExtraMember ClassInstance State Region StateAction Initial EntryPoint Final Terminate ExitPoint DeepHistory ShallowHistory Junction Choice Fork Join Transition Activity InterruptibleActivityRegion ExpansionRegion ActivityObject ActivityAction Parameter ParameterSet Pin ExpansionNode InitialActivityNode FinalActivityNode ExitPointActivityNode DecisionActivityNode MergeActivityNode ForkActivityNode JoinActivityNode Flow Project Package UseCaseView ClassView ComponentView DeploymentView UseCaseDiagram SeqDiagram ColDiagram ClassDiagram ClassCompositeDiagram ObjectDiagram StateDiagram ActivityDiagram ComponentDiagram DeploymentDiagram UseCase Component Node Artifact Inherit DependOn +tool "HTML doc. (flat, svg)" "ghtml -flat -svg" Class Operation Attribute Generalisation Realize Dependency Association DirectionalAssociation Aggregation AggregationByValue DirectionalAggregation DirectionalAggregationByValue Port RolePart Connector ExtraMember ClassInstance State Region StateAction Initial EntryPoint Final Terminate ExitPoint DeepHistory ShallowHistory Junction Choice Fork Join Transition Activity InterruptibleActivityRegion ExpansionRegion ActivityObject ActivityAction Parameter ParameterSet Pin ExpansionNode InitialActivityNode FinalActivityNode ExitPointActivityNode DecisionActivityNode MergeActivityNode ForkActivityNode JoinActivityNode Flow Project Package UseCaseView ClassView ComponentView DeploymentView UseCaseDiagram SeqDiagram ColDiagram ClassDiagram ClassCompositeDiagram ObjectDiagram StateDiagram ActivityDiagram ComponentDiagram DeploymentDiagram UseCase Component Node Artifact Inherit DependOn +tool "Generate .pro" "gpro" Artifact +tool "Import Rose" "irose" Project Package +tool "C++ utilities" "cpp_util" Class +tool "Generate XMI 1.2" "gxmi" Project +tool "Generate XMI 2.x" "gxmi2" Project +tool "Import XMI 2.x" "ixmi2" Project Package +tool "C++ state machine" "stmgen" State +tool "Use case wizard" "usecasewizard" UseCase +tool "Check-in" "file_control ci" Project Package +tool "Check-out" "file_control co" Project Package +tool "Deploy classes" "deplcl" ClassView +tool "Global Change" "global_change" Class Project Package ClassView DeploymentView +tool "Uml projection" "uml_proj" Class Operation Attribute Generalisation Realize Dependency Association DirectionalAssociation Aggregation AggregationByValue DirectionalAggregation DirectionalAggregationByValue Project Package ClassView diff --git a/system-events.md b/system-events.md new file mode 100644 index 0000000..e859715 --- /dev/null +++ b/system-events.md @@ -0,0 +1,35 @@ +# Zdarzenia systemowe + +## Use case 2: Wyp艂ata + +1. W艂o偶enie karty do bankomatu. +2. Wprowadzenie PINu. +3. Wybranie opcji 'Wyp艂ata'. +4. Wprowadzenie kwoty. +5. Wybranie czy wydrukowa膰 potwierdzenie. +6. Odebranie karty. +7. Odebranie pieni臋dzy. + +## Use case 3: Przelew + +1. W艂o偶enie karty do bankomatu. +2. Wprowadzenie PINu. +3. Wybranie opcji 'Przelew'. +4. Podanie kwoty. +5. Podanie numeru rachunku odbiorcy. +6. Potwierdzenie przelewu. + +## Use case 4: Sprawdzenie stanu konta + +1. W艂o偶enie karty do bankomatu. +2. Wprowadzenie PINu. +3. Wybranie opcji 'Sprawd藕 stan konta'. +4. Wyj臋cie karty z bankomatu. + +## Use case 5: Wyplata za pomoc膮 BLIKa + +1. Wybranie opcji BLIK +2. Wybranie opcji 'Wyp艂ata'. +3. Podanie kwoty. +4. Wprowadzenie kodu BLIK. +5. Odebranie pieni臋dzy. \ No newline at end of file diff --git a/use-case-2.md b/use-case-2.md new file mode 100644 index 0000000..463e5d0 --- /dev/null +++ b/use-case-2.md @@ -0,0 +1,101 @@ +Use Case 2: Wyp艂ata +===================== + +**Aktor podstawowy:** Klient + + +G艂贸wni odbiorcy i oczekiwania wzgl臋dem systemu: +----------------------------------------------- + + - Klient: Zostaje mu wyp艂acona 偶膮dana kwota. + - Bank: Kwota wyp艂aty zosta艂a poprawnie naliczona na koncie Klienta. + +Warunki wst臋pne: +---------------- + +- W bankomacie jest got贸wka. + +Warunki ko艅cowe: +---------------- + +- System przestaje przetwarza膰 dane. +- Na ekranie wy艣wietla si臋 ekran g艂贸wny. + +Scenariusz g艂贸wny (艣cie偶ka podstawowa): +--------------------------------------- + + 1. Klient wk艂ada kart臋 do bankomatu. + 2. System prosi o podanie pinu. + 3. Klient wprowadza pin. + 4. Klient wybiera opcje "Wyp艂a膰". + 5. Klient wprowadza kwot臋. + 6. System prosi o potwierdzenie wybranej kwoty. + 7. System pyta, czy wydrukowa膰 potwierdzenie. + 8. Klient wybiera czy chce potwierdzenie. + 9. Bankomat drukuje potwierdzenie. + 10. Klient odbiera potwierdzenie. + 11. Bankomat zwraca kart臋. + 12. Klient odbiera kart臋. + 13. Bankomat wyp艂aca pieni膮dze. + 14. Klient odbiera got贸wk臋. + +Rozszerzenia (艣cie偶ki alternatywne): +------------------------------------ + *a. Bankomat zawiesza si臋. + + 1. Bankomat anuluje transakcj臋. + 2. Bankomat informuje Klienta o zaj艣ciu b艂臋du. + 3. Bankomat wraca do strony g艂贸wnej. + + 1a. Bankomat nie rozpoznaje karty. + + 1. Bankomat informuje, 偶e karta nie zosta艂a rozpoznana. + 2. Bankomat zwraca kart臋 Klientowi. + 3. Klient Odbiera kart臋. + + 3a. Nieprawid艂owy pin. + + 1. Bankomat informuje Klienta, 偶e PIN jest niepoprawny. + 2. Bankomat zwraca kart臋 Klientowi. + + 3b. Klient wprowadza za kr贸tki PIN. + + 1. Bankomat czeka okre艣lony czas, a偶 Klient wprowadzi pozosta艂e cyfry PINu. + 2. Po czasie oczekiwania Bankomat wraca do strony g艂贸wnej. + + 5a. Klient wprowadzi艂 kwot臋, kt贸ra jest wi臋ksza ni偶 stan got贸wki w Bankomacie. + + 1. Bankomat informuje Klienta, 偶e nie jest w stanie wyp艂aci膰 偶膮danej kwoty. + 2. Bankomat informuje Klienta o maksymalnej kwocie, jak膮 mo偶e wyp艂aci膰. + 3. Bankomat pyta si臋 Klienta, czy chce wyp艂aci膰 maksymaln膮 kwot臋, czy anulowa膰 opercj臋. + 4. Klient wybiera, czy chc臋 wyp艂aci膰 maksymaln膮 kwot臋. + + 6a. Klient nie potwierdza wybranej kwoty. + + 1. Bankomat wraca do kroku 5. + + 8a. Klient wybiera, 偶e nie chce potwierdzenia. + + 1. Bankomat przechodzi do kroku 11. + + 12a. Klient nie odbiera karty. + + 1. Bankomat po okre艣lonym czasie chowa kart臋. + + 14a. Klient nie odbiera got贸wki. + + 1. Bankomat po okre艣lonym czasie chowa got贸wk臋. + +Wymagania technologiczne oraz ograniczenia na wprowadzane dane: +--------------------------------------------------------------- + 1a. Karta powinna by膰 aktualna. + + 1b. Karta jest przypisana do jakiego艣 konta. + + 3a. Pin sk艂ada si臋 z 4 cyfr. + +Kwestie otwarte: +---------------- + + - Czy dopuszczamy autoryzacj臋 z wykorzystaniem technologii NFC? + - Jaki jest czas oczekiwania? \ No newline at end of file diff --git a/use-case-3.md b/use-case-3.md new file mode 100644 index 0000000..56dd2d1 --- /dev/null +++ b/use-case-3.md @@ -0,0 +1,65 @@ +Use Case 3: Przelew +===================== + +**Aktor podstawowy:** Klient + + +G艂贸wni odbiorcy i oczekiwania wzgl臋dem systemu: +----------------------------------------------- + + - Klient: Przesy艂a 偶膮dan膮 kwot臋 + +Warunki wst臋pne: +---------------- + +Zosta艂a przeprowadzona autoryzacja klienta. + +Warunki ko艅cowe: +---------------- + +Informacja o przelewie jest zapisana w SOT. + +Scenariusz g艂贸wny (艣cie偶ka podstawowa): +--------------------------------------- + + 1. Klient wprowadza dane przelewu (kwota, odbiorca, rodzaj przelewu) + 2. Klient potwierdza przelew + 3. Bankomat potwierdza, 偶e wprowadzone dane s膮 prawid艂owe + 4. Informacja o przelewie zostaje zapisana w SOT, kwota pieni臋dzy na koncie klienta pomniejsza si臋 o kwot臋 przelewu, natomiast ilo艣膰 pieni臋dzy na koncie odbiorcy powi臋ksza si臋 o t膮 kwot臋 + +Rozszerzenia (艣cie偶ki alternatywne): +------------------------------------ + + *a. Bankomat si臋 zawiesza + + 1. Bankomat anuluje transakcj臋. + 2. Bankomat informuje o zaj艣ciu b艂臋du. + 3. Bankomat wraca do strony g艂贸wnej. + + 3a. Nieprawid艂owa kwota + + 1. Bankomat informuje Klienta, 偶e nie mo偶e przela膰 偶膮danej kwoty. + 2. Bankomat informuje Klienta o maksymalnej kwocie, jak膮 mo偶e wyp艂aci膰. + 3. Bankomat pyta si臋 Klienta, czy chce wyp艂aci膰 maksymaln膮 kwot臋, czy anulowa膰 operacj臋. + + 3b. Nieprawid艂owy odbiorca + + 1. Bankomat informuje Klienta, 偶e wybrany odbiorca nie istnieje. + 2. Bankomat pyta si臋 Klienta, czy chce zmieni膰 odbiorc臋, czy anulowa膰 operacj臋. + +Wymagania specjalne: +-------------------- + + - Interfejs u偶ytkownika musi by膰 dost臋pny w j臋zyku polskim i angielskim. + +Wymagania technologiczne oraz ograniczenia na wprowadzane dane: +--------------------------------------------------------------- + + 1a. Kwota nie jest wi臋ksza ni偶 stan 艣rodk贸w na koncie + + 1b. Podany odbiorca istnieje w SOT + +Kwestie otwarte: +---------------- + + - Czy dopuszczamy autoryzacj臋 z wykorzystaniem rozpoznawania twarzy? diff --git a/use-case-4.md b/use-case-4.md new file mode 100644 index 0000000..faa415f --- /dev/null +++ b/use-case-4.md @@ -0,0 +1,59 @@ +Use Case 4: Sprawdzenie stanu konta +===================== + +**Aktor podstawowy:** Klient + + +G艂贸wni odbiorcy i oczekiwania wzgl臋dem systemu: +----------------------------------------------- + + - Klient: Poznaje stan swojego konta + + +Warunki wst臋pne: +---------------- + +- Bankomat jest sprawny +- Zosta艂a przeprowadzona autoryzacja klienta + +Warunki ko艅cowe: +---------------- +- Na ekranie wy艣wietla si臋 ekran g艂贸wny +- Stan konta si臋 nie zmieni艂 + +Scenariusz g艂贸wny (艣cie偶ka podstawowa): +--------------------------------------- + + 1. Klient w bankomacie wybiera opcj臋 sprawdzenia stanu konta + 2. Bankomat wy艣wietla na ekranie bie偶膮cy stan konta u偶ytkownika + +Rozszerzenia (艣cie偶ki alternatywne): +------------------------------------ + +*a. Bankomat zawiesza si臋. + + 1. Bankomat informuje o zaj艣ciu b艂臋du + 2. Bankomat wraca do strony g艂贸wnej + +2a. Suma wy艣wietlona na ekranie jest nieczytelna + + 1. Klient przerywa operacje + 2. Bankomat wraca do strony g艂贸wnej + + +Wymagania specjalne: +-------------------- + + 1. Interfejs u偶ytkownika musi by膰 dost臋pny w j臋zyku polskim i angielskim + 2. Wy艣wietlona kwota na ko艅cu powinna posiada膰 odpowiedni膮 walut臋 + + +Wymagania technologiczne oraz ograniczenia na wprowadzane dane: +--------------------------------------------------------------- + + 2a. Ekran wy艣wietla wyra藕n膮 kwot臋 do odczytania + +Kwestie otwarte: +---------------- + +1. Przez jaki czas ma by膰 wy艣wietlony stan konta \ No newline at end of file diff --git a/use-case-5.md b/use-case-5.md new file mode 100644 index 0000000..82b93c0 --- /dev/null +++ b/use-case-5.md @@ -0,0 +1,82 @@ +Use Case 5: Wyplata za pomoca BLIKa +===================== + +**Aktor podstawowy:** Klient + + +G艂贸wni odbiorcy i oczekiwania wzgl臋dem systemu: +----------------------------------------------- + + - Bank: oczekuje poprawnej operacji wyp艂aty got贸wki z bankomatu + + + +Warunki wst臋pne: +---------------- + +Bankomat musi posiada膰 got贸wk臋. + +Warunki ko艅cowe: +---------------- + +Bank zanotowuje dane o transakcji. + +Scenariusz g艂贸wny (艣cie偶ka podstawowa): +--------------------------------------- + + 1. Klient w bankomacie wybiera opcj臋 wyp艂aty got贸wki za pomoc膮 BLIK'a + 2. Bankomat prosi klienta o podanie kwoty do wyp艂acenia. + 3. Bankomat prosi klienta o podanie 6 cyfrowego kodu BLIK. + 4. Klient w czasie 60 sekund wpisuje kod z telefonu do bankomatu. + 5. Bankomat potwierdza zgodno艣膰 kodu oraz wydaje got贸wk臋 klientowi. + +Rozszerzenia (艣cie偶ki alternatywne): +------------------------------------ + + *a. Bankomat zawiesza si臋 + + 1. Bankomat anuluje transakcj臋. + 2. Bankomat informuje klienta o zaj艣ciu b艂臋du. + 3. Bankomat wraca do strony g艂贸wnej. + + 2a. Klient wprowadza kwot臋 lub wybiera kwot臋 proponowan膮 przez bankomat + + 4a. Nieprawid艂owy kod BLIK + + 1. Bankomat informuje klienta o niezgodno艣ci kodu BLIK. + 2. Bankomat anuluje transakcj臋 oraz wraca do strony g艂贸wnej. + + + 4b. Kod BLIK jest za kr贸tki + + 1. Bankomat po czasie oczekiwania informuje o b艂臋dzie i anuluje transakcje. + 2. Bankomat wraca do strony g艂贸wnej. + + 5a. Brak wystarczaj膮cej kwoty na koncie + + 1. Bankomat informuje o braku wystarczaj膮cej kwoty na koncie klienta i anuluje transakcje. + 2. Bankomat wraca do strony g艂贸wnej. + + 2-4. Klient rezygnuje z transakcji + + 1. Bankomat po ustalonym czasie informuje o braku aktywno艣ci. + 2. Bankomat anuluje transakcj臋 oraz wraca do strony g艂贸wnej. + + +Wymagania specjalne: +-------------------- + + - Interfejs u偶ytkownika musi by膰 dost臋pny w j臋zyku polskim i angielskim. + - Program posiada trigger dla zaci臋cia si臋 systemu. + + + +Wymagania technologiczne oraz ograniczenia na wprowadzane dane: +--------------------------------------------------------------- + + 4a. Kod BLIK sk艂ada si臋 z 6 cyfr. + +Kwestie otwarte: +---------------- + + -Jaki czas ustali膰 na oczekiwanie aktywno艣ci klienta? diff --git a/use-cases.md b/use-cases.md new file mode 100644 index 0000000..e1b2cd0 --- /dev/null +++ b/use-cases.md @@ -0,0 +1,45 @@ + +# Opis skr贸cony przypadk贸w uzycia + + +## Aktorzy procesu i ich cele + +Aktor | Cel +------|----- +Klient | Wplata, wyplata, przelew. +Serwisant | Naprawa bledow systemu. +Konwojent | Uzupelniene zawartosci (banknotow) bankomatu. + +## Slownik + +Haslo | Opis +----- | ---- +ST | System transakcji - system nadzorujacy przeplyw pieniedzy. +BLIK | System platnosci mobilnych umozliwiajacy wplaty i wyplaty w bankomacie. + +## Przypadki uzycia + + +### Use case 1: Wplata + +Klient wp艂aca pi臋ni膮dze w got贸wce, a stan jego konta zwi臋ksza si臋 o t臋 sum臋, kt贸r膮 wp艂aci艂. + +### Use case 2: Wyplata + +Klient wyp艂aca pi臋ni膮dze w got贸wce z bankomatu, a stan jego konta zmniejsza si臋 o sum臋, kt贸r膮 chce wyp艂aci膰, o ile stan jego konta jest wi臋kszy od kwoty, kt贸r膮 chce wyp艂aci膰. + +### Use case 3: Przelew + +Klient przelewa wybran膮 kwot臋 na konto innego kienta, o ile stan jego konta jest wi臋kszy od kwoty, kt贸r膮 chce przela膰 innemu klientowi. Konto klienta do, kt贸rego ten przelew zosta艂 wys艂any zwi臋ksza si臋 o kwote wys艂an膮. + +### Use case 4: Sprawdzenie stanu konta + +Klient ma mo偶liwo艣c sprawdzenia swojego stanu konta. + +### Use case 5: Wyplata za pomoca BLIKa + +Klient ma mo偶liwo艣膰 wyp艂acenia pieni臋dzy w got贸wce za pomoc膮 kodu BLIK, czyli bez numeru konta bankowego, a za pomoc膮 6 cyfrowego kodu wa偶nego 60 sekund wygenerowanego przez klienta, w celu weryfikacji to偶samo艣ci. Konto klienta zmiejsza si臋 o kwot臋, kt贸r膮 chce wyp艂aci膰. + +### Use case 6: Wplata za pomoca BLIKa + +Klient ma mo偶liwo艣膰 wp艂acenia pieni臋dzy w got贸wce za pomoc膮 kodu BLIK, czyli bez numeru konta bankowego, a za pomoc膮 6 cyfrowego kodu wa偶nego 60 sekund wygenerowanego przez klienta, w celu weryfikacji to偶samo艣ci. Konto klienta zwi臋ksza si臋 o kwot臋, kt贸r膮 chce wp艂aci膰 \ No newline at end of file