Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » EList of Double may not contain nulls? [CDO]
EList of Double may not contain nulls? [CDO] [message #661811] Mon, 28 March 2011 05:50 Go to next message
Erdal Karaca is currently offline Erdal KaracaFriend
Messages: 853
Registered: July 2009
Senior Member
I have to add a null value to a EList of Double. Unfortunately, this does not seem to be possible.
Is there a way to achieve this without adding/inventing a dummy Type that marks the value as null?
Re: EList of Double may not contain nulls? [CDO] [message #661868 is a reply to message #661811] Mon, 28 March 2011 11:04 Go to previous messageGo to next message
Stefan Winkler is currently offline Stefan WinklerFriend
Messages: 301
Registered: July 2009
Location: Germany
Senior Member
Erdal,

please post some example code and the error message/exception, if there
is one. We can only tell if there is a solution or if this is a bug, if
we get enough information.

Cheers,
Stefan

Am 28.03.11 07:50, schrieb Erdal Karaca:
> I have to add a null value to a EList of Double. Unfortunately, this
> does not seem to be possible.
> Is there a way to achieve this without adding/inventing a dummy Type
> that marks the value as null?
Re: EList of Double may not contain nulls? [CDO] [message #661983 is a reply to message #661868] Mon, 28 March 2011 17:47 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 30546
Registered: July 2009
Senior Member
Stefan,

Yes, it's often hard to know details unless they're provided.

The issue might be as simple as using EDoubleObject rather than EDouble
as the EDataType of the EAttribute; the former allows null but the
latter does not...


Stefan Winkler wrote:
> Erdal,
>
> please post some example code and the error message/exception, if
> there is one. We can only tell if there is a solution or if this is a
> bug, if we get enough information.
>
> Cheers,
> Stefan
>
> Am 28.03.11 07:50, schrieb Erdal Karaca:
>> I have to add a null value to a EList of Double. Unfortunately, this
>> does not seem to be possible.
>> Is there a way to achieve this without adding/inventing a dummy Type
>> that marks the value as null?
>
Previous Topic:Regarding GSoC project-"EMF - EMF Databinding for Apache CXF"
Next Topic:[teneo] UUID with containment causes "no String constructor" exception on retrieval
Goto Forum:
  


Current Time: Wed Oct 16 09:13:35 GMT 2019

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

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

Back to the top