model wiezy dziedzinowej - asocjacje

This commit is contained in:
Marta Roszak 2020-12-09 11:23:32 +01:00
parent dd49f8fff5
commit d1e7ada7ec
4 changed files with 467 additions and 30 deletions

View File

@ -2,90 +2,211 @@ format 223
classcanvas 128044 class_ref 128044 // Klient
classdiagramsettings member_max_width 0 end
xyz 105 37 2000
xyz 509.4 28.8 2000
end
classcanvas 128172 class_ref 128172 // Automat
classdiagramsettings member_max_width 0 end
xyz 236 39 2000
xyz 166.1 296 2000
end
classcanvas 128300 class_ref 128300 // PracownikObslugi
classdiagramsettings member_max_width 0 end
xyz 375 48 2000
xyz 709.4 376.4 2000
end
classcanvas 128812 class_ref 128684 // Platnosc
classdiagramsettings member_max_width 0 end
xyz 549 160 2000
xyz 646 165.8 2000
end
classcanvas 128940 class_ref 128812 // Sprzedaz
classcanvas 128940 class_ref 128812 // Zakup
classdiagramsettings member_max_width 0 end
xyz 64 114 2000
xyz 443.4 119.1 2000
end
classcanvas 129068 class_ref 128940 // Magazyn
classdiagramsettings member_max_width 0 end
xyz 31 263 2000
xyz 21.5 232.8 2000
end
classcanvas 129196 class_ref 129068 // SystemAutoryzacjiPlatnosci
classdiagramsettings member_max_width 0 end
xyz 332 344 2000
xyz 24.5 478.4 2000
end
classcanvas 129324 class_ref 129196 // ZewnetrznySystemObslugi
classdiagramsettings member_max_width 0 end
xyz 526 291 2000
xyz 524.9 291 2000
end
classcanvas 129452 class_ref 129324 // PodsumowanieKontroli
classdiagramsettings member_max_width 0 end
xyzwh 147 345 2000 141 49
xyzwh 321.6 345.8 2000 141 48
end
classcanvas 129580 class_ref 129452 // Kwota
classdiagramsettings member_max_width 0 end
xyz 500 171 2005
xyz 697.1 117.8 2005
end
classcanvas 129708 class_ref 129580 // CieplyPosilek
classdiagramsettings member_max_width 0 end
xyz 299 130 2005
xyz 131.3 64.9 2005
end
classcanvas 129836 class_ref 129708 // ZwyklyProdukt
classdiagramsettings member_max_width 0 end
xyz 300 172 2010
xyz 67 100.6 2010
end
classcanvas 129964 class_ref 128556 // DataPrzydatnosci
classdiagramsettings member_max_width 0 end
xyz 255 215 2015
xyz 287.6 192.7 2015
end
classcanvas 130092 class_ref 129836 // Cena
classdiagramsettings member_max_width 0 end
xyz 205 212 2020
xyz 204.8 200.4 2020
end
classcanvas 130348 class_ref 129964 // Produkt
classdiagramsettings member_max_width 0 end
xyz 238 169 2000
xyz 163.9 102 2000
end
classcanvas 130476 class_ref 130092 // Data
classdiagramsettings member_max_width 0 end
xyz 129 117 2005
xyz 439.5 217 2005
end
classcanvas 130604 class_ref 130220 // Czas
classdiagramsettings member_max_width 0 end
xyz 85 154 2010
xyz 538.9 201.1 2010
end
classcanvas 130732 class_ref 130348 // ListaProduktow
classdiagramsettings member_max_width 0 end
xyz 12 301 2005
xyz 1.4 272.1 2005
end
classcanvas 130860 class_ref 130476 // RodzajPlatnosci
classdiagramsettings member_max_width 0 end
xyz 549 201 2010
xyz 717.8 225.5 2010
end
classcanvas 130988 class_ref 130604 // Gotowka
classdiagramsettings member_max_width 0 end
xyz 613 157 2015
xyz 775.4 266.6 2015
end
classcanvas 131116 class_ref 130732 // Karta
classdiagramsettings member_max_width 0 end
xyz 654 200 2020
xyz 724.4 266 2020
end
classcanvas 131244 class_ref 130860 // Terminal
classdiagramsettings member_max_width 0 end
xyz 333 306 2005
xyz 78.9 372.4 2005
end
classcanvas 134316 class_ref 137388 // Awaria
classdiagramsettings member_max_width 0 end
xyz 183.1 436.9 2000
end
classcanvas 134444 class_ref 137516 // Usterka
classdiagramsettings member_max_width 0 end
xyz 258.5 416.9 2000
end
classcanvas 134572 class_ref 137644 // Raport
classdiagramsettings member_max_width 0 end
xyz 378.9 537.7 2005
end
relationcanvas 132140 relation_ref 128556 // zawiera
from ref 130348 z 2001 label "zawiera" italic max_width 255 xyz 311.5 115.5 3000 to ref 128940
no_role_a no_role_b
multiplicity_a_pos 429 142 3000 multiplicity_b_pos 223 104 3000
end
relationcanvas 132268 relation_ref 128684 // jest realizowany
from ref 128940 z 2001 label "jest realizowany" italic max_width 255 xyz 544 140.5 3000 to ref 128812
no_role_a no_role_b
multiplicity_a_pos 631 185 3000 multiplicity_b_pos 493 126 3000
end
relationcanvas 132396 relation_ref 128812 // dokonuje
from ref 128044 z 2001 label "dokonuje" italic max_width 255 xyz 498 89.5 3000 to point 466.4 119.6
line 134188 z 2001 to ref 128940
no_role_a no_role_b
multiplicity_a_pos 463 109 3000 multiplicity_b_pos 496 58 3000
end
relationcanvas 132524 relation_ref 128940 // posiada
from ref 131244 z 2006 label "posiada" italic max_width 255 xyz 106.5 346 3000 to ref 128172
no_role_a no_role_b
multiplicity_a_pos 157 332 3000 multiplicity_b_pos 137 372 3000
end
relationcanvas 132652 relation_ref 129068 // zarzadza
from ref 128300 z 2001 label "zarzadza" italic max_width 255 xyz 691 338.5 3000 to ref 129324
no_role_a no_role_b
multiplicity_a_pos 668 328 3000 multiplicity_b_pos 730 361 3000
end
relationcanvas 132780 relation_ref 129196 // posiada
from ref 129068 z 2001 label "posiada" italic max_width 255 xyz 76 177.5 3000 to ref 130348
no_role_a no_role_b
multiplicity_a_pos 144 137 3000 multiplicity_b_pos 60 218 3000
end
relationcanvas 132908 relation_ref 129324 // posiada
from ref 129068 z 2001 label "posiada" italic max_width 255 xyz 106.5 264.5 3000 to ref 128172
no_role_a no_role_b
multiplicity_a_pos 153 312 3000 multiplicity_b_pos 83 250 3000
end
relationcanvas 133036 relation_ref 129452 // obsluguje
from ref 128172 z 2001 label "obsluguje" italic max_width 255 xyz 351 299 3000 to ref 129324
no_role_a no_role_b
multiplicity_a_pos 518 295 3000 multiplicity_b_pos 227 301 3000
end
relationcanvas 133164 relation_ref 129580 // generuje
from ref 128172 z 2001 label "generuje" italic max_width 255 xyz 283 324.5 3000 to ref 129452
no_role_a no_role_b
multiplicity_a_pos 311 354 3000 multiplicity_b_pos 233 330 3000
end
relationcanvas 133292 relation_ref 129708 // jest przekazywane
from ref 129452 z 2001 label "jest przekazywane" italic max_width 255 xyz 408 325 3000 to ref 129324
no_role_a no_role_b
multiplicity_a_pos 520 332 3000 multiplicity_b_pos 466 350 3000
end
relationcanvas 133420 relation_ref 129836 // posiada
from ref 130092 z 2021 label "posiada" italic max_width 255 xyz 171 168.5 3000 to ref 130348
no_role_a no_role_b
multiplicity_a_pos 183 146 3000 multiplicity_b_pos 203 183 3000
end
relationcanvas 133548 relation_ref 129964 // posiada
from ref 130348 z 2016 label "posiada" italic max_width 255 xyz 259.5 149 3000 to ref 129964
no_role_a no_role_b
multiplicity_a_pos 314 178 3000 multiplicity_b_pos 215 138 3000
end
relationcanvas 133676 relation_ref 130092 // posiada
decenter_end 368
from ref 128812 z 2011 label "posiada" italic max_width 255 xyz 719.5 199 3000 to ref 130860
no_role_a no_role_b
multiplicity_a_pos 733 215 3000 multiplicity_b_pos 703 203 3000
end
relationcanvas 133804 relation_ref 130220 // posiada
from ref 129196 z 2006 label "posiada" italic max_width 255 xyz 106 433 3000 to ref 131244
no_role_a no_role_b
multiplicity_a_pos 93 415 3000 multiplicity_b_pos 92 461 3000
end
relationcanvas 133932 relation_ref 130348 // posiada
decenter_end 326
from ref 128940 z 2006 label "posiada" italic max_width 255 xyz 419.5 179.5 3000 to ref 130476
no_role_a no_role_b
multiplicity_a_pos 439 200 3000 multiplicity_b_pos 449 162 3000
end
relationcanvas 134060 relation_ref 130476 // posiada
from ref 128940 z 2011 label "posiada" italic max_width 255 xyz 488.5 187.5 3000 to ref 130604
no_role_a no_role_b
multiplicity_a_pos 524 216 3000 multiplicity_b_pos 485 158 3000
end
relationcanvas 134700 relation_ref 130604 // ma
from ref 128172 z 2001 label "ma" italic max_width 255 xyz 249.5 369 3000 to ref 134444
no_role_a no_role_b
multiplicity_a_pos 239 399 3000 multiplicity_b_pos 198 339 3000
end
relationcanvas 134828 relation_ref 130732 // ma
decenter_end 168
from ref 128172 z 2001 label "ma" italic max_width 255 xyz 197.5 379.5 3000 to ref 134316
no_role_a no_role_b
multiplicity_a_pos 165 419 3000 multiplicity_b_pos 182 339 3000
end
relationcanvas 134956 relation_ref 130860 // generuje
from ref 134316 z 2006 label "generuje" italic max_width 255 xyz 271 509 3000 to ref 134572
no_role_a no_role_b
multiplicity_a_pos 366 543 3000 multiplicity_b_pos 233 473 3000
end
relationcanvas 135084 relation_ref 130988 // generuje
from ref 134444 z 2006 label "generuje" italic max_width 255 xyz 350 484 3000 to ref 134572
no_role_a no_role_b
multiplicity_a_pos 379 518 3000 multiplicity_b_pos 293 452 3000
end
relationcanvas 135212 relation_ref 131116 // jest przekazywany
from ref 134572 z 2006 label "jest przekazywany" italic max_width 255 xyz 492 442 3000 to ref 129324
no_role_a no_role_b
multiplicity_a_pos 567 334 3000 multiplicity_b_pos 425 528 3000
end
end

View File

@ -1,14 +1,14 @@
window_sizes 1280 637 320 955 485 104
window_sizes 1366 705 229 1132 659 0
diagrams
active classdiagram_ref 128044 // domain-model
938 444 100 A4 0 0
1014 626 110 A4 37 0
end
show_stereotypes
selected class_ref 129708 // ZwyklyProdukt
open
class_ref 128684 // Platnosc
class_ref 128812 // Sprzedaz
class_ref 128812 // Zakup
class_ref 128940 // Magazyn
end
end

View File

@ -1,6 +1,6 @@
format 223
"models"
revision 1
revision 2
modified_by 44 "Marta Roszak"
@ -65,7 +65,7 @@ format 223
activitydiagramsettings
end
classdiagram 128044 "domain-model"
classdiagramsettings member_max_width 0 end
classdiagramsettings draw_all_relations no member_max_width 0 end
size A4
end
@ -79,6 +79,29 @@ format 223
explicit_switch_type ""
mysql_decl ""
classrelation 128428 // (kupuje)
relation_ref 128172 // kupuje
end
classrelation 128684 // (dokonuje)
relation_ref 128300 // dokonuje
end
classrelation 128812 // (dokonuje)
relation 128428 ---- name "dokonuje"
a role_name "" multiplicity "1" private
classrelation_ref 128812 // (dokonuje)
b role_name "" multiplicity "1" private
classrelation_ref 128940 // (dokonuje)
end
classrelation 129580 // (dokonuje)
relation 128812 ---- name "dokonuje"
a role_name "" multiplicity "1" private
classrelation_ref 129580 // (dokonuje)
b role_name "" multiplicity "1" private
classrelation_ref 129708 // (dokonuje)
end
end
class 128172 "Automat"
@ -91,6 +114,45 @@ format 223
explicit_switch_type ""
mysql_decl ""
classrelation 129964 // (posiada)
relation_ref 128940 // posiada
end
classrelation 130732 // (posiada)
relation_ref 129324 // posiada
end
classrelation 130860 // (obsluguje)
relation 129452 ---- name "obsluguje"
a role_name "" multiplicity "1" private
classrelation_ref 130860 // (obsluguje)
b role_name "" multiplicity "1" private
classrelation_ref 130988 // (obsluguje)
end
classrelation 131116 // (generuje)
relation 129580 ---- name "generuje"
a role_name "" multiplicity "*" private
classrelation_ref 131116 // (generuje)
b role_name "" multiplicity "1" private
classrelation_ref 131244 // (generuje)
end
classrelation 133164 // (ma)
relation 130604 ---- name "ma"
a role_name "" multiplicity "0..1" private
classrelation_ref 133164 // (ma)
b role_name "" multiplicity "1" private
classrelation_ref 133292 // (ma)
end
classrelation 133420 // (ma)
relation 130732 ---- name "ma"
a role_name "" multiplicity "0..1" private
classrelation_ref 133420 // (ma)
b role_name "" multiplicity "1" private
classrelation_ref 133548 // (ma)
end
end
class 128300 "PracownikObslugi"
@ -103,6 +165,13 @@ format 223
explicit_switch_type ""
mysql_decl ""
classrelation 130092 // (zarzadza)
relation 129068 ---- name "zarzadza"
a role_name "" multiplicity "1" private
classrelation_ref 130092 // (zarzadza)
b role_name "" multiplicity "1..*" private
classrelation_ref 130220 // (zarzadza)
end
end
class 128556 "DataPrzydatnosci"
@ -115,6 +184,9 @@ format 223
explicit_switch_type ""
mysql_decl ""
classrelation 132012 // (posiada)
relation_ref 129964 // posiada
end
end
class 128684 "Platnosc"
@ -127,9 +199,24 @@ format 223
explicit_switch_type ""
mysql_decl ""
classrelation 128940 // (dokonuje)
relation_ref 128428 // dokonuje
end
classrelation 129452 // (jest realizowany)
relation_ref 128684 // jest realizowany
end
classrelation 132140 // (posiada)
relation 130092 ---- name "posiada"
a role_name "" multiplicity "1" private
classrelation_ref 132140 // (posiada)
b role_name "" multiplicity "1" private
classrelation_ref 132268 // (posiada)
end
end
class 128812 "Sprzedaz"
class 128812 "Zakup"
visibility package
cpp_decl ""
java_decl ""
@ -139,6 +226,45 @@ format 223
explicit_switch_type ""
mysql_decl ""
classrelation 128556 // (dokonuje)
relation 128300 ---- name "dokonuje"
a role_name "" multiplicity "1" private
classrelation_ref 128556 // (dokonuje)
b role_name "" multiplicity "1" private
classrelation_ref 128684 // (dokonuje)
end
classrelation 129196 // (zawiera)
relation_ref 128556 // zawiera
end
classrelation 129324 // (jest realizowany)
relation 128684 ---- name "jest realizowany"
a role_name "" multiplicity "1" private
classrelation_ref 129324 // (jest realizowany)
b role_name "" multiplicity "1" private
classrelation_ref 129452 // (jest realizowany)
end
classrelation 129708 // (dokonuje)
relation_ref 128812 // dokonuje
end
classrelation 132652 // (posiada)
relation 130348 ---- name "posiada"
a role_name "" multiplicity "1" private
classrelation_ref 132652 // (posiada)
b role_name "" multiplicity "1" private
classrelation_ref 132780 // (posiada)
end
classrelation 132908 // (posiada)
relation 130476 ---- name "posiada"
a role_name "" multiplicity "1" private
classrelation_ref 132908 // (posiada)
b role_name "" multiplicity "1" private
classrelation_ref 133036 // (posiada)
end
end
class 128940 "Magazyn"
@ -151,6 +277,21 @@ format 223
explicit_switch_type ""
mysql_decl ""
classrelation 130348 // (posiada)
relation 129196 ---- name "posiada"
a role_name "" multiplicity "1..*" private
classrelation_ref 130348 // (posiada)
b role_name "" multiplicity "1" private
classrelation_ref 130476 // (posiada)
end
classrelation 130604 // (posiada)
relation 129324 ---- name "posiada"
a role_name "" multiplicity "1" private
classrelation_ref 130604 // (posiada)
b role_name "" multiplicity "1" private
classrelation_ref 130732 // (posiada)
end
end
class 129068 "SystemAutoryzacjiPlatnosci"
@ -163,6 +304,13 @@ format 223
explicit_switch_type ""
mysql_decl ""
classrelation 132396 // (posiada)
relation 130220 ---- name "posiada"
a role_name "" multiplicity "1" private
classrelation_ref 132396 // (posiada)
b role_name "" multiplicity "1" private
classrelation_ref 132524 // (posiada)
end
end
class 129196 "ZewnetrznySystemObslugi"
@ -175,6 +323,21 @@ format 223
explicit_switch_type ""
mysql_decl ""
classrelation 130220 // (zarzadza)
relation_ref 129068 // zarzadza
end
classrelation 130988 // (obsluguje)
relation_ref 129452 // obsluguje
end
classrelation 131500 // (jest przekazywane)
relation_ref 129708 // jest przekazywane
end
classrelation 134316 // (jest przekazywany)
relation_ref 131116 // jest przekazywany
end
end
class 129324 "PodsumowanieKontroli"
@ -187,6 +350,17 @@ format 223
explicit_switch_type ""
mysql_decl ""
classrelation 131244 // (generuje)
relation_ref 129580 // generuje
end
classrelation 131372 // (jest przekazywane)
relation 129708 ---- name "jest przekazywane"
a role_name "" multiplicity "1" private
classrelation_ref 131372 // (jest przekazywane)
b role_name "" multiplicity "*" private
classrelation_ref 131500 // (jest przekazywane)
end
end
class 129452 "Kwota"
@ -211,6 +385,17 @@ format 223
explicit_switch_type ""
mysql_decl ""
classrelation 128044 // <association>
relation 128044 ----
a role_name "" private
classrelation_ref 128044 // <association>
b role_name "" private
classrelation_ref 128172 // <association>
end
classrelation 128172 // <association>
relation_ref 128044 // <association>
end
end
class 129708 "ZwyklyProdukt"
@ -235,6 +420,13 @@ format 223
explicit_switch_type ""
mysql_decl ""
classrelation 131628 // (posiada)
relation 129836 ---- name "posiada"
a role_name "" multiplicity "1" private
classrelation_ref 131628 // (posiada)
b role_name "" multiplicity "1" private
classrelation_ref 131756 // (posiada)
end
end
class 129964 "Produkt"
@ -247,6 +439,37 @@ format 223
explicit_switch_type ""
mysql_decl ""
classrelation 128300 // (kupuje)
relation 128172 ---- name "kupuje"
a role_name "" multiplicity "1" private
classrelation_ref 128300 // (kupuje)
b role_name "" multiplicity "1" private
classrelation_ref 128428 // (kupuje)
end
classrelation 129068 // (zawiera)
relation 128556 ---- name "zawiera"
a role_name "" multiplicity "1" private
classrelation_ref 129068 // (zawiera)
b role_name "" multiplicity "1" private
classrelation_ref 129196 // (zawiera)
end
classrelation 130476 // (posiada)
relation_ref 129196 // posiada
end
classrelation 131756 // (posiada)
relation_ref 129836 // posiada
end
classrelation 131884 // (posiada)
relation 129964 ---- name "posiada"
a role_name "" multiplicity "1" private
classrelation_ref 131884 // (posiada)
b role_name "" multiplicity "1" private
classrelation_ref 132012 // (posiada)
end
end
class 130092 "Data"
@ -259,6 +482,9 @@ format 223
explicit_switch_type ""
mysql_decl ""
classrelation 132780 // (posiada)
relation_ref 130348 // posiada
end
end
class 130220 "Czas"
@ -271,6 +497,9 @@ format 223
explicit_switch_type ""
mysql_decl ""
classrelation 133036 // (posiada)
relation_ref 130476 // posiada
end
end
class 130348 "ListaProduktow"
@ -295,6 +524,9 @@ format 223
explicit_switch_type ""
mysql_decl ""
classrelation 132268 // (posiada)
relation_ref 130092 // posiada
end
end
class 130604 "Gotowka"
@ -331,6 +563,90 @@ format 223
explicit_switch_type ""
mysql_decl ""
classrelation 129836 // (posiada)
relation 128940 ---- name "posiada"
a role_name "" multiplicity "1" private
classrelation_ref 129836 // (posiada)
b role_name "" multiplicity "1" private
classrelation_ref 129964 // (posiada)
end
classrelation 132524 // (posiada)
relation_ref 130220 // posiada
end
end
class 137388 "Awaria"
visibility package
cpp_decl ""
java_decl ""
php_decl ""
python_2_2 python_decl ""
idl_decl ""
explicit_switch_type ""
mysql_decl ""
classrelation 133548 // (ma)
relation_ref 130732 // ma
end
classrelation 133676 // (generuje)
relation 130860 ---- name "generuje"
a role_name "" multiplicity "1" private
classrelation_ref 133676 // (generuje)
b role_name "" multiplicity "1" private
classrelation_ref 133804 // (generuje)
end
end
class 137516 "Usterka"
visibility package
cpp_decl ""
java_decl ""
php_decl ""
python_2_2 python_decl ""
idl_decl ""
explicit_switch_type ""
mysql_decl ""
classrelation 133292 // (ma)
relation_ref 130604 // ma
end
classrelation 133932 // (generuje)
relation 130988 ---- name "generuje"
a role_name "" multiplicity "1" private
classrelation_ref 133932 // (generuje)
b role_name "" multiplicity "1" private
classrelation_ref 134060 // (generuje)
end
end
class 137644 "Raport"
visibility package
cpp_decl ""
java_decl ""
php_decl ""
python_2_2 python_decl ""
idl_decl ""
explicit_switch_type ""
mysql_decl ""
classrelation 133804 // (generuje)
relation_ref 130860 // generuje
end
classrelation 134060 // (generuje)
relation_ref 130988 // generuje
end
classrelation 134188 // (jest przekazywany)
relation 131116 ---- name "jest przekazywany"
a role_name "" multiplicity "1" private
classrelation_ref 134188 // (jest przekazywany)
b role_name "" multiplicity "0..1" private
classrelation_ref 134316 // (jest przekazywany)
end
end
end
end

View File

@ -3,7 +3,7 @@
-_-> 3 "access" "import" "from"
end
class_stereotypes 22 "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"
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}"