UML Class Diagrams

[[User:Bluegol|Bluegol]] ([[User talk:Bluegol|talk]]) 17:52, 15 January 2013 (KST)

  • class diagram is just a part of UML.
    ** rectangle with three sections.
    ** name, attributes, methods
    *** prefixes
    **** + Public
    **** – Private
    **** # Protected
    **** ~ Package
    **** / Derived
    **** underline Static
    *** Me. why prefix??? don’t use them.
  • links between class diagrams
    ** association
    *** bi- or uni-directional
    *** name on the line, role on each side if necessary
    ** aggregation
    *** hollow diamond
    ** composition
    *** filled diamond
    ** generalization
    *** hollow triangle arrow
    ** realization
    *** a hollow triangle shape on the interface end of the dashed line (or tree of lines) that connects it to one or more implementors.
    ** dependency
    ** multiplicity
    *** at each end of the line
  • graphviz
    ** http://www.ffnn.nl/pages/articles/media/uml-diagrams-using-graphviz-dot.php

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.