Problem when using GetValue [message #1218486] |
Fri, 29 November 2013 09:42 |
Javier García Messages: 129 Registered: April 2013 |
Senior Member |
|
|
Hi, I'm using EMFTVM but I don't think that's related to this issue.
I am using getValue() to get the value of different stereotypes' attributes and I'm getting different return values on different transformations, let me show you:
On transformation 'A' I get stuff like this:
Sequence{10e5a71:Profile!Action}
While on transformation 'B' I get stuff like this:
Sequence{Map Elements:View, Incidents:View, Information View:View, Snapshots:View}
The stereotype's attribute in both cases is a Sequence pointing to other stereotyped elements, and as you can see in the transformation 'A' I'm getting returned the stereotypeApplication of the element the value points to, while in transformation 'B' I'm getting a Stereotype, rather than the stereotype application (or so I think).
So why is this different?
The only thing I'm doing different in these transformations (I think) is that in one I have the profile as an input model, and in the other one I do not, I really don't know what else could it be and I don't really understand why this would make it different, is there any other reason this could be happening? Because as it is right now I would rather not import the profile, but if I have to I guess I will.
Thanks in advance, let me know if there's anything else you need to know about the transformations.
Regards,
Javier
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02237 seconds