You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 lines
456 B

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