Win a copy of Real-World Software Development: A Project-Driven Guide to Fundamentals in Java this week in the Agile and Other Processes forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Liutauras Vilda
  • Knute Snortum
  • Bear Bibeault
Sheriffs:
  • Devaka Cooray
  • Jeanne Boyarsky
  • Junilu Lacar
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
  • salvin francis
Bartenders:
  • Tim Holloway
  • Piet Souris
  • Frits Walraven

Abstract class in UML

 
Ranch Hand
Posts: 2234
Eclipse IDE Firefox Browser Redhat
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 .
 
Ranch Hand
Posts: 1936
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

 
Ravi Kiran Va
Ranch Hand
Posts: 2234
Eclipse IDE Firefox Browser Redhat
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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
Posts: 1936
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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.
 
money grubbing section goes here:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!