• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Omitting parameters in method calls in class diagrams

 
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
author & internet detective
Posts: 41860
908
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Greenhorn
Posts: 22
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic