From 96bbc4f4f7233bd66c584316db425cbc3d6b4c40 Mon Sep 17 00:00:00 2001 From: shaaqu Date: Wed, 16 Dec 2020 11:28:54 +0100 Subject: [PATCH] association multiplicity --- models/128002.diagram | 109 ++++++++++++++++++++---------------------- models/models.prj | 96 ++++++++++++++++++------------------- 2 files changed, 99 insertions(+), 106 deletions(-) diff --git a/models/128002.diagram b/models/128002.diagram index c07bf35..9c2fb35 100644 --- a/models/128002.diagram +++ b/models/128002.diagram @@ -2,178 +2,171 @@ format 223 classcanvas 128130 class_ref 128002 // Bankomat classdiagramsettings member_max_width 0 end - xyzwh 894.3 254.3 2000 126 116 + xyzwh 885.02 437.37 2000 125 115 end classcanvas 128258 class_ref 128130 // Gotówka classdiagramsettings member_max_width 0 end - xyzwh 1189.1 253.4 2005 106 112 + xyzwh 1180.27 435.36 2005 105 111 end classcanvas 128386 class_ref 128258 // Karta classdiagramsettings member_max_width 0 end - xyzwh 317.6 23.8 2005 110 110 + xyzwh 318.12 24.28 2005 109 109 end classcanvas 128514 class_ref 128386 // BLIK classdiagramsettings member_max_width 0 end - xyzwh 323.2 783.5 2000 95 128 + xyzwh 324.37 784.07 2000 95 128 end classcanvas 128642 class_ref 128514 // Wyplata classdiagramsettings member_max_width 0 end - xyzwh 64.1 791 2000 108 113 + xyzwh 62.43 791.04 2000 108 113 end classcanvas 128770 class_ref 128642 // Wplata classdiagramsettings member_max_width 0 end - xyzwh 322.5 1009 2000 96 58 + xyzwh 324.19 1009.69 2000 95 57 end classcanvas 128898 class_ref 128770 // Klient classdiagramsettings member_max_width 0 end - xyzwh 592.4 239.1 2000 97 112 + xyzwh 604.68 245.62 2000 96 111 end classcanvas 129026 class_ref 128898 // Konwojent classdiagramsettings member_max_width 0 end - xyzwh 1152.9 33.4 2000 173 78 + xyzwh 1142.96 215.67 2000 172 77 end classcanvas 129154 class_ref 129026 // Serwisant classdiagramsettings member_max_width 0 end - xyzwh 862.9 34.4 2000 190 102 + xyzwh 852.99 216.48 2000 190 101 end classcanvas 129282 class_ref 129154 // Bank classdiagramsettings member_max_width 0 end - xyzwh 72.6 234.4 2000 110 116 + xyzwh 65.61 233.27 2000 109 115 end classcanvas 129410 class_ref 129282 // Konto classdiagramsettings member_max_width 0 end - xyzwh 316.4 238 2000 111 106 + xyzwh 313.41 238.06 2000 110 105 end classcanvas 129538 class_ref 129410 // Przelew classdiagramsettings member_max_width 0 end - xyzwh 573.9 636.9 2000 83 81 + xyzwh 573.93 637.85 2000 83 80 end classcanvas 129666 class_ref 129538 // System_Transakcji classdiagramsettings member_max_width 0 end - xyzwh 272.6 425.4 2000 195 113 + xyzwh 274.61 425.34 2000 195 113 end classcanvas 129794 class_ref 129666 // Potwierdzenie classdiagramsettings member_max_width 0 end - xyzwh 43.6 987.1 2000 148 102 + xyzwh 43.1 988.58 2000 147 101 end classcanvas 129922 class_ref 129794 // PIN classdiagramsettings member_max_width 0 end - xyzwh 581.6 38.8 2000 102 76 + xyzwh 587.16 40.88 2000 102 76 end classcanvas 130050 class_ref 129922 // Transakcja classdiagramsettings member_max_width 0 end - xyzwh 314.3 619.7 2000 118 104 + xyzwh 312.97 620.42 2000 118 104 end classcanvas 130178 class_ref 130050 // Ekran_Bankomatu classdiagramsettings member_max_width 0 end - xyzwh 870.8 461.1 2005 174 99 + xyzwh 860.86 643.9 2005 174 99 end relationcanvas 128762 relation_ref 128122 // from ref 130178 z 2006 to ref 128130 - role_a_pos 966 378 3000 no_role_b - multiplicity_a_pos 935 378 3000 multiplicity_b_pos 935 431 3000 + role_a_pos 960 560 3000 no_role_b + multiplicity_a_pos 924 560 3000 multiplicity_b_pos 924 614 3000 end relationcanvas 130042 relation_ref 128250 // from ref 129026 z 2006 to ref 128258 - no_role_a role_b_pos 1247 120 3000 - multiplicity_a_pos 1217 223 3000 multiplicity_b_pos 1216 120 3000 + no_role_a role_b_pos 1239 300 3000 + multiplicity_a_pos 1210 406 3000 multiplicity_b_pos 1204 300 3000 end relationcanvas 132610 relation_ref 128770 // geometry HV unfixed decenter_begin 537 - from ref 129410 z 2001 to point 589 292 + from ref 129410 z 2001 to point 601 292 line 130298 z 2001 to ref 128898 - role_a_pos 554 266 3000 no_role_b - no_multiplicity_a no_multiplicity_b + role_a_pos 566 267 3000 no_role_b + multiplicity_a_pos 583 304 3000 multiplicity_b_pos 434 304 3000 end relationcanvas 132738 relation_ref 128898 // from ref 128386 z 2006 to ref 129410 - no_role_a role_b_pos 380 142 3000 - multiplicity_a_pos 349 209 3000 multiplicity_b_pos 349 142 3000 + no_role_a role_b_pos 382 141 3000 + multiplicity_a_pos 348 210 3000 multiplicity_b_pos 347 141 3000 end -relationcanvas 132866 relation_ref 129026 // - decenter_begin 533 +relationcanvas 132866 relation_ref 129026 // + decenter_begin 532 decenter_end 537 from ref 129282 z 2001 to ref 129410 - no_role_a role_b_pos 192 266 3000 - multiplicity_a_pos 296 304 3000 multiplicity_b_pos 193 304 3000 + no_role_a role_b_pos 184 266 3000 + multiplicity_a_pos 292 304 3000 multiplicity_b_pos 185 303 3000 end relationcanvas 132994 relation_ref 129154 // from ref 129922 z 2006 to ref 128386 - role_a_pos 437 48 3000 no_role_b - multiplicity_a_pos 438 85 3000 multiplicity_b_pos 560 84 3000 + role_a_pos 439 49 3000 no_role_b + multiplicity_a_pos 439 86 3000 multiplicity_b_pos 563 86 3000 end relationcanvas 133122 relation_ref 129282 // from ref 129794 z 2001 to ref 128642 no_role_a no_role_b - no_multiplicity_a no_multiplicity_b + multiplicity_a_pos 92 913 3000 multiplicity_b_pos 92 958 3000 end relationcanvas 133250 relation_ref 129410 // decenter_begin 456 decenter_end 430 from ref 129794 z 2001 to ref 128770 role_a_pos 246 1005 3000 no_role_b - multiplicity_a_pos 300 1043 3000 multiplicity_b_pos 201 1042 3000 + multiplicity_a_pos 300 1042 3000 multiplicity_b_pos 202 1042 3000 end relationcanvas 133506 relation_ref 129666 // from ref 128130 z 2001 to ref 129154 - role_a_pos 965 144 3000 no_role_b - multiplicity_a_pos 935 144 3000 multiplicity_b_pos 935 224 3000 + role_a_pos 958 325 3000 no_role_b + multiplicity_a_pos 923 325 3000 multiplicity_b_pos 926 408 3000 end relationcanvas 134402 relation_ref 130562 // from ref 128130 z 2006 to ref 128258 - no_role_a role_b_pos 1028 281 3000 - multiplicity_a_pos 1166 318 3000 multiplicity_b_pos 1029 319 3000 + no_role_a role_b_pos 1021 465 3000 + multiplicity_a_pos 1155 499 3000 multiplicity_b_pos 1021 501 3000 end relationcanvas 134530 relation_ref 130690 // from ref 128514 z 2001 to ref 128642 no_role_a no_role_b - no_multiplicity_a no_multiplicity_b + multiplicity_a_pos 181 857 3000 multiplicity_b_pos 300 857 3000 end relationcanvas 134658 relation_ref 130818 // from ref 128514 z 2001 to ref 128770 no_role_a no_role_b - no_multiplicity_a no_multiplicity_b + multiplicity_a_pos 348 980 3000 multiplicity_b_pos 348 920 3000 end -relationcanvas 134914 relation_ref 131074 // +relationcanvas 134914 relation_ref 131074 // from ref 129666 z 2001 to ref 129410 - no_role_a no_role_b - no_multiplicity_a no_multiplicity_b + role_a_pos 380 352 3000 no_role_b + multiplicity_a_pos 348 352 3000 multiplicity_b_pos 349 396 3000 end relationcanvas 135042 relation_ref 131202 // geometry HV unfixed decenter_end 458 - from ref 129666 z 2001 to point 120 478 + from ref 129666 z 2001 to point 112 463 line 130170 z 2001 to ref 129282 no_role_a no_role_b - no_multiplicity_a no_multiplicity_b + multiplicity_a_pos 91 356 3000 multiplicity_b_pos 249 490 3000 end relationcanvas 136706 relation_ref 131330 // decenter_end 465 from ref 129666 z 2001 to ref 130050 - no_role_a no_role_b - no_multiplicity_a no_multiplicity_b -end -relationcanvas 136962 relation_ref 131458 // - geometry HVr - from ref 128898 z 2001 to point 637.1 479.9 - line 130554 z 2001 to ref 129666 - no_role_a no_role_b - no_multiplicity_a no_multiplicity_b + role_a_pos 380 591 3000 no_role_b + multiplicity_a_pos 348 591 3000 multiplicity_b_pos 350 546 3000 end relationcanvas 137218 relation_ref 131586 // decenter_end 532 from ref 129538 z 2001 to ref 130050 - no_role_a role_b_pos 497 645 3000 - no_multiplicity_a no_multiplicity_b + no_role_a no_role_b + multiplicity_a_pos 442 684 3000 multiplicity_b_pos 549 684 3000 end relationcanvas 137346 relation_ref 131714 // geometry HV unfixed decenter_begin 532 - from ref 130050 z 2001 to point 112 672 + from ref 130050 z 2001 to point 113 673 line 128634 z 2001 to ref 128642 no_role_a no_role_b - no_multiplicity_a no_multiplicity_b + multiplicity_a_pos 92 763 3000 multiplicity_b_pos 288 684 3000 end relationcanvas 137474 relation_ref 131842 // decenter_begin 465 diff --git a/models/models.prj b/models/models.prj index 18d361a..ee7ade6 100644 --- a/models/models.prj +++ b/models/models.prj @@ -1,7 +1,7 @@ format 223 "models" - revision 4 - modified_by 122 "kacpe" + revision 5 + modified_by 2 "Pawel Lukaszewicz" @@ -119,8 +119,8 @@ ${members}} java " ${comment}${@}${visibility}${static}${final}${transient}${volatile}${type} ${name}${value}; " classrelation_ref 131330 // naprawia () - b role_name "" multiplicity "1" private - java " ${comment}${@}${visibility}${static}${final}${transient}${volatile}${type} ${name}${value}; + b role_name "" multiplicity "*" private + java " ${comment}${@}${visibility}${static}${final}${transient}${volatile}${stereotype}<${type}> ${name}${value}; " classrelation_ref 131458 // end @@ -205,8 +205,8 @@ ${members}} classrelation 129794 // relation 128898 ---- - a role_name "" multiplicity "1" private - java " ${comment}${@}${visibility}${static}${final}${transient}${volatile}${type} ${name}${value}; + a role_name "" multiplicity "*" private + java " ${comment}${@}${visibility}${static}${final}${transient}${volatile}${stereotype}<${type}> ${name}${value}; " classrelation_ref 129794 // b role_name "daje_dostep" multiplicity "1" private @@ -238,11 +238,11 @@ ${members}} classrelation 133378 // relation 130690 ---- - a role_name "" private + a role_name "" multiplicity "1" private java " ${comment}${@}${visibility}${static}${final}${transient}${volatile}${type} ${name}${value}; " classrelation_ref 133378 // - b role_name "" private + b role_name "" multiplicity "1" private java " ${comment}${@}${visibility}${static}${final}${transient}${volatile}${type} ${name}${value}; " classrelation_ref 133506 // @@ -250,11 +250,11 @@ ${members}} classrelation 133634 // relation 130818 ---- - a role_name "" private + a role_name "" multiplicity "1" private java " ${comment}${@}${visibility}${static}${final}${transient}${volatile}${type} ${name}${value}; " classrelation_ref 133634 // - b role_name "" private + b role_name "" multiplicity "1" private java " ${comment}${@}${visibility}${static}${final}${transient}${volatile}${type} ${name}${value}; " classrelation_ref 133762 // @@ -454,8 +454,8 @@ ${members}} classrelation 128378 // relation 128250 ---- - a role_name "" multiplicity "1" private - java " ${comment}${@}${visibility}${static}${final}${transient}${volatile}${type} ${name}${value}; + a role_name "" multiplicity "*" private + java " ${comment}${@}${visibility}${static}${final}${transient}${volatile}${stereotype}<${type}> ${name}${value}; " classrelation_ref 128378 // b role_name "wplaca" multiplicity "1" private @@ -494,16 +494,16 @@ ${members}} explicit_switch_type "" mysql_decl "" - classrelation 130050 // - relation 129026 ---- + classrelation 130050 // () + relation 129026 ---- name "" a role_name "" multiplicity "*" private java " ${comment}${@}${visibility}${static}${final}${transient}${volatile}${stereotype}<${type}> ${name}${value}; " - classrelation_ref 130050 // + classrelation_ref 130050 // () b role_name "posiada" multiplicity "1" private java " ${comment}${@}${visibility}${static}${final}${transient}${volatile}${type} ${name}${value}; " - classrelation_ref 130178 // posiada () + classrelation_ref 130178 // posiada () end classrelation 134530 // @@ -525,12 +525,12 @@ ${members}} classrelation 129538 // ma () relation 128770 ---- - a role_name "ma" private - java " ${comment}${@}${visibility}${static}${final}${transient}${volatile}${type} ${name}${value}; + a role_name "ma" multiplicity "*" private + java " ${comment}${@}${visibility}${static}${final}${transient}${volatile}${stereotype}<${type}> ${name}${value}; " classrelation_ref 129538 // ma () - b role_name "" private - java " ${comment}${@}${visibility}${static}${final}${transient}${volatile}${type} ${name}${value}; + b role_name "" multiplicity "*" private + java " ${comment}${@}${visibility}${static}${final}${transient}${volatile}${stereotype}<${type}> ${name}${value}; " classrelation_ref 129666 // end @@ -539,8 +539,8 @@ ${members}} relation_ref 128898 // end - classrelation 130178 // posiada () - relation_ref 129026 // + classrelation 130178 // posiada () + relation_ref 129026 // end classrelation 133890 // @@ -555,8 +555,8 @@ ${members}} classrelation_ref 134018 // end - classrelation 134274 // - relation_ref 131074 // + classrelation 134274 // () + relation_ref 131074 // end end @@ -578,14 +578,14 @@ ${members}} classrelation 135170 // relation 131586 ---- - a role_name "" private + a role_name "" multiplicity "1" private java " ${comment}${@}${visibility}${static}${final}${transient}${volatile}${type} ${name}${value}; " classrelation_ref 135170 // - b role_name "posiada" private + b role_name "" multiplicity "1" private java " ${comment}${@}${visibility}${static}${final}${transient}${volatile}${type} ${name}${value}; " - classrelation_ref 135298 // posiada () + classrelation_ref 135298 // end end @@ -605,38 +605,38 @@ ${members}} relation_ref 128386 // end - classrelation 134146 // - relation 131074 ---- - a role_name "" private - java " ${comment}${@}${visibility}${static}${final}${transient}${volatile}${type} ${name}${value}; + classrelation 134146 // obsluguje () + relation 131074 ---- name "" + a role_name "obsluguje" multiplicity "*" private + java " ${comment}${@}${visibility}${static}${final}${transient}${volatile}${stereotype}<${type}> ${name}${value}; " - classrelation_ref 134146 // - b role_name "" 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 // + classrelation_ref 134274 // () end classrelation 134402 // relation 131202 ---- - a role_name "" private + a role_name "" multiplicity "1" private java " ${comment}${@}${visibility}${static}${final}${transient}${volatile}${type} ${name}${value}; " classrelation_ref 134402 // - b role_name "" private + b role_name "" multiplicity "1" private java " ${comment}${@}${visibility}${static}${final}${transient}${volatile}${type} ${name}${value}; " classrelation_ref 134530 // end - classrelation 134658 // + classrelation 134658 // nadzoruje () relation 131330 ---- - a role_name "" private - java " ${comment}${@}${visibility}${static}${final}${transient}${volatile}${type} ${name}${value}; + a role_name "nadzoruje" multiplicity "*" private + java " ${comment}${@}${visibility}${static}${final}${transient}${volatile}${stereotype}<${type}> ${name}${value}; " - classrelation_ref 134658 // - b role_name "" private - java " ${comment}${@}${visibility}${static}${final}${transient}${volatile}${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 // end @@ -660,11 +660,11 @@ ${members}} classrelation 130562 // relation 129282 ---- - a role_name "" private + a role_name "" multiplicity "1" private java " ${comment}${@}${visibility}${static}${final}${transient}${volatile}${type} ${name}${value}; " classrelation_ref 130562 // - b role_name "" private + b role_name "" multiplicity "1" private java " ${comment}${@}${visibility}${static}${final}${transient}${volatile}${type} ${name}${value}; " classrelation_ref 130690 // @@ -724,17 +724,17 @@ ${members}} relation_ref 131330 // end - classrelation 135298 // posiada () + classrelation 135298 // relation_ref 131586 // end classrelation 135426 // relation 131714 ---- - a role_name "" private + a role_name "" multiplicity "1" private java " ${comment}${@}${visibility}${static}${final}${transient}${volatile}${type} ${name}${value}; " classrelation_ref 135426 // - b role_name "" private + b role_name "" multiplicity "1" private java " ${comment}${@}${visibility}${static}${final}${transient}${volatile}${type} ${name}${value}; " classrelation_ref 135554 //