• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Service Interfaces

 
Goan Balchao
Ranch Hand
Posts: 93
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I have a UML quetion about the class diagrams. Let's say i have class B implement interace A.
a) Where do I show the methods ?
For e.g using Jude, I cannot show them on the interface. The interace is just a circle with a name. Can it be on the class itslef , keeping the initerace a dummy ?
b) How about the exceptions thrown from the service calls... e.g CreateException when creating User. I think the exceptions are an integral part of the interface and we should declare them in the Class diagram .. Do u agree ?
Agaiin inn JUDE, I cannot declare any exceptions in my class diagram [on the classes]

P.S This leads me to believe that JUDE may not cut it for the assignment after all.
 
jashu ja
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Goan Balchao:
Hi,
I have a UML quetion about the class diagrams. Let's say i have class B implement interace A.
a) Where do I show the methods ?
For e.g using Jude, I cannot show them on the interface. The interace is just a circle with a name. Can it be on the class itslef , keeping the initerace a dummy ?



In JUDE, you can change the circle to interface style in the following way,

1. From class diagram, select the interface,

2. Goto Edit -->Stereotype -->Normal.

You will find that the interface is setreotyped with <<interface>>

Hope this helps.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic