Book a Demo

Author Topic: Multiple stereotypes - where are they  (Read 2501 times)

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Multiple stereotypes - where are they
« on: June 05, 2005, 06:01:38 am »
You can add more than one stereotype to a class in EA.

However, the stereotype column in the t_object table contains only one.  I've had a look around the other tables, but I can't find where the others are kept.

Does anybody know?

Cheerz,
Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +55/-3
    • View Profile
Re: Multiple stereotypes - where are they
« Reply #1 on: June 05, 2005, 04:08:33 pm »
Quote
You can add more than one stereotype to a class in EA.

However, the stereotype column in the t_object table contains only one.  I've had a look around the other tables, but I can't find where the others are kept.

Does anybody know?

Cheerz,
Paolo


t_xref. It looks like you filter on t_xref.Name = "Stereotypes" and then you'll find all the detail in t_xref.Description.
The Sparx Team
[email protected]

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Multiple stereotypes - where are they
« Reply #2 on: June 05, 2005, 09:03:18 pm »
Quote

t_xref. It looks like you filter on t_xref.Name = "Stereotypes" and then you'll find all the detail in t_xref.Description.

Thanks KP.  

The way I read it, the first or "primary" stereotype (however that's determined) goes into the stereotype column in t_object.  The remainder go int he Stereotypes Entry in t_xref.  Correct?

Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!