[ATL] conflict between metamodel and MOF [message #45205] |
Fri, 08 June 2007 05:59  |
Eclipse User |
|
|
|
Originally posted by: djodjo91.free.fr
Hi,
i have a little problem of name conflict between my metamodel and mof
attribute. In my metamodel i have a templateSignature which has
ownedTemplateParameter attributes. The problem is when i try to do
something like :
templateSignature.ownedTemplateParameter->append(templateParameter)
i have an error in my transfo "ERROR : could not find operation append on
MOF!EClass...".
A solution would be to change the name attribute in my metamodel (for
example ownedTemplateParameter would be ownedTemplateParam) but i was
wondering if there could be a way to force the use of my metamodel
attribute ?
I hope people who will read my post will understand what i mean, sorry for
my bad english.
|
|
|
|
Re: [ATL] conflict between metamodel and MOF [message #45477 is a reply to message #45265] |
Mon, 11 June 2007 03:29  |
Eclipse User |
|
|
|
Originally posted by: djodjo91.free.fr
hi,
first thank you for your answer Regis. But in fact it was another mistake,
i was calling a rule which doesn't have return element, and i was trying
to do an affectation.
ex : dst.ownedTemplateParameter ->
append(thisModule.createCPPTemplateParameter(a,b)) and
createCPPTemplateParameter(a,b) didn't return anything... :)
regards,
jonathan
|
|
|
Powered by
FUDForum. Page generated in 0.05090 seconds