[ATL] conflict between metamodel and MOF [message #45205] |
Fri, 08 June 2007 09: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 #45265 is a reply to message #45205] |
Fri, 08 June 2007 12:20 |
Eclipse User |
|
|
|
Originally posted by: rchevrel.sodius.com
This is a multi-part message in MIME format.
--------------070102060702050201000303
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 8bit
Hi Jonathan,
I am not sure but try to use double quote like:
templateSignature."ownedTemplateParameter"->append(templateParameter)
Regards,
*R
|
|
|
Re: [ATL] conflict between metamodel and MOF [message #45477 is a reply to message #45265] |
Mon, 11 June 2007 07: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.03995 seconds