EStore getContainer [message #106699] |
Thu, 10 January 2008 10:46  |
Eclipse User |
|
|
|
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  |
Eclipse User |
|
|
|
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  |
Eclipse User |
|
|
|
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
>
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.03307 seconds