• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Sequence diagrams, does I reference the implementation or the interface?

 
Sergio Figueras
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi folks,

Assuming that I've a service called "TestService", that implements a "ITestService".

In my Sequence diagrams, should I mention ITestService and then TestService or just ITestService is ok?

Best,

Sergio.
 
K. Tsang
Bartender
Posts: 3583
16
Android Java
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are you "creating" the object or injecting it?

IMHO If creating the implementation class is used. If injecting, the interface.

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic