EMF: New Data types [message #425913] |
Thu, 11 December 2008 16:51 |
Eclipse User |
|
|
|
Originally posted by: soloyo93.xxxxx.com
Hi,
I'm making a SQL metamodel and I need to add new data types. I want that
these new data types are accessible from the models conform to my
metamodel, as the EMF types appear in the ecore models. I've searched
information but I haven't found how to do this, please, any idea?
Thanks
|
|
|
Re: EMF: New Data types [message #425914 is a reply to message #425913] |
Thu, 11 December 2008 17:03 |
Ed Merks Messages: 33142 Registered: July 2009 |
Senior Member |
|
|
Alvaro,
If I understand correctly, you'd just define an new EDataType Abc in
your own package Xyz, set its instance class name to the fully qualified
Java class name, and specialize the XyzFactoryImpl's createAbcFromString
and convertAbcToString methods. Of course I could be a meta-level off...
Alvaro Jimenez wrote:
> Hi,
>
> I'm making a SQL metamodel and I need to add new data types. I want
> that these new data types are accessible from the models conform to my
> metamodel, as the EMF types appear in the ecore models. I've searched
> information but I haven't found how to do this, please, any idea?
>
> Thanks
>
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Powered by
FUDForum. Page generated in 0.03783 seconds