aspose file tools*
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes Omitting parameters in method calls in class diagrams Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Bookmark "Omitting parameters in method calls in class diagrams" Watch "Omitting parameters in method calls in class diagrams" New topic
Author

Omitting parameters in method calls in class diagrams

Satya Chekuri
Ranch Hand

Joined: May 01, 2013
Posts: 34
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
internet detective
Marshal

Joined: May 26, 2003
Posts: 29274
    
140

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.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Tarang Agrawal
Greenhorn

Joined: Nov 22, 2012
Posts: 22
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

Joined: May 01, 2013
Posts: 34
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.
 
jQuery in Action, 2nd edition
 
subject: Omitting parameters in method calls in class diagrams
 
Similar Threads
Isolating business layer from presentation
Understanding the DAO Pattern
Understanding a DAO v Service seperation...
Data Access Objects: static methods
How to modify method parameters?