Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » CDO and eContainer()
CDO and eContainer() [message #67245] Mon, 08 January 2007 10:49 Go to next message
Eclipse UserFriend
Originally posted by: yannick.lizzi.silogic.fr

Hi,

I deal with Agenda and AgendaItem. I have the following 1-N aggregation:
Agenda -> AgendaItem.
I use the EMF method eContainer() on each AgendaItem to retreive its
chapter number in the agenda.
With a classical EMF model it works (including after XMI persistency),
but when retreiving the model with CDO, eContainer() returns null.

Yannick
Re: CDO and eContainer() [message #67293 is a reply to message #67245] Mon, 08 January 2007 15:57 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: stepper.sympedia.de

Yannick,

This issue has never been reported before and from your info I can't
explain it.
Can you please send the logging output to me (attached here or via email)?

Could you also please try to checkout the latest CVS version from the
R0_7_maintenance branch?

Cheers
/Eike


Yannick Lizzi schrieb:
> Hi,
>
> I deal with Agenda and AgendaItem. I have the following 1-N
> aggregation: Agenda -> AgendaItem.
> I use the EMF method eContainer() on each AgendaItem to retreive its
> chapter number in the agenda.
> With a classical EMF model it works (including after XMI persistency),
> but when retreiving the model with CDO, eContainer() returns null.
>
> Yannick
Re: CDO and eContainer() [message #67438 is a reply to message #67293] Mon, 08 January 2007 17:04 Go to previous message
Eclipse UserFriend
Originally posted by: yannick.lizzi.silogic.fr

This is a multi-part message in MIME format.
--------------080808080305060905080902
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit

Eike,

You'll find the log attached, ending at the time the container of my
AgendaItem should not be null.
I'm afraid the whole model is a bit complicated, I could provide the
ecore file if you wish.

Yannick

Eike Stepper a
Re: CDO and eContainer() [message #600902 is a reply to message #67245] Mon, 08 January 2007 15:57 Go to previous message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6538
Registered: July 2009
Senior Member
Yannick,

This issue has never been reported before and from your info I can't
explain it.
Can you please send the logging output to me (attached here or via email)?

Could you also please try to checkout the latest CVS version from the
R0_7_maintenance branch?

Cheers
/Eike


Yannick Lizzi schrieb:
> Hi,
>
> I deal with Agenda and AgendaItem. I have the following 1-N
> aggregation: Agenda -> AgendaItem.
> I use the EMF method eContainer() on each AgendaItem to retreive its
> chapter number in the agenda.
> With a classical EMF model it works (including after XMI persistency),
> but when retreiving the model with CDO, eContainer() returns null.
>
> Yannick


Re: CDO and eContainer() [message #600979 is a reply to message #67293] Mon, 08 January 2007 17:04 Go to previous message
Eclipse UserFriend
Originally posted by: yannick.lizzi.silogic.fr

This is a multi-part message in MIME format.
--------------080808080305060905080902
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit

Eike,

You'll find the log attached, ending at the time the container of my
AgendaItem should not be null.
I'm afraid the whole model is a bit complicated, I could provide the
ecore file if you wish.

Yannick

Eike Stepper a
Previous Topic:CDO and generated model Impl
Next Topic:[Transactions] multiple editing domains for one resource set
Goto Forum:
  


Current Time: Thu Feb 25 23:07:37 GMT 2021

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

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

Back to the top