|
Re: [CDO] feature value synchronization [message #136339 is a reply to message #136320] |
Wed, 13 May 2009 12:04 |
|
Martynas,
CDO is supported in the EMF newsgroup where you also asked this question.
Please do not cross post to multiple newsgroups at the same time. This
could cause redundant effort.
Cheers
/Eike
----
http://thegordian.blogspot.com
Martynas schrieb:
> Hi,
>
> I have an EMF feature. The feature value must be "synchronized" with
> another non-EMF feature (e.g. simple java class field). The initial
> idea was to override eGet, sSet methods to synchronize the values.
> Unfortunately these methods are not called when committing/loading the
> cdo object.
>
> There are methods cdoInternalPreCommit and cdoInternalPostLoad, but in
> another thread I've found that "its calling semantics are not
> officially specified and they could change without notice."
>
> Are there any suggestions how such synchronization can be achieved?
>
> In generally what I need is a call to my method when the EMF feature
> value is set/get.
>
> Thanks
>
Cheers
/Eike
----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper
|
|
|
Re: [CDO] feature value synchronization [message #620943 is a reply to message #136320] |
Wed, 13 May 2009 12:04 |
|
Martynas,
CDO is supported in the EMF newsgroup where you also asked this question.
Please do not cross post to multiple newsgroups at the same time. This
could cause redundant effort.
Cheers
/Eike
----
http://thegordian.blogspot.com
Martynas schrieb:
> Hi,
>
> I have an EMF feature. The feature value must be "synchronized" with
> another non-EMF feature (e.g. simple java class field). The initial
> idea was to override eGet, sSet methods to synchronize the values.
> Unfortunately these methods are not called when committing/loading the
> cdo object.
>
> There are methods cdoInternalPreCommit and cdoInternalPostLoad, but in
> another thread I've found that "its calling semantics are not
> officially specified and they could change without notice."
>
> Are there any suggestions how such synchronization can be achieved?
>
> In generally what I need is a call to my method when the EMF feature
> value is set/get.
>
> Thanks
>
Cheers
/Eike
----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper
|
|
|
Powered by
FUDForum. Page generated in 0.04448 seconds