• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

Service Interfaces

 
Ranch Hand
Posts: 93
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
That's my roommate. He's kinda weird, but he always pays his half of the rent. And he gave me this tiny ad:
Free, earth friendly heat - from the CodeRanch trailboss
https://www.kickstarter.com/projects/paulwheaton/free-heat
reply
    Bookmark Topic Watch Topic
  • New Topic