Difference between a 'class diagram' and a 'design class diagram'

I have an assignment that states the following criteria:

For this view you may use a truncated version of
your Design Class Diagram (DCD) including
only the architecturally significant classes.

For context, this is for the Logical View of a 4 + 1 Architectural View. How does a design class diagram (DCD) differ from a regular class diagram? Is it the UML diagram without the functions or variables included (i.e. just the names of the classes and their interactions with each other)?

4

2 Answers

Most of the time, people model their code. That's good! In that case, class diagram modeling is used to graphically represent the structure of (object-oriented) classes: class, method, attribute, annotations with stereotypes. Imagine all the JPA, Spring, whatever annotations in the class diagram of a JPA-J2EE based architecture...

As it's said above, the "design class diagram" should only design your domain model, from an architecture level. What are the basic entities your structural system rely on? No details about the programming language, no "dto", "dao" or technical stuff like that. Here's a good example I use: online shopping cart domain model. It only contains the architecturally significant classes.

HTH, Tom

2

Still its amibigous to understand. The main difference between analysis class diagrams and design class diagram is the analysis phase focus on designing a class diagram without concerning about the implementation detail. where as, desgin modelling concern with the implementaion and architechture since, it the high-level static view of the system.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

You Might Also Like