Meaningless Drivel is fun!*
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes Class Diagram Detail Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Bookmark "Class Diagram Detail" Watch "Class Diagram Detail" New topic
Author

Class Diagram Detail

Ranganathan Kaliyur Mannar
Bartender

Joined: Oct 16, 2003
Posts: 1085
    
  10

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...

Ranga.
SCJP 1.4, OCMJEA/SCEA 5.0.
Teja Saab
Rancher

Joined: Mar 08, 2010
Posts: 152
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....


SCEA 5, SCJD,SCWCD,SCJP,PMP,IBM-SOA Solution designer,IBM-XML
Dmitri Ericsson
Ranch Hand

Joined: Feb 16, 2010
Posts: 109
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


SCEA 5, SCJP 6 My SCEA Experience
Ranganathan Kaliyur Mannar
Bartender

Joined: Oct 16, 2003
Posts: 1085
    
  10

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...
 
wood burning stoves
 
subject: Class Diagram Detail