<classdiagram><Model><objectmodel id="0"><object id="1" name="objekt"><instanceof><class id="2" name="Account"><attributes><attribute id="3" name="amount=0"/><attribute id="4" name="limit=10"/></attributes><operations><operation id="5" name="deposit(value)"><method>if (value &gt;0) amount += value;</method></operation><operation id="6" name="withdraw(value)"><method>if (value &gt; 0 
    &amp;&amp; amount - value &gt; -limit) 
        amount -= value;
</method></operation><operation id="7" name="setLimit(value)"><method>if (value &gt;0) limit = value;</method></operation></operations></class></instanceof><variable><attribute ref="3"/><double id="8">0.0</double></variable><variable><attribute ref="4"/><double id="9">10.0</double></variable></object><class ref="2"/></objectmodel></Model><figures><classF id="a" x="77.697265625" y="120"><Model><class ref="2"/></Model></classF><commentLinkF id="b"><points><p colinear="true" x="143.52948015045882" y="254.00390625" c1x="-35" c1y="27" c2x="-35" c2y="27"/><p colinear="true" x="148.75669499392987" y="294.5" c1x="-35" c1y="27" c2x="-35" c2y="27"/></points><startConnector><rectConnector id="c"><Owner><classF ref="a"/></Owner></rectConnector></startConnector><endConnector><rectConnector id="d"><Owner><methodF id="e" x="41" y="295" w="223" h="57"><Model index="0"><classF ref="a"/></Model><a><fontFace><font id="f" name="Verdana" style="0" size="0"/></fontFace></a></methodF></Owner></rectConnector></endConnector></commentLinkF><commentLinkF id="10"><points><p colinear="true" x="140.35083288281484" y="254.00390625" c1x="-35" c1y="27" c2x="-35" c2y="27"/><p colinear="true" x="149.1455962630021" y="361.5" c1x="-35" c1y="27" c2x="-35" c2y="27"/></points><startConnector><rectConnector id="11"><Owner><classF ref="a"/></Owner></rectConnector></startConnector><endConnector><rectConnector id="12"><Owner><methodF id="13" x="40" y="362" w="225" h="81"><Model index="1"><classF ref="a"/></Model><a><fontFace><font ref="f"/></fontFace></a></methodF></Owner></rectConnector></endConnector></commentLinkF><commentLinkF id="14"><points><p colinear="true" x="138.8355235113474" y="254.00390625" c1x="-35" c1y="27" c2x="-35" c2y="27"/><p colinear="true" x="150.8400788470747" y="456.5" c1x="-35" c1y="27" c2x="-35" c2y="27"/></points><startConnector><rectConnector id="15"><Owner><classF ref="a"/></Owner></rectConnector></startConnector><endConnector><rectConnector id="16"><Owner><methodF id="17" x="41" y="457" w="223" h="55"><Model index="2"><classF ref="a"/></Model><a><fontFace><font ref="f"/></fontFace></a></methodF></Owner></rectConnector></endConnector></commentLinkF><ta id="18" x="40" y="8" w="176" h="104"><a><text><string id="19">The Account class defines attributes, operations and  methods for managing a bank account.</string></text><fillColor><null id="1a"/></fillColor><strokeColor><null ref="1a"/></strokeColor></a></ta><ta id="1b" x="288" y="8" w="192" h="112"><a><text><string id="1c">Object o1 is an instance of class Account.

</string></text><fillColor><null ref="1a"/></fillColor><strokeColor><null ref="1a"/></strokeColor></a></ta><ta id="1d" x="504" y="8" w="176" h="104"><a><text><string id="1e">Drag messages on o1 to deposit and withdraw money.</string></text><fillColor><null ref="1a"/></fillColor><strokeColor><null ref="1a"/></strokeColor></a></ta><objectF id="1f" x="322.775390625" y="144.248046875"><a><strokeColor><color id="20" rgba="#ff7f7f7f"/></strokeColor></a><Model><object ref="1"/></Model></objectF><methodF ref="e"/><methodF ref="13"/><methodF ref="17"/><dragmsg id="21" x="540.5390625" y="144"><a><text><string id="22">deposit(3)</string></text><fillColor><color id="23" rgba="#ffffff66"/></fillColor><strokeColor><color id="24" rgba="#ff000000"/></strokeColor></a></dragmsg><dragmsg id="25" x="540.5390625" y="176"><a><text><string id="26">withdraw(5)</string></text><fillColor><color ref="23"/></fillColor><strokeColor><color ref="24"/></strokeColor></a></dragmsg><dragmsg id="27" x="540.5390625" y="209.416015625"><a><text><string id="28">setLimit</string></text><fillColor><color ref="23"/></fillColor><strokeColor><color ref="24"/></strokeColor></a></dragmsg></figures></classdiagram>
