|
|
|
Re: Dynamic EMF [message #423181 is a reply to message #423179] |
Wed, 24 September 2008 14:03 |
Ed Merks Messages: 33218 Registered: July 2009 |
Senior Member |
|
|
Kristian,
I suppose the EStore could be used for such a purpose, but the primary
purpose for it is to separate out all the data values from the objects
themselves such that the object act merely as a facade and all data
management is handled by the store. CDO is a great example of how it
can be used to support facade objects where the real backing model is on
the server rather than the client.
Kristian Sons wrote:
> Ed,
>
> thanks for the answer!
>
>>> EPackage myDynamicPackage = EcoreFactory.eINSTANCE.createEPackage();
>>> myDynamicPackage.setName("coolPackage");
>> Settings an nsURI is important as well.
>
> Of course.
>
>>> Is this meant to be or perhaps a bug?
>> Until we implement
>> https://bugs.eclipse.org/bugs/show_bug.cgi?id=177107, i.e., a
>> specialized EObjectImpl subclass that's tolerant of changes to the
>> metamodel, it's just meant to be.
>
> Great! When is it available ;)
>
> I saw the Estore stuff in EObjectImpl. Is this meant to become
> something like this?
>
> Kristian
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Powered by
FUDForum. Page generated in 0.04158 seconds