Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Some Doubts in UML

 
KRK Gowda
Ranch Hand
Posts: 132
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
I am preparing for OCUP exam. I have couple of Questions in modelling Class diagrams.
How we can represent Base class in UML?
How we can represent Final Class?
What are orphan Classes?

Can we use stereotypes to represent above kind of classes?

Thanks and Regards,
Gowda
 
Ken Loh
Ranch Hand
Posts: 190
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
KRK Gowda wrote:Hi All,
I am preparing for OCUP exam. I have couple of Questions in modelling Class diagrams.
How we can represent Base class in UML?
How we can represent Final Class?
What are orphan Classes?

Can we use stereotypes to represent above kind of classes?

Thanks and Regards,
Gowda


Base Class: At the association connector at the base class, use "union". Please refer to UML 2 Certification Guide: Fundamental & Intermediate Exams (The MK/OMG Press).

Final Class: I don't know of a way to represent a final class in UML.

Orphan classes: I guess they must be classes that have no association whatsoever with other classes or any objects during runtime.

Just my $0.02 worth.
 
Vlad Varnica
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Information could be given by icons and for example a letter F on the top of a Class icon could give this Class final information.
final_class.png
[Thumbnail for final_class.png]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic