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?


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

Current Time: Fri Apr 03 17:12:27 GMT 2020

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

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

Back to the top