• 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
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

Class Diagram Detail

 
Bartender
Posts: 1104
10
Netbeans IDE Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
In Part II, I was thinking that, we have to specify all the important methods along with parameters (otherwise how would the flow be clear?).
When I saw the class diagram on Mark Cade's book online, I was almost shocked. It just had the class names and not a single method or attribute. Is this fine for the actual exam?
Also, we need to draw sequence diagrams - for that we do need to know method names etc. - this seems to be contradictory...
 
Rancher
Posts: 152
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It is not possible to add every single attribute/method to the class diagram IMHO. I think we need to add the significant methods/attributes to the classes and of course the methods that are depicted in the sequence diagram need to be shown in the class diagram. This is explicitly mentioned in the deliverables section.

I think that our diagrams need to be more detailed (but not by much) than the diagram in chapter 9 of the SCEA study guide.

Just my thoughts though....
 
Ranch Hand
Posts: 109
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It's simple: put all the methods from sequence diagrams + some (not many) additional fields or methods if you feel that it helps to understand how everything works
 
Ranganathan Kaliyur Mannar
Bartender
Posts: 1104
10
Netbeans IDE Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hmm...this makes it little difficult for me...
I design my classes first and then goto sequence - though when drawing class diagrams, I think about the sequence!
and also from a tool point of view, you have to indeed draw the class diagram first and then only you will be able to draw sequence...so, I have to start using my hand-drawing...which I haven't done till now.

Thanks for the valuable points though...it has made my understanding much easier...
 
Screaming fools! It's nothing more than a tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic