• 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 all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Bear Bibeault
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Jj Roberts
  • Tim Holloway
  • Piet Souris
  • Himai Minh
  • Carey Brown
  • salvin francis

Clarification on Sequence Diagrams in SCEA II

Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am new to this community. I have cleared part I recently and currently working on part II. Had a few doubts regarding class diagrams & sequence diagrams.

Do we have to come up every method details with exceptions in class diagram?
For sequence diagrams, do we have to show method names in the message call or is it enough if we can show some meaningful message?
for ex: if a method call is something like getOrders(String[] s) then can we show it as "retrieve orders" in the message call.

Kindly clarify.

Ranch Hand
Posts: 156
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Talking about the class diagrams, you are able to create one, without every single detail of attributes or methods. The domain model introduced, should be able to expose your idea from the scenario. If you think that you can came up with a exposable solution, without showing the attributes, so that's ok, you're able to.

The same tip are valid for the sequence diagrams. You can ben generic with messages like 'getCustomer' or being specific as the message: 'findByPrimaryKey(new CustomerPK())'.

Your architecture should be 'understandable'. That's enough !
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
    Bookmark Topic Watch Topic
  • New Topic