|storing stereotype/profile applications in arbitrary models [message #594123]
||Fri, 02 March 2007 15:21
| Rafael Chaves
Registered: July 2009
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?
Powered by FUDForum
. Page generated in 0.02427 seconds