Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community Forums[ATL] Do we have to instantiate ProfileApplication when transforming an extended model into another?
https://www.eclipse.org/forums/index.php/mv/msg/201263/642807/#msg_642807
The target model generated by my ATL rules generated the instances of the meta-classes Model, Class, and the stereotype defined in a second profile (profileB) properly, I applied the instance of the stereotype to the class properly.
The .uml file for the target model DOES NOT contain an instance of the meta-meta-class ProfileApplication as the .uml file for the source model does. A consequence of this is that profileB cannot be de-applied from the target model. And then comes my questions: is it a rule to generate an instance of the meta-meta-class PofileApplication in a target model? can a target model be useful without it? What is your experience on that?
Kindest regards.]]>Tomas Balderas2010-12-02T18:49:42-00:00Re: [ATL] Do we have to instantiate ProfileApplication when transforming an extended model into anot
https://www.eclipse.org/forums/index.php/mv/msg/201263/642888/#msg_642888
rule Model {
from s : Model
to t : Model()
do{
t.applyProfile(UML2!Profile.allInstances()->select(s | s.name='nameoftheprofile')->first());
}]]>Sylvain EVEILLARD2010-12-03T08:36:50-00:00