Skip to main content



      Home
Home » Modeling » EMF » [Texo] EDataType and Texo
[Texo] EDataType and Texo [message #1220546] Thu, 12 December 2013 08:50 Go to next message
Eclipse UserFriend
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 09:40 Go to previous messageGo to next message
Eclipse UserFriend
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 11:44 Go to previous messageGo to next message
Eclipse UserFriend
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 12:07 Go to previous messageGo to next message
Eclipse UserFriend
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 04:44 Go to previous message
Eclipse UserFriend
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: Tue Apr 29 11:11:37 EDT 2025

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

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

Back to the top