main
Thomas Ba. 14 years ago
parent 77fffc0076
commit 64ab854ac9

@ -0,0 +1,31 @@
input metauml;
beginfig(1);
Class.L("Leser") (
"Nummer: UnlimitedNatural",
"name: String",
"geb: Datum",
"ort: String"
) (
"ausleihe()"
);
Class.B("Buch")(
"Autor: String",
"titel: String",
"jahr: Integer",
"rueckgabe: Datum"
)(
);
leftToRight(45)(L, B);
drawObjects(L, B);
clink(association)(L, B);
item(iAssoc)("0..1")(obj.nw = L.e);
item(iAssoc)("*")(obj.ne = B.w);
item(iAssoc)("leiht aus")(obj.s =.5[L.e,B.w]);
endfig;
end
Loading…
Cancel
Save