This week's book giveaway is in the OCAJP forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide 1Z0-808 and have Jeanne Boyarsky & Scott Selikoff on-line!
See this thread for details.
The moose likes OO, Patterns, UML and Refactoring and the fly likes what is class diagram Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA Java SE 8 Programmer I Study Guide 1Z0-808 this week in the OCAJP forum!
JavaRanch » Java Forums » Engineering » OO, Patterns, UML and Refactoring
Bookmark "what is class diagram" Watch "what is class diagram" New topic
Author

what is class diagram

pravin rasal
Ranch Hand

Joined: Jul 27, 2011
Posts: 63
What is class diagram and how to design class diagram? Actually I want to design class diagrams for my project but I dont know how to design and what exactly class diagram shows.
Murali Ranga
Ranch Hand

Joined: Dec 16, 2011
Posts: 38
Look at this link,it may help you
http://www.ibm.com/developerworks/rational/library/content/RationalEdge/sep04/bell/
Mohamed Sanaulla
Saloon Keeper

Joined: Sep 08, 2007
Posts: 3102
    
  33

Another good article by Robert Martin.

You would take up different approaches to identify classes like Noun phrase approach, CRC diagrams. Once the classes have been identified you would go ahead to identify the relationship among the classes and the attributes which would be present for each class. These are drawn out in a diagram using UML notations and there by giving you a class diagram. This diagram is not one time effort, it can be evolved as and when you get to know more about the system.

For identifying the methods of each class- one can usually draw collaboration diagram or sequence diagram for different usecases and then from here one can identify the methods involved in each class.


Mohamed Sanaulla | My Blog
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: what is class diagram