简体   繁体   中英

UML class diagrams (operations compartment)

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM