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: 30892
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
>
Previous Topic:EMF: New Data types
Next Topic:EMF+GWT status?
Goto Forum:
  


Current Time: Thu Feb 20 13:35:19 GMT 2020

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

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

Back to the top