|
Re: Copy one subclass instance to another [message #899892 is a reply to message #899780] |
Thu, 02 August 2012 17:24 |
Ed Merks Messages: 33141 Registered: July 2009 |
Senior Member |
|
|
Erdal,
You could create a specialized Copier and specialize the
getTarget(EClass) method so it returns the EClass for A given the EClass
for AS. Of course for this simple case, you could write code against
the the generated interfaces for AS and A...
On 02/08/2012 12:42 PM, Erdal Karaca wrote:
> I have this meta model:
>
> EClass Base
> - a : EString
> - b : EString
>
> EClass AS extends Base
>
> EClass A extends Base
>
> I need to copy an instance of AS to A.
> Is there a standard way to do this?
>
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Powered by
FUDForum. Page generated in 0.03523 seconds