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