[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.modeling.m2m] [ATL, UML] How to structure output model elements

Dear ATL-Team!

I have a problem using ATL. I want to iterate through all InstanceSpecifications, check for a certain stereotype and generate an output model element at a certain place.

If i simply use a matched rule (from i: uml!InstanceSpecification), the new Element is generated under the root of the output model, but i need it inside a certain structure.

If i use a for-loop inside the "do"-section of a rule (for (i in m.Instancespecification)), ATL stops saying "message: feature InstanceSpecification does not exist on uml!Model"

I don't know if this manual iteration is possible at all, and i can't find how to do it.

Thanks for your help,

Bragenheim