Set non-transient value to transient [message #1171702] |
Tue, 05 November 2013 07:23  |
Eclipse User |
|
|
|
Hello,
I am trying to implement a quickfix for my dsl, where a reference should be set
for a modelelement without writing this assignment in the dsl-file.
Here an example how it should look like in the dsl-file:
association Has {
owner:Owner;
car:Car;
}
The problem is that I have to set the reference from a property to its owning association. But the user should not do this by hand, so I thougt I can set the references in a Quickfix and everything is fine.
The Quickfix works fine but the serialization fails because of a:
non-transient values but has no corresponding assignment in rule
My question is now: Is it possible to set a non-transient modelelement (here an reference to a owning element) to transient so I can set the references programmatically?
Note: I am importing an exsisting metamodel wich forces this reference to an owning element
Regards,
Alex
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03797 seconds