This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes OO, Patterns, UML and Refactoring and the fly likes Abstract class in UML Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » OO, Patterns, UML and Refactoring
Bookmark "Abstract class in UML" Watch "Abstract class in UML" New topic
Author

Abstract class in UML

Ravi Kiran Va
Ranch Hand

Joined: Apr 18, 2009
Posts: 2234

Hi ,

I am using MyEclipse IDE for drawing UML Diagrams .

I can't find any difference between a abstract class and a normal class in UML .

Please let me know how can we identify an Abstract class in UML .


Save India From Corruption - Anna Hazare.
Hong Anderson
Ranch Hand

Joined: Jul 05, 2005
Posts: 1936
I should explain first that from the UML metamodel, isAbstract in an attribute of Classifier. Class extends Classifier.

The following is quoted from the UML 2.2 Superstructure specification:
The name of an abstract Classifier is shown in italics.


SCJA 1.0, SCJP 1.4, SCWCD 1.4, SCBCD 1.3, SCJP 5.0, SCEA 5, SCBCD 5; OCUP - Fundamental, Intermediate and Advanced; IBM Certified Solution Designer - OOAD, vUML 2; SpringSource Certified Spring Professional
Ravi Kiran Va
Ranch Hand

Joined: Apr 18, 2009
Posts: 2234

Abstract in an attribute of Classifier. Class extends Classifier.


I did not understand what did you meant by the above line .Please tell me .

The name of an abstract Classifier is shown in italics.
Is this the only way to identify an abstract class ??


Hong Anderson
Ranch Hand

Joined: Jul 05, 2005
Posts: 1936
Ravi Kiran V wrote:
Abstract in an attribute of Classifier. Class extends Classifier.


I did not understand what did you meant by the above line .Please tell me .

I was talking about UML metamodel, Class as a UML element extends from Classifier and Classifier contains Abstract attribute.

Ravi Kiran V wrote:
The name of an abstract Classifier is shown in italics.
Is this the only way to identify an abstract class ??

From what the specification mandates, yes. But if you want to make it more clear you can create "abstract" stereotype and apply to abstract classes.
 
wood burning stoves
 
subject: Abstract class in UML
 
Similar Threads
UML Book
UML question regarding abstract and interface classes
UML version?
UML Question
Notations for UML interfaces