What should be written in the operations compartment? Shall it contain function definitions and/or function calls?
Also, how to represent enum
and structures
in class diagram
?
What should be written in the operations compartment? Shall it contain function definitions and/or function calls?
Also, how to represent enum
and structures
in class diagram
?
Class diagrams operational block contains operations to classes and interfaces. It must be function definition and not function call. For enum representation in class diagram refer to UML class diagram enum