• Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
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: 3648
16
Firefox Browser Java Mac OS X
  • 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.

 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!