Skip to main content



      Home
Home » Modeling » UML2 » stereotype a stereotype
stereotype a stereotype [message #475904] Sun, 16 September 2007 15:41 Go to next message
Eclipse UserFriend
Originally posted by: nickkirtley.gmail.com

hi,

Is it possible to stereotype a stereotype? So that it is possible to add
more properties etc.

regards,
Nick
Re: stereotype a stereotype [message #475905 is a reply to message #475904] Sun, 16 September 2007 18:54 Go to previous messageGo to next message
Eclipse UserFriend
If all you want to do is to add more properties, you should specialize
(a.k.a. subclass) the stereotype and use the specialized stereotype instead.

Stereotyping a stereotype would not be of much help because it affects
the target stereotype only, not the elements it is applied to. Unless
that is exactly what you want. In that case, you would have to apply the
profile defining the stereotype-that-applies-to-a-stereotype to the
profile defining the original stereotype beforehand.

Rafael
http://abstratt.com/blog

Nick Kirtley wrote:
> hi,
>
> Is it possible to stereotype a stereotype? So that it is possible to add
> more properties etc.
>
> regards,
> Nick
>
Re: stereotype a stereotype [message #475907 is a reply to message #475905] Mon, 17 September 2007 05:11 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: nickkirtley.gmail.com

hi,

yeah a specialization is what I mean, which is exactly what stereotyping a
stereotype is right? you're adding extra information to the existing
stereotype, so it's adding to the existing one (specialization). I can't
see the specialized stereotype option, how can I find it in the menu?

regards,
nick
Re: stereotype a stereotype [message #475911 is a reply to message #475907] Mon, 17 September 2007 10:38 Go to previous message
Eclipse UserFriend
> yeah a specialization is what I mean, which is exactly what
> stereotyping a stereotype is right?

Er.... no, stereotyping a stereotype would be to apply one stereotype to
an element that is also a stereotype. Specializing a stereotype would be
to define a new stereotype in terms of an existing one by creating a
generalization relationship between them.

> I can't
> see the specialized stereotype option, how can I find it in the menu?

Once you have created both stereotypes, you use the same option you
would use for defining a generalization between two classes (New Child >
Generalization > Generalization).

Rafael

nick kirtley wrote:
> hi,
>
> yeah a specialization is what I mean, which is exactly what stereotyping
> a stereotype is right? you're adding extra information to the existing
> stereotype, so it's adding to the existing one (specialization). I can't
> see the specialized stereotype option, how can I find it in the menu?
>
> regards,
> nick
>
Re: stereotype a stereotype [message #624797 is a reply to message #475904] Sun, 16 September 2007 18:54 Go to previous message
Eclipse UserFriend
If all you want to do is to add more properties, you should specialize
(a.k.a. subclass) the stereotype and use the specialized stereotype instead.

Stereotyping a stereotype would not be of much help because it affects
the target stereotype only, not the elements it is applied to. Unless
that is exactly what you want. In that case, you would have to apply the
profile defining the stereotype-that-applies-to-a-stereotype to the
profile defining the original stereotype beforehand.

Rafael
http://abstratt.com/blog

Nick Kirtley wrote:
> hi,
>
> Is it possible to stereotype a stereotype? So that it is possible to add
> more properties etc.
>
> regards,
> Nick
>
Re: stereotype a stereotype [message #624799 is a reply to message #475905] Mon, 17 September 2007 05:11 Go to previous message
Eclipse UserFriend
Originally posted by: nickkirtley.gmail.com

hi,

yeah a specialization is what I mean, which is exactly what stereotyping a
stereotype is right? you're adding extra information to the existing
stereotype, so it's adding to the existing one (specialization). I can't
see the specialized stereotype option, how can I find it in the menu?

regards,
nick
Re: stereotype a stereotype [message #624803 is a reply to message #475907] Mon, 17 September 2007 10:38 Go to previous message
Eclipse UserFriend
> yeah a specialization is what I mean, which is exactly what
> stereotyping a stereotype is right?

Er.... no, stereotyping a stereotype would be to apply one stereotype to
an element that is also a stereotype. Specializing a stereotype would be
to define a new stereotype in terms of an existing one by creating a
generalization relationship between them.

> I can't
> see the specialized stereotype option, how can I find it in the menu?

Once you have created both stereotypes, you use the same option you
would use for defining a generalization between two classes (New Child >
Generalization > Generalization).

Rafael

nick kirtley wrote:
> hi,
>
> yeah a specialization is what I mean, which is exactly what stereotyping
> a stereotype is right? you're adding extra information to the existing
> stereotype, so it's adding to the existing one (specialization). I can't
> see the specialized stereotype option, how can I find it in the menu?
>
> regards,
> nick
>
Previous Topic:Aggregation
Next Topic:Required Interface
Goto Forum:
  


Current Time: Wed Jul 16 12:45:10 EDT 2025

Powered by FUDForum. Page generated in 0.28572 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top