Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 » storing stereotype/profile applications in arbitrary models
storing stereotype/profile applications in arbitrary models [message #594123] Fri, 02 March 2007 15:21
Rafael Chaves is currently offline Rafael ChavesFriend
Messages: 362
Registered: July 2009
Senior Member
I want to be able to apply stereotypes to a model but store the
ProfileApplication and StereotypeApplication elements elsewhere. Think
of a model that enriches another (read-only) model by applying
stereotypes to its elements. Would that be feasible, at least from the
point of view of the spec?

From what I understand, StereotypeApplications and ProfileApplications
are model elements themselves, so theoretically it should be possible to
store them in a different model from the one they are applied to.

One caveat seems that Element#applyStereotype and Package#applyProfile
will add the corresponding StereotypeApplication and ProfileApplication
objects to the target element/package namespace. I could adapt the
implementation of those two methods to take a package where to store
the application objects. Besides that, do you foresee any technical blocks?

Thanks,

Rafael
Previous Topic:Ecore for Sequence diagram
Next Topic:storing stereotype/profile applications in arbitrary models
Goto Forum:
  


Current Time: Thu Sep 19 21:38:52 GMT 2024

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

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

Back to the top