• 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

SCEA Part-2 Can we have main class diagram without properties and separate diagrams for details?

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,
I was doing the SCEA part-2 assignment. I have a lot of classes around 64 in my design. If I show the complete details of each classes (properties and behavior), then it would be too difficuilt to understand.
Can I keep a main class diagram showing relationships and separate class diagrams showing each of the components in the diagram?
or is it mandatory to show the complete details in the same diagram?
 
Ranch Hand
Posts: 218
Hibernate Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I haven't yet done the part 2, however what you are suggesting seems reasonable. As a matter of fact I have been doing this as showing associations & properties for where there are large number of classes makes the diagram very difficult to understand.
 
Ranch Hand
Posts: 325
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

64 classes seems to me too much. Well there is no magic number like we should have only 30 or 40. In my assignment, i had only 45 and i didn't show attributes, i just showed all methods which are there in my sequence diagrams and i clearly mentioned that in the notes.

I will suggest stick to one class diagram concept only and there is no need for two class diagrams.
 
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I agree with deepak 64 classes seems way to much..perhaps its based on your assignment too. I had one class diagram with 25-30 classes and I included the methods and fields which I had to show in the sequence diagram.

Keep it simple !

Thanks
Rupesh
 
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Again, I would go with Humphrey Sheil's example problem (Chapter 9). He has a fairly complex bidding example and uses less than 20 classes in the class diagram. My submission for Part II had about 25-30 classes.
Also, if your assignment says "Class Diagram" (not diagrams), I'm not sure if the assessor/examiner would expect multiple diagrams and/or go through all in so much detail.
My understanding is - point out the main classes and as Rupesh has mentioned, keep it simple.

Rgds
 
Ranch Hand
Posts: 254
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I agreed with Ravi. One high level class diagram should be good enough. Remember the purpose of the diagram is to show how your system will work, not how you are implementing the system. In my assignment (Big Cigar), I only have about 15 classes including only entities (with only entity names) and service beans (with only method names - no signatures).

Anyway, in real life if your diagrams aren't understandable within 5 minutes, you won't be able to sell your solution to any executive which is normally on of the main objectives of a SA.
 
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
I split mine into 2 class diagrams. I had 26 classes, but it was still hard to follow as one diagram. I did put the properties/methods with the classes. I didn't list out every one though. Just a representative sample and methods that show up in the sequence diagram.

I think what you are proposing with the split is ok. It's like a high level diagram and then zooming in.
 
Ravi Iyer
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks for sharing. First time I'm seeing an alternate perspective. Good to know there is one.
 
reply
    Bookmark Topic Watch Topic
  • New Topic