UML Associations

This commit is contained in:
MeeHow2608 2021-11-17 11:30:13 +01:00
parent 6d038861ed
commit 2294445b74
3 changed files with 322 additions and 41 deletions

View File

@ -2,42 +2,135 @@ format 224
classcanvas 128008 class_ref 128008 // Menu
classdiagramsettings member_max_width 0 end
xyz 53 126.2 2000
xyz 53.5 151.5 2000
end
classcanvas 128136 class_ref 128136 // Potrawa
classdiagramsettings member_max_width 0 end
xyz 113 160.8 2000
xyzwh 156 153.8 2000 85 31
end
classcanvas 128264 class_ref 128264 // Zamowienie
classdiagramsettings member_max_width 0 end
xyz 204.8 76.2 2000
xyz 224.8 72.7 2000
end
classcanvas 128392 class_ref 128392 // Platnosc
classdiagramsettings member_max_width 0 end
xyz 295.8 49.4 2000
xyz 346.3 49.4 2000
end
classcanvas 128520 class_ref 128520 // Kelner
classdiagramsettings member_max_width 0 end
xyz 282.2 125.2 2000
end
classcanvas 128648 class_ref 128648 // Dodatek
classdiagramsettings member_max_width 0 end
xyz 82.6 235.8 2000
end
classcanvas 128776 class_ref 128776 // Skladnik
classdiagramsettings member_max_width 0 end
xyz 162.6 235.8 2000
xyz 346.2 120.2 2000
end
classcanvas 128904 class_ref 128904 // Produkt
classdiagramsettings member_max_width 0 end
xyz 124.4 281.2 2000
xyzwh 159.4 244.2 2000 84 31
end
classcanvas 129032 class_ref 129032 // Spizarnia
classdiagramsettings member_max_width 0 end
xyz 245.2 283 2000
xyz 178.7 322 2000
end
classcanvas 129160 class_ref 129160 // Kuchnia
classdiagramsettings member_max_width 0 end
xyz 434 217 2000
xyz 111 71 2000
end
classcanvas 129672 class_ref 135688 // Klient
classdiagramsettings member_max_width 0 end
xyz 447 179 2000
end
classcanvas 129800 class_ref 135816 // Kucharz
classdiagramsettings member_max_width 0 end
xyz 21 72 2000
end
classcanvas 129928 class_ref 135944 // Kasa
classdiagramsettings member_max_width 0 end
xyz 447 44 2000
end
classcanvas 130056 class_ref 136072 // Kasjer
classdiagramsettings member_max_width 0 end
xyz 557 44 2000
end
classcanvas 130184 class_ref 136200 // PotwierdzeniePlatnosci
classdiagramsettings member_max_width 0 end
xyz 475 104 2000
end
classcanvas 130312 class_ref 136328 // PracownikSpizarni
classdiagramsettings member_max_width 0 end
xyz 155 382 2000
end
relationcanvas 130440 relation_ref 128264 // Obsluguje
decenter_begin 720
from ref 130312 z 2001 label "Obsluguje" italic max_width 255 xyz 173 363 3000 to ref 129032
no_role_a no_role_b
multiplicity_a_pos 192 357 3000 multiplicity_b_pos 188 373 3000
end
relationcanvas 130568 relation_ref 128392 // Przechowuje
from ref 128904 z 2001 label "Przechowuje" italic max_width 255 xyz 164.5 293.5 3000 to ref 129032
no_role_a no_role_b
multiplicity_a_pos 192 313 3000 multiplicity_b_pos 193 279 3000
end
relationcanvas 130824 relation_ref 128648 // Jest dodatkiem
decenter_begin 217
decenter_end 206
from ref 128136 z 2001 label "Jest dodatkiem" italic max_width 255 xyz 121 215 3000 to point 163 208
line 131208 z 2001 to ref 128904
no_role_a no_role_b
multiplicity_a_pos 168 235 3000 multiplicity_b_pos 167 188 3000
end
relationcanvas 130952 relation_ref 128776 // Jest skladnikiem
decenter_begin 700
decenter_end 792
from ref 128904 z 2001 label "Jest skladnikiem" italic max_width 255 xyz 237 213 3000 to point 223 204
line 131080 z 2001 to ref 128136
no_role_a no_role_b
multiplicity_a_pos 217 188 3000 multiplicity_b_pos 204 235 3000
end
relationcanvas 131464 relation_ref 128904 // Zawiera
from ref 128008 z 2001 label "Zawiera" italic max_width 255 xyz 116 160.5 3000 to ref 128136
no_role_a no_role_b
multiplicity_a_pos 149 172 3000 multiplicity_b_pos 102 171 3000
end
relationcanvas 131592 relation_ref 129032 // <Zawiera
from ref 128264 z 2001 label "<Zawiera" italic max_width 255 xyz 198.5 121 3000 to ref 128136
no_role_a no_role_b
multiplicity_a_pos 194 144 3000 multiplicity_b_pos 229 107 3000
end
relationcanvas 131720 relation_ref 129160 // Jest zarzadzane
from ref 128264 z 2001 label "Jest zarzadzane" italic max_width 255 xyz 306 100.5 3000 to ref 128520
no_role_a no_role_b
multiplicity_a_pos 338 133 3000 multiplicity_b_pos 276 103 3000
end
relationcanvas 131848 relation_ref 129288 // Obsluguje
from ref 128520 z 2001 label "Obsluguje" italic max_width 255 xyz 421.5 157 3000 to ref 129672
no_role_a no_role_b
multiplicity_a_pos 440 188 3000 multiplicity_b_pos 395 155 3000
end
relationcanvas 131976 relation_ref 129416 // Przygotowuje
from ref 129160 z 2001 label "Przygotowuje" italic max_width 255 xyz 173 80 3000 to ref 128264
no_role_a no_role_b
multiplicity_a_pos 218 92 3000 multiplicity_b_pos 160 91 3000
end
relationcanvas 132104 relation_ref 129544 // Obsluguje
from ref 129800 z 2001 label "Obsluguje" italic max_width 255 xyz 76 80 3000 to ref 129160
no_role_a no_role_b
multiplicity_a_pos 103 91 3000 multiplicity_b_pos 70 92 3000
end
relationcanvas 132232 relation_ref 129672 // Jest oplacane
from ref 128264 z 2001 label "Jest oplacane" italic max_width 255 xyz 288 65 3000 to ref 128392
no_role_a no_role_b
multiplicity_a_pos 338 72 3000 multiplicity_b_pos 275 87 3000
end
relationcanvas 132360 relation_ref 129800 // <Przyjmuje
from ref 128392 z 2001 label "<Przyjmuje" italic max_width 255 xyz 405 55 3000 to ref 129928
no_role_a no_role_b
multiplicity_a_pos 439 65 3000 multiplicity_b_pos 396 68 3000
end
relationcanvas 132488 relation_ref 129928 // Jest obslugiwana
from ref 129928 z 2001 label "Jest obslugiwana" italic max_width 255 xyz 502 53.5 3000 to ref 130056
no_role_a no_role_b
multiplicity_a_pos 549 64 3000 multiplicity_b_pos 496 64 3000
end
relationcanvas 133256 relation_ref 130184 // Generuje
from ref 128392 z 2001 label "Generuje" italic max_width 255 xyz 435.5 84 3000 to ref 130184
no_role_a no_role_b
multiplicity_a_pos 467 110 3000 multiplicity_b_pos 395 78 3000
end
end

8
models/8.session Normal file
View File

@ -0,0 +1,8 @@
window_sizes 1800 910 450 1345 760 104
show_stereotypes
selected classdiagram_ref 128012 // domain-model
open
classview_ref 128012 // domain
end
end

View File

@ -1,6 +1,6 @@
format 224
"models"
revision 3
revision 4
modified_by 8 "s452662"
@ -36,7 +36,7 @@ format 224
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 72
font_size 6
font_size 5
diagram_format A4
image_root_dir ""
@ -79,6 +79,13 @@ format 224
explicit_switch_type ""
mysql_decl ""
classrelation 129800 // (Zawiera)
relation 128904 ---- name "Zawiera"
a role_name "" multiplicity "*" private
classrelation_ref 129800 // (Zawiera)
b role_name "" multiplicity "1" private
classrelation_ref 129928 // (Zawiera)
end
end
class 128136 "Potrawa"
@ -91,6 +98,25 @@ format 224
explicit_switch_type ""
mysql_decl ""
classrelation 129288 // (Jest dodatkiem)
relation 128648 ---- name "Jest dodatkiem"
a role_name "" multiplicity "*" private
classrelation_ref 129288 // (Jest dodatkiem)
b role_name "" multiplicity "*" private
classrelation_ref 129416 // (Jest dodatkiem)
end
classrelation 129672 // (Jest skladnikiem)
relation_ref 128776 // Jest skladnikiem
end
classrelation 129928 // (Zawiera)
relation_ref 128904 // Zawiera
end
classrelation 130184 // (<Zawiera)
relation_ref 129032 // <Zawiera
end
end
class 128264 "Zamowienie"
@ -103,6 +129,33 @@ format 224
explicit_switch_type ""
mysql_decl ""
classrelation 130056 // (<Zawiera)
relation 129032 ---- name "<Zawiera"
a role_name "" multiplicity "1..*" private
classrelation_ref 130056 // (<Zawiera)
b role_name "" multiplicity "*" private
classrelation_ref 130184 // (<Zawiera)
end
classrelation 130312 // (Jest zarzadzane)
relation 129160 ---- name "Jest zarzadzane"
a role_name "" multiplicity "1" private
classrelation_ref 130312 // (Jest zarzadzane)
b role_name "" multiplicity "*" private
classrelation_ref 130440 // (Jest zarzadzane)
end
classrelation 130952 // (Przygotowuje)
relation_ref 129416 // Przygotowuje
end
classrelation 131336 // (Jest oplacane)
relation 129672 ---- name "Jest oplacane"
a role_name "" multiplicity "1" private
classrelation_ref 131336 // (Jest oplacane)
b role_name "" multiplicity "1" private
classrelation_ref 131464 // (Jest oplacane)
end
end
class 128392 "Platnosc"
@ -115,6 +168,18 @@ format 224
explicit_switch_type ""
mysql_decl ""
classrelation 131464 // (Jest oplacane)
relation_ref 129672 // Jest oplacane
end
classrelation 131592 // (<Przyjmuje)
relation 129800 ---- name "<Przyjmuje"
a role_name "" multiplicity "1" private
classrelation_ref 131592 // (<Przyjmuje)
b role_name "" multiplicity "*" private
classrelation_ref 131720 // (<Przyjmuje)
end
end
class 128520 "Kelner"
@ -127,30 +192,17 @@ format 224
explicit_switch_type ""
mysql_decl ""
end
classrelation 130440 // (Jest zarzadzane)
relation_ref 129160 // Jest zarzadzane
end
class 128648 "Dodatek"
visibility package
cpp_decl ""
java_decl ""
php_decl ""
python_2_2 python_decl ""
idl_decl ""
explicit_switch_type ""
mysql_decl ""
end
class 128776 "Skladnik"
visibility package
cpp_decl ""
java_decl ""
php_decl ""
python_2_2 python_decl ""
idl_decl ""
explicit_switch_type ""
mysql_decl ""
classrelation 130568 // (Obsluguje)
relation 129288 ---- name "Obsluguje"
a role_name "" multiplicity "*" private
classrelation_ref 130568 // (Obsluguje)
b role_name "" multiplicity "1" private
classrelation_ref 130696 // (Obsluguje)
end
end
class 128904 "Produkt"
@ -163,6 +215,25 @@ format 224
explicit_switch_type ""
mysql_decl ""
classrelation 128776 // (Przechowuje)
relation 128392 ---- name "Przechowuje"
a role_name "" multiplicity "1" private
classrelation_ref 128776 // (Przechowuje)
b role_name "" multiplicity "*" private
classrelation_ref 128904 // (Przechowuje)
end
classrelation 129416 // (Jest dodatkiem)
relation_ref 128648 // Jest dodatkiem
end
classrelation 129544 // (Jest skladnikiem)
relation 128776 ---- name "Jest skladnikiem"
a role_name "" multiplicity "*" private
classrelation_ref 129544 // (Jest skladnikiem)
b role_name "" multiplicity "1..*" private
classrelation_ref 129672 // (Jest skladnikiem)
end
end
class 129032 "Spizarnia"
@ -175,6 +246,13 @@ format 224
explicit_switch_type ""
mysql_decl ""
classrelation 128648 // (Obsluguje)
relation_ref 128264 // Obsluguje
end
classrelation 128904 // (Przechowuje)
relation_ref 128392 // Przechowuje
end
end
class 129160 "Kuchnia"
@ -187,6 +265,108 @@ format 224
explicit_switch_type ""
mysql_decl ""
classrelation 130824 // (Przygotowuje)
relation 129416 ---- name "Przygotowuje"
a role_name "" multiplicity "*" private
classrelation_ref 130824 // (Przygotowuje)
b role_name "" multiplicity "1" private
classrelation_ref 130952 // (Przygotowuje)
end
classrelation 131208 // (Obsluguje)
relation_ref 129544 // Obsluguje
end
end
class 135688 "Klient"
visibility package
cpp_decl ""
java_decl ""
php_decl ""
python_2_2 python_decl ""
idl_decl ""
explicit_switch_type ""
mysql_decl ""
classrelation 130696 // (Obsluguje)
relation_ref 129288 // Obsluguje
end
end
class 135816 "Kucharz"
visibility package
cpp_decl ""
java_decl ""
php_decl ""
python_2_2 python_decl ""
idl_decl ""
explicit_switch_type ""
mysql_decl ""
classrelation 131080 // (Obsluguje)
relation 129544 ---- name "Obsluguje"
a role_name "" multiplicity "1" private
classrelation_ref 131080 // (Obsluguje)
b role_name "" multiplicity "1..*" private
classrelation_ref 131208 // (Obsluguje)
end
end
class 135944 "Kasa"
visibility package
cpp_decl ""
java_decl ""
php_decl ""
python_2_2 python_decl ""
idl_decl ""
explicit_switch_type ""
mysql_decl ""
classrelation 131720 // (<Przyjmuje)
relation_ref 129800 // <Przyjmuje
end
classrelation 131848 // (Jest obslugiwana)
relation 129928 ---- name "Jest obslugiwana"
a role_name "" multiplicity "1" private
classrelation_ref 131848 // (Jest obslugiwana)
b role_name "" multiplicity "1" private
classrelation_ref 131976 // (Jest obslugiwana)
end
end
class 136072 "Kasjer"
visibility package
cpp_decl ""
java_decl ""
php_decl ""
python_2_2 python_decl ""
idl_decl ""
explicit_switch_type ""
mysql_decl ""
classrelation 131976 // (Jest obslugiwana)
relation_ref 129928 // Jest obslugiwana
end
end
class 136328 "PracownikSpizarni"
visibility package
cpp_decl ""
java_decl ""
php_decl ""
python_2_2 python_decl ""
idl_decl ""
explicit_switch_type ""
mysql_decl ""
classrelation 128520 // (Obsluguje)
relation 128264 ---- name "Obsluguje"
a role_name "" multiplicity "1" private
classrelation_ref 128520 // (Obsluguje)
b role_name "" multiplicity "1..*" private
classrelation_ref 128648 // (Obsluguje)
end
end
end
end