Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8732195
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T09:23:33+00:00 2026-06-13T09:23:33+00:00

While using Papyrus (+Eclipse), I faced an issue that I initially considered as an

  • 0

While using Papyrus (+Eclipse), I faced an issue that I initially considered as an inconsistency. But after wondering about it, I started to think that I may have a “bug” in my basic concepts of UML designing.

Well, consider the basic Class Inheritance problem where Man and Woman are specializations of Person. (other words, Person is a superclass of Man and Woman).

Then, if you apply a Stereotype Worker (containing parameters job and salary, for example) to the Person, shouldn’t the subclasses also receive the same stereotype Worker? Shouldn’t they contain job and salary parameters?

I really though Stereotypes were also inherited from the superclass, but when I implement this design in Papyrus tool, I can’t see any inherited job or salary. Every subclass is the same as if it didn’t have any applied Stereotype.

Thanks in advance!

======================Edited for more information ========================

I found that an issue was opened in 2000 for the UML v1.3 regarding the inheritance of stereotypes in subclasses.

Issue 3210: Inheritance of Stereotypes (uml-rtf)

In my interpretation, the example provided in the Discussion is exactly what I asked above. However, it seems that the Reviewer understood that the issue was asking for subtype of Stereotype, and not propagation of Constraints from a stereotyped class to its subclasses.

This is the point added to the UML v1.3:

Stereotypes are GeneralizableElements. If a stereotype is a subtype of another stereotype, then it inherits all of the constraints and tagged values from its stereotype supertype and it must apply to the same kind of base class. A stereotype keeps track of the base class to which it may be applied.

Later on, it was deprecated in the UML v1.4 and removed in UML 2.

So, basically, according to my interpretation, the question existed… but the UML specs still don’t specify it.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T09:23:34+00:00Added an answer on June 13, 2026 at 9:23 am

    I also think that stereotypes are inherited, but I could not find any reference to this in the web or in the UML standard regarding this point. But from your description you should probably use either multiple inheritance or interfaces.

    Stereotypes are used to extend the class – give more properties to the class element, and not to the instances. A class in UML has a name, properties (fields), and methods. When you add a stereotype to the class, you are actually adding another set of properties to the class. For example if you are writing an MVC (Model-View-Controller) system, and you want to specify which classes are the views, which are the models and which the controllers, using stereotypes would be a good answer since you are describing a property of the class, and not of specific instances. This doesn’t seem to be your case.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

While using Nivo Slider it enlarges my images to about 2x their original size
While using the vector why do we sometime use the operator[] like homework[mid] but
While using Aptana and Eclipse for the first time in my programming life for
While using Java's switch case, it excepts only char and int, but I want
While using session in Rails, what are the things that I have to be
While using the .NET Color struct, I found myself wondering why Microsoft chose to
While using keyword ref , calling code needs to initialize passed arguments, but with
While using the maven-buildnumber-plugin 1.0 beta 4, it seems that I can get the
While using zlib 1.2.7 and minizip to read zip archives, I found that its
While using xmlstarlet on web pages, I most of time faced entity reference error.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.