3.3. The Class Diagram

No doubt class modeling is currently the most popular use of UML. Many software projects have used UML for the only reason to model classes and to generate simple source-code scaffolding. Several integrated development environments support this approach by using UML as a graphical editor for the source code.

However, class modeling can also be used outside the software development domain in a meaningful way. Generally speaking, classes are used to describe structures and behaviors of virtual or real-world objects. Look at your current environment, for example. If you are presently in a room, then the class diagram in Figure 3.5 can be thought of as a simple model of your environment. A room can contain several tables, with ...

Get Systems Engineering with SysML/UML now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.