Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » EStore getContainer
EStore getContainer [message #106699] Thu, 10 January 2008 15:46 Go to next message
Jean-Claude Cote is currently offline Jean-Claude CoteFriend
Messages: 56
Registered: July 2009
Member
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 17: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 17:18 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33264
Registered: July 2009
Senior Member
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
>
>
>


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:EStore getContainer
Next Topic:JUnit Test on JET Transform
Goto Forum:
  


Current Time: Thu Dec 26 22:18:08 GMT 2024

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

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

Back to the top