Skip to main content



      Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » EStore getContainer
EStore getContainer [message #106699] Thu, 10 January 2008 10:46 Go to next message
Eclipse UserFriend
Hi,

I would like to understand better how containment is handled by the EStore
interface.

I see in the interface that there is a getContainer method. However I'm
wondering how it is set. There is no explicit method for it and monitoring
all the set and add performed on an EStore I don't see any feature set for
it.

Thanks
Jean-Claude
Re: EStore getContainer [message #106714 is a reply to message #106699] Thu, 10 January 2008 12:18 Go to previous message
Eclipse UserFriend
Originally posted by: merks.ca.ibm.com

Jean-Claude,

It's never set explicitly and hence must be deduce/assumed from setting
the containment reference at which point you will know the
container/owner, the feature (and hence can know it's a containment
reference), and the child object. From that you can establish the that
the container/owner is the container for that child.


jc wrote:
> Hi,
>
> I would like to understand better how containment is handled by the EStore
> interface.
>
> I see in the interface that there is a getContainer method. However I'm
> wondering how it is set. There is no explicit method for it and monitoring
> all the set and add performed on an EStore I don't see any feature set for
> it.
>
> Thanks
> Jean-Claude
>
>
>
Re: EStore getContainer [message #613977 is a reply to message #106699] Thu, 10 January 2008 12:18 Go to previous message
Eclipse UserFriend
Jean-Claude,

It's never set explicitly and hence must be deduce/assumed from setting
the containment reference at which point you will know the
container/owner, the feature (and hence can know it's a containment
reference), and the child object. From that you can establish the that
the container/owner is the container for that child.


jc wrote:
> Hi,
>
> I would like to understand better how containment is handled by the EStore
> interface.
>
> I see in the interface that there is a getContainer method. However I'm
> wondering how it is set. There is no explicit method for it and monitoring
> all the set and add performed on an EStore I don't see any feature set for
> it.
>
> Thanks
> Jean-Claude
>
>
>
Previous Topic:EStore getContainer
Next Topic:JUnit Test on JET Transform
Goto Forum:
  


Current Time: Tue Jul 08 17:52:08 EDT 2025

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

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

Back to the top