Get stereotype Generalization - Tag Value [message #1444142] |
Mon, 13 October 2014 17:51 |
Pedro Grifin Messages: 2 Registered: October 2014 |
Junior Member |
|
|
hi:
I'm doing an ATL transformation, but I have a problem getting a stereotypical generalization.
I enclose a diagram. My idea is to get the multiplicity stereotype and its value N. Then, when you make the association, such as from A to B, to put this value.
FOr example, the sentence:
claseDestino.createOwnedAttribute (claseConocedoraOrigen.name, modeloDestino.member->
select (m | m.oclIsTypeOf (MM1 Class) and m.name = claseConocedoraOrigen.name!) .first (), 1, 1);
The values 1 and 1 are the maximum and minimum, but now is fixed to 1 What I want to get the value of that stereotype multiplicity N, to make
claseDestino.createOwnedAttribute (claseConocedoraOrigen.name, modeloDestino.member->
select (m | m.oclIsTypeOf (MM1 Class) and m.name = claseConocedoraOrigen.name!) .first (), 1, Value_N);
thank you very much
a greeting
[Updated on: Wed, 15 October 2014 14:50] Report message to a moderator
|
|
|
|
Powered by
FUDForum. Page generated in 0.02644 seconds