Book a Demo

Author Topic: Stereotype inheritance / objects  (Read 3592 times)

iMikel

  • EA Novice
  • *
  • Posts: 14
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Stereotype inheritance / objects
« on: December 07, 2007, 02:46:49 am »
Hello all of you!

1)
When a classifier has a stereotype (e.g. a class),
does this stereotype implictly apply to any subclass?

What does the OMG / UML Spec say?

2)
In how far does the EA-API support this:

When you call GetStereotypeEx for a subclass, are the Stereotypes of parent classes included in the result set?

3)
A class may have a stereotype "test"; when you call
GetStereotypeEx on an OBJECT of that class, is then "test" returned as well?

With regards

iMikel

thomaskilian

  • Guest
Re: Stereotype inheritance / objects
« Reply #1 on: December 07, 2007, 04:14:59 am »
According to my understanding your assumption for 3) should be correct. No idea whether it really works that way. You need to test it in your sandbox. Same for 2)

btw: don't post the same thread on different boards. Please remove it from the general board. Further: try to create single threads per question. 1) belongs to the UML board.