Reputation: 129
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
?
Upvotes: 1
Views: 384
Reputation: 1109
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
Upvotes: 5