{"id":576,"date":"2021-08-03T23:32:36","date_gmt":"2021-08-03T23:32:36","guid":{"rendered":"http:\/\/robinluo.top\/?p=576"},"modified":"2021-08-04T07:58:36","modified_gmt":"2021-08-04T07:58:36","slug":"uml-class-diagram","status":"publish","type":"post","link":"https:\/\/robinluo.top\/?p=576","title":{"rendered":"uml class diagram"},"content":{"rendered":"\n<p>\u53ef\u7528\u7684\u5143\u7d20\u58f0\u660e<\/p>\n\n\n\n<p>abstract abstract <\/p>\n\n\n\n<p>abstract class &#8220;abstract class&#8221; <\/p>\n\n\n\n<p>annotation annotation <\/p>\n\n\n\n<p>circle circle <\/p>\n\n\n\n<p>class class <\/p>\n\n\n\n<p>diamond diamond <\/p>\n\n\n\n<p>entity entity <\/p>\n\n\n\n<p>enum enum <\/p>\n\n\n\n<p>interface interface<\/p>\n\n\n\n<p>\u7c7b\u5b9e\u4f53\u5173\u7cfb<\/p>\n\n\n\n<p>Type                              Symbol<\/p>\n\n\n\n<p>Extension\uff08\u6269\u5c55\uff09      &lt;|&#8211; <\/p>\n\n\n\n<p>Composition\uff08\u7ec4\u5408\uff09  *&#8211; <\/p>\n\n\n\n<p>Aggregation\uff08\u805a\u5408\uff09   o&#8211;<\/p>\n\n\n\n<p>\u4e5f\u53ef\u4ee5\u4f7f\u7528  extends  implement<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>\u5b9a\u4e49\u5c5e\u6027\u4e0e\u65b9\u6cd5<\/p>\n\n\n\n<p>Object : equals()<br>ArrayList : Object[] elementData<br>ArrayList : size()<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>\u901a\u8fc7 \u7c7b\u5bf9\u8c61 \uff1a \u65b9\u6cd5 \/ \u5c5e\u6027 \u5b9a\u4e49<\/p>\n\n\n\n<p> \u4e5f\u53ef\u4ee5<\/p>\n\n\n\n<p>class <\/p>\n\n\n\n<p>{<\/p>\n\n\n\n<p> \u5d4c\u5957\u5728\u7c7b<\/p>\n\n\n\n<p>Object[] elementData<br>int size()<\/p>\n\n\n\n<p>\u8fd4\u56de\u5c5e\u6027\u540e\u7f6e<\/p>\n\n\n\n<p>flightNumber : Integer<br>departureTime : Date<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>\u5f3a\u5236\u58f0\u660e\u4e3afield \u6216 method \u5426\u5219\u6839\u636e \u662f\u5426\u6709\u62ec\u53f7\u5224\u65ad<\/p>\n\n\n\n<p>{field} A field <br>{method} Some method<\/p>\n\n\n\n<p>}<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>\u53ef\u8bbf\u95ee\u6027<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>Character Icon for field Icon for method Visibility<\/p>\n\n\n\n<p>-private<\/p>\n\n\n\n<p>#protected<\/p>\n\n\n\n<p>~ package private<\/p>\n\n\n\n<p>+public<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>\u62bd\u8c61\u4e0e\u9759\u6001<\/p>\n\n\n\n<p>@startuml<br>class Dummy {<br>{static} String id<br>{abstract} void methods()<br>}<br>@enduml<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u53ef\u7528\u7684\u5143\u7d20\u58f0\u660e abstract abstract abstract class &#8220;abstract class&#8221; annotation annotation circle circle class class diamond diamond entity entity enum enum interface interface \u7c7b\u5b9e\u4f53\u5173\u7cfb Type Symbol Extension\uff08\u6269\u5c55\uff09 &lt;|&#8211; Composition\uff08\u7ec4\u5408\uff09 *&#8211; Aggregation\uff08\u805a\u5408\uff09 o&#8211; \u4e5f\u53ef\u4ee5\u4f7f\u7528 extends implement \u5b9a\u4e49\u5c5e\u6027\u4e0e\u65b9\u6cd5 Object : equals()ArrayList : Object[] elementDataArrayList : size() \u901a\u8fc7 \u7c7b\u5bf9\u8c61 \uff1a \u65b9\u6cd5 \/ \u5c5e\u6027 \u5b9a\u4e49 \u4e5f\u53ef\u4ee5 class { \u5d4c\u5957\u5728\u7c7b Object[] elementDataint [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[96],"tags":[98],"_links":{"self":[{"href":"https:\/\/robinluo.top\/index.php?rest_route=\/wp\/v2\/posts\/576"}],"collection":[{"href":"https:\/\/robinluo.top\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/robinluo.top\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/robinluo.top\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/robinluo.top\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=576"}],"version-history":[{"count":7,"href":"https:\/\/robinluo.top\/index.php?rest_route=\/wp\/v2\/posts\/576\/revisions"}],"predecessor-version":[{"id":591,"href":"https:\/\/robinluo.top\/index.php?rest_route=\/wp\/v2\/posts\/576\/revisions\/591"}],"wp:attachment":[{"href":"https:\/\/robinluo.top\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=576"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/robinluo.top\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=576"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/robinluo.top\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=576"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}