UML cheatsheet

Every once in awhile, I have to draw a UML diagram. I rarely do serious designs with UML, however sometimes I do need to depict some piece of code in a diagram and UML seems to be the best notation around.

Unfortunately, various sources of information on UML tend to over-complicate things. I am not software architect and drawing UMLs is not my job. So my UML skills are poor by definition. Moreover, I am happy with this situation and don’t see it changing in the future (even if I get promoted ;-) ).

So from time to time I need a simple UML reference card. Simple search finds references like this one, which are excellent if you are serious about UML, and I am not.

Eventually, I decided to write a short UML class diagram reference card for myself. I hope you will enjoy it as well.

Inheritance

So, this is how classes inherit one from another. Here Child class inherits from Parent Class.

Use

This is how User class uses Resource class.

Contains and manages

Here, Whole class contains and manages Part class. This type of relation can be extended to one of the following:

  • One to One
  • One to Many
  • Many to One
  • Many to Many

References

Here, Whole class references to Part class, but does not manage it. Again, can be extended with:

  • One to One
  • One to Many
  • Many to One
  • Many to Many

 

This is enough information for now. I’ll probably extend it over time. In any case, please post your corrections and suggestions.

Did you know that you can receive periodical updates with the latest articles that I write right into your email box? Alternatively, you subscribe to the RSS feed!

Want to know how? Check out
Subscribe page

168 Comments

  1. gas powered adult mini bike with cargo racks

    UML cheatsheet – Alex on Linux

  2. click through the following article

    UML cheatsheet – Alex on Linux

  3. cat can’t jump on bed thundershirt

    UML cheatsheet – Alex on Linux

  4. accessori sportivi calcio

    UML cheatsheet – Alex on Linux

  5. mr jones watches discount code

    UML cheatsheet – Alex on Linux

  6. borse messenger uomo

    UML cheatsheet – Alex on Linux

  7. zalando abbigliamento

    UML cheatsheet – Alex on Linux

  8. no title says:

    no title

    UML cheatsheet – Alex on Linux

  9. bestreviews says:

    bestreviews

    UML cheatsheet – Alex on Linux

  10. Gealtonoph said

    UML cheatsheet – Alex on Linux

  11. valigeria corso buenos aires milano

    UML cheatsheet – Alex on Linux

  12. modern office lighting

    UML cheatsheet – Alex on Linux

  13. voip accessories

    UML cheatsheet – Alex on Linux

  14. borse scarpe e scarpe

    UML cheatsheet – Alex on Linux

  15. deals on laptop computers

    UML cheatsheet – Alex on Linux

  16. visit site says:

    visit site

    UML cheatsheet – Alex on Linux

  17. pantaloncini da uomo

    UML cheatsheet – Alex on Linux

  18. push lawn mowers

    UML cheatsheet – Alex on Linux

  19. orologi uomo citizen

    UML cheatsheet – Alex on Linux

  20. who makes echo chainsaws

    UML cheatsheet – Alex on Linux

  21. best budget dj headphones

    UML cheatsheet – Alex on Linux

  22. vasi Ikea per piante

    UML cheatsheet – Alex on Linux

  23. champs luggage set reviews

    UML cheatsheet – Alex on Linux

  24. powersmart snow blower 212cc

    UML cheatsheet – Alex on Linux

  25. Visit Homepage

    UML cheatsheet – Alex on Linux

  26. harbor freight leaf blowers

    UML cheatsheet – Alex on Linux

  27. nailfungus Ca

    UML cheatsheet – Alex on Linux

  28. led office lighting fixtures

    UML cheatsheet – Alex on Linux

  29. pantaloncini adidas climalite uomo

    UML cheatsheet – Alex on Linux

  30. Click That Link

    UML cheatsheet – Alex on Linux

  31. mkf collection plora structured handbag

    UML cheatsheet – Alex on Linux

  32. electronics for car

    UML cheatsheet – Alex on Linux

  33. natural hair doo gro results pictures

    UML cheatsheet – Alex on Linux

  34. iva su pc e tablet

    UML cheatsheet – Alex on Linux

  35. sharp microwave ovens uk

    UML cheatsheet – Alex on Linux

  36. compact router uses

    UML cheatsheet – Alex on Linux

  37. nintendo switch giochi

    UML cheatsheet – Alex on Linux

  38. delta miter gauge

    UML cheatsheet – Alex on Linux

  39. beds with tvs

    UML cheatsheet – Alex on Linux

  40. thundershirt cat calming

    UML cheatsheet – Alex on Linux

  41. katsu curry sauce

    UML cheatsheet – Alex on Linux

  42. nd32s3100h says:

    nd32s3100h

    UML cheatsheet – Alex on Linux

  43. Husqvarna 136 chainsaw

    UML cheatsheet – Alex on Linux

  44. betsey johnson luggage sets

    UML cheatsheet – Alex on Linux

  45. read more on tc.browin.net.cn`s official blog

    UML cheatsheet – Alex on Linux

  46. large flap bag with top handle

    UML cheatsheet – Alex on Linux

  47. prada leather tote

    UML cheatsheet – Alex on Linux

  48. hatsan air rifles for raccoon

    UML cheatsheet – Alex on Linux

  49. ego st1502-f power+ 15″ string trimmer

    UML cheatsheet – Alex on Linux

  50. ego string trimmer head replacement

    UML cheatsheet – Alex on Linux

Leave a Reply

Prove you are not a computer or die *