Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » [Texo] EDataType and Texo
[Texo] EDataType and Texo [message #1220546] Thu, 12 December 2013 13:50 Go to next message
Bertrand Quenin is currently offline Bertrand QueninFriend
Messages: 70
Registered: July 2009
Member
Hi,

It seems that Texo doesn't process the EDataType of a package at all: it doesn't register them in the ModelPackage and doesn't provide accessors for them.

Is that an intended behavior? How can I get them generated?

Thanks,
BQ.
Re: [Texo] EDataType and Texo [message #1220565 is a reply to message #1220546] Thu, 12 December 2013 14:40 Go to previous messageGo to next message
Martin Taal is currently offline Martin TaalFriend
Messages: 5340
Registered: July 2009
Senior Member
Hi Bertrand,
Yes correct, in the generated java entity code there is no representation for an EDatatype. Texo could generate
accessors in the epackage for the edatatype itself. Makes sense for sure, can you enter a bugzilla for this?

In the meantime you can always get to the epackage itself (through the modelpackage) and get the edatatypes from the
epackage.

gr. Martin

On 12/12/2013 02:50 PM, Bertrand Quenin wrote:
> Hi,
>
> It seems that Texo doesn't process the EDataType of a package at all: it doesn't register them in the ModelPackage and
> doesn't provide accessors for them.
>
> Is that an intended behavior? How can I get them generated?
>
> Thanks,
> BQ.


--

With Regards, Martin Taal

Springsite/Elver.org
Office: Hardwareweg 4, 3821 BV Amersfoort
Postal: Nassaulaan 7, 3941 EC Doorn
The Netherlands
Cell: +31 (0)6 288 48 943
Tel: +31 (0)84 420 2397
Fax: +31 (0)84 225 9307
Mail: mtaal@xxxxxxxx - mtaal@xxxxxxxx
Web: www.springsite.com - www.elver.org
Re: [Texo] EDataType and Texo [message #1220601 is a reply to message #1220565] Thu, 12 December 2013 16:44 Go to previous messageGo to next message
Bertrand Quenin is currently offline Bertrand QueninFriend
Messages: 70
Registered: July 2009
Member
Thanks Martin. I've opened a case: https://bugs.eclipse.org/bugs/show_bug.cgi?id=423936

Re: [Texo] EDataType and Texo [message #1220613 is a reply to message #1220601] Thu, 12 December 2013 17:07 Go to previous messageGo to next message
Martin Taal is currently offline Martin TaalFriend
Messages: 5340
Registered: July 2009
Senior Member
Seen it, to clarify, afaics there is no valid representation of an EDataType in java (other than an Enum for an EEnum).
Java does not allow overriding/extending of primitives afaik. Let me know ofcourse if I missed anything here.

gr. Martin

On 12/12/2013 05:44 PM, Bertrand Quenin wrote:
> Thanks Martin. I've opened a case: https://bugs.eclipse.org/bugs/show_bug.cgi?id=423936
>
>


--

With Regards, Martin Taal

Springsite/Elver.org
Office: Hardwareweg 4, 3821 BV Amersfoort
Postal: Nassaulaan 7, 3941 EC Doorn
The Netherlands
Cell: +31 (0)6 288 48 943
Tel: +31 (0)84 420 2397
Fax: +31 (0)84 225 9307
Mail: mtaal@xxxxxxxx - mtaal@xxxxxxxx
Web: www.springsite.com - www.elver.org
Re: [Texo] EDataType and Texo [message #1220722 is a reply to message #1220613] Fri, 13 December 2013 09:44 Go to previous message
Bertrand Quenin is currently offline Bertrand QueninFriend
Messages: 70
Registered: July 2009
Member
My bad. I got confused with my own model ...

EDataTypes are created & registered fine.

Sorry for the inconvenience.
Previous Topic:Modifying Ecore file in code
Next Topic:Strange EOpposite issue
Goto Forum:
  


Current Time: Fri Dec 19 04:55:36 GMT 2014

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

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