Creating class diagrams


show more After you have finalized relationships and the number of classes needed for programming your application, it is time to start creating class diagrams. In this online video, you can learn how to effectively diagram classes to reveal the primary attributes and operations of each class. This step happens just before programming the actual code, so language use becomes a priority. show less
please wait ...

Creating class diagrams

The information that you have now should be enough to let you create your first collection of classes. And the most common way to jot these out is with a UML class diagram, and we've seen these once or twice already. These are the most common diagram in Object-Oriented Design, and while they can get advanced, we're going to focus here on the most common that you'll see and use. So, we want a list of classes, and we'll create a class diagram for each, and for each class we'll have the primary attributes and primary operations. And at this point, because we're getting closer to the code, we will pay more attention to naming.

So, our classes are named in the singular, not plural, and the standard is for an uppercase first letter, so employee, event, customer, image, product. Now, with Attributes, you won't know all of them yet, because we've been focusing on the behavior, on the operations, but you're expecting to just initially write down the obvious ones, and aga...

Creating class diagrams
Video duration: 6m 11s 3h 1m Intermediate

Viewers:

After you have finalized relationships and the number of classes needed for programming your application, it is time to start creating class diagrams. In this online video, you can learn how to effectively diagram classes to reveal the primary attributes and operations of each class. This step happens just before programming the actual code, so language use becomes a priority.

Subject:
Developer
Software:
Java
Author:
please wait ...