|
Re: how to access a tagged value of a stereotype?? [message #542859 is a reply to message #542468] |
Sat, 26 June 2010 20:32 |
wafaa Messages: 163 Registered: January 2010 Location: Egypt |
Senior Member |
|
|
hi again
please I have made many trials but none works
actually the method getValue returns EjavaObject which I can not
retrieve it either by b or c
can some one participate, :D
aggregation <- let b : OclAny = opc.getValue(thisModule.getStereotype('ObjectProperty'),'IsC omposition') in
if b = true then
#composite
else
let c : OclAny = opc.getValue(thisModule.getStereotype('ObjectProperty'),'IsC omposition') in
--opc.getValue(thisModule.getStereotype('ObjectProperty'),'I sAggregation') then
#shared
else
#none
endif
endif
> hi all
>
> can some one tell me how to access the tagged value of a stereotype;
> surely it will not be treated as an attribute of the element which the
> stereotype is applied on,
> so if i have a stereotype called x and it has tagged value called IsB
> and it is of type Boolean how to check its value in an ATL program
[Updated on: Sat, 26 June 2010 22:08] Report message to a moderator
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03269 seconds