Search code examples
umlclass-diagram

Are the relationships and class models in this diagram correct?


So, I'm trying to get better with labeling my class diagrams and wanted to know if I have laid out the class diagrams here in the correct fashion. I've tried adding in an abstract class for Blood Pressure as both classes have similar methods which both can implement.

image

Edit: After a few changes the current design of the diagram is as following:

image


Solution

  • abstract class for Blood Pressure as both classes have similar methods which both can implement.

    in that case you have that :

    enter image description here

    or that :

    enter image description here

    (I hidden class compartments to not have to enter the members)

    There is no standard/normalized stereotype AbstractClass (nor abstract), the class have the attribute isAbstract and if it is true the name is drawn in italic as you did