• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

class Diagram methods

 
D. Rose
Ranch Hand
Posts: 215
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I am working on my class diagram (mainly domain model. No EJBs etc) and I do not have many methods there (except getter and setters).
I think this is OK because all domain objetcs are mostly atomic and business logic (e.g getting available fligths for a date and time etc) would be in SLSB.
Can I have it (SLSB) on sequence diagram and not on class diagram?or I am missing something?
 
James Wang
Ranch Hand
Posts: 102
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think you miss nothing.
 
Ramon Gill
Ranch Hand
Posts: 344
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do you really need all those getters & setters ? I believe you can leave them out as they are implied for each attribute shown.

Ray
 
H. Hafer
Ranch Hand
Posts: 108
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I believe that you can completely omit method names and attributes as well in the class diagram and in sequence diagrams it should be ok to mention (talkative) method names only without parameters because of the conceptual character of the diagrams (architecture wannabies we are )

regards,
Harbo
 
D. Rose
Ranch Hand
Posts: 215
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks all.
Yes getters and setters should be omitted as they are implicit.
Good that I am on track.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic