Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » EMF: New Data types
EMF: New Data types [message #425913] Thu, 11 December 2008 16:51 Go to next message
Eclipse UserFriend
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 Go to previous message
Ed Merks is currently offline Ed MerksFriend
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/
Previous Topic:EMF: New Data types
Next Topic:EMF+GWT status?
Goto Forum:
  


Current Time: Fri Apr 26 17:47:44 GMT 2024

Powered by FUDForum. Page generated in 0.03783 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top