Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Omitting parameters in method calls in class diagrams

 
Satya Chekuri
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
I am working on my assignment and I am trying to keep class diagram restricted to one page. I have EJBs, Delegates, daos and domain objects defined. I don't see place to put in value objects. These value objects if shown will be parameters in method calls. Is it acceptable to omit showing parameters in method calls for this assignment? And also I am planning to omit value objects.

I still show parameters in DAOs as they mostly use domain objects.

Thank you.
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34837
369
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Satya,
Welcome to CodeRanch!

It seems odd to leave out the value objects. They are part of the classes in your application. It's ok to have a two page class diagram.
 
Tarang Agrawal
Greenhorn
Posts: 22
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

You can create class diagrams as big as it is required. But remember the digram should be clear and easily readable. If your diagram is easily readable it dosent matter how big it is. Also donot leave any thing in the class diagram like method parameter, value objects etc they should be in the class diagram.

Also provide some notes\comments for each and every class\ejb\dao\helper classes etc in the class diagram. by providing this, it is easier for the examiner understand the diagram.


Thanks
Tarang Agrawal
SCJP, SCBCD, SCWCD, OCMJEA
 
Satya Chekuri
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for your valuable suggestions. I went ahead and added VO/DTOs to method calls. But I did choose not to clutter the class diagram by showing them as classes.

I have uploaded my assignment today. Preparing to give my step3 next week.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic