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

178 Comments

  1. kitchenaid gas cooktops

    UML cheatsheet – Alex on Linux

  2. consumer reports string trimmers

    UML cheatsheet – Alex on Linux

  3. Amazon Pet Supplies

    UML cheatsheet – Alex on Linux

  4. asian sexy movies

    UML cheatsheet – Alex on Linux

  5. 101av 16ch surveillance Digital video recorder

    UML cheatsheet – Alex on Linux

  6. valigeria ambrosetti shop online

    UML cheatsheet – Alex on Linux

  7. Schlachtfeldhelden said

    UML cheatsheet – Alex on Linux

  8. most powerful handheld vacuums

    UML cheatsheet – Alex on Linux

  9. ruote in legno per mobili

    UML cheatsheet – Alex on Linux

  10. phanxy blog says:

    phanxy blog

    UML cheatsheet – Alex on Linux

  11. guitar pick stools

    UML cheatsheet – Alex on Linux

  12. over at this website

    UML cheatsheet – Alex on Linux

  13. home office chairs

    UML cheatsheet – Alex on Linux

  14. best countertop convection microwave oven 2020

    UML cheatsheet – Alex on Linux

  15. guess watches

    UML cheatsheet – Alex on Linux

  16. voip phones cheap

    UML cheatsheet – Alex on Linux

  17. best nail fungus treatment reviews

    UML cheatsheet – Alex on Linux

  18. using my phanxy prostate

    UML cheatsheet – Alex on Linux

  19. anipet pet Supplies

    UML cheatsheet – Alex on Linux

  20. leelbox canada

    UML cheatsheet – Alex on Linux

  21. play sets swing sets

    UML cheatsheet – Alex on Linux

  22. cat thundershirt vs dog thundershirt

    UML cheatsheet – Alex on Linux

  23. Visit Webpage

    UML cheatsheet – Alex on Linux

  24. costo nintendo switch

    UML cheatsheet – Alex on Linux

  25. click homepage

    UML cheatsheet – Alex on Linux

  26. how to put on the thundershirt on a cat site:youtube.com

    UML cheatsheet – Alex on Linux

  27. lifemax talking watch instructions uk

    UML cheatsheet – Alex on Linux

  28. Walmart televisions

    UML cheatsheet – Alex on Linux

  29. travel with baby gear

    UML cheatsheet – Alex on Linux

  30. use nzren.com here

    UML cheatsheet – Alex on Linux

  31. plus size womens clothing

    UML cheatsheet – Alex on Linux

  32. xgody 886 7″ sat nav gps navigator 3d map view lane assist update map

    UML cheatsheet – Alex on Linux

  33. good gaming keyboards and mice

    UML cheatsheet – Alex on Linux

  34. easy last minute men’s halloween costumes

    UML cheatsheet – Alex on Linux

  35. men’s mardi gras costumes

    UML cheatsheet – Alex on Linux

  36. agree with this

    UML cheatsheet – Alex on Linux

  37. stihl electric leaf blower

    UML cheatsheet – Alex on Linux

  38. lincoln battery grease Gun

    UML cheatsheet – Alex on Linux

  39. photo lighting accessories

    UML cheatsheet – Alex on Linux

  40. Fluorescent office lighting

    UML cheatsheet – Alex on Linux

  41. Dc Comics Graphic Novels 2016

    UML cheatsheet – Alex on Linux

  42. home architecture magazine

    UML cheatsheet – Alex on Linux

  43. pantaloncini da ciclismo uomo

    UML cheatsheet – Alex on Linux

  44. latech abbigliamento sportivo

    UML cheatsheet – Alex on Linux

  45. Full Write-up

    UML cheatsheet – Alex on Linux

  46. pantaloncini eleganti uomo

    UML cheatsheet – Alex on Linux

  47. Difference Between Conncecting With S Video And Video Cables

    UML cheatsheet – Alex on Linux

  48. eurolega basket

    UML cheatsheet – Alex on Linux

  49. highland woodworking tools

    UML cheatsheet – Alex on Linux

  50. hollywood racks sport rider se2 platform 2 bike rack w/cargo carrier – 2″ hitches – frame mount

    UML cheatsheet – Alex on Linux

Leave a Reply

Prove you are not a computer or die *