|
Re: [CDO][0.8.0] eResource [message #96544 is a reply to message #96513] |
Wed, 12 September 2007 15:46 |
Eclipse User |
|
|
|
Originally posted by: stepper.sympedia.de
This is a multi-part message in MIME format.
--------------020102020702010503090102
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Hi Simon,
Comments inline...
Simon McDuff schrieb:
> Hi Eike,
>
> Can we use generated classes that inherit from CDOObjectImpl without
> CDOResource ?
This shall certainly work but I'm not sure if I already have a test case
for this.
So I can't guarantee at this moment if it's really free of bugs.
If you already have a test case and encounter problems, please file a
bug so that I don't forget to fix it.
> For our test case we would like to save them in a different resource
> (XMIResourceIMpl)
>
> ResourceImpl resource
>
> resource.getContent().add(eObject);
>
> eObject.eResource()
What do you want to express with the previous line?
> eObject.Resource equal null. ???
What do you want to express with the previous line?
> CDOObjectImpl.eSetDirectResource delegate the call to the super
> class... this is correct
> CDOObjectImpl.eResource doesn't delegate the call to teh super class
> .. it should Right ?
I'm not sure at the moment. I remember that the interrelations of all
these methods and the
special requirements for CDOObjectImpls are very subtle. I'd say if it
doesn't deliver the same
results as legacy EObjects with an arbitrary Resource I should have a
look at it.
Cheers
/Eike
--------------020102020702010503090102
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi Simon,<br>
<br>
Comments inline...<br>
<br>
<br>
Simon McDuff schrieb:
<blockquote cite="mid:fc8om6$afg$1@build.eclipse.org" type="cite">
<meta http-equiv="Content-Type" content="text/html; ">
<meta content="MSHTML 6.00.2900.3157" name="GENERATOR">
<style></style>
<div><font face="Arial" size="2">Hi Eike,</font></div>
<div> </div>
<div><font face="Arial" size="2">Can we use generated classes that
inherit from CDOObjectImpl without CDOResource ?</font></div>
</blockquote>
This shall certainly work but I'm not sure if I already have a test
case for this.<br>
So I can't guarantee at this moment if it's really free of bugs.<br>
If you already have a test case and encounter problems, please file a
bug so that I don't forget to fix it.<br>
<br>
<blockquote cite="mid:fc8om6$afg$1@build.eclipse.org" type="cite">
<div><font face="Arial" size="2"> </font></div>
<div><font face="Arial" size="2">For our test case we would like to
save them in a different resource (XMIResourceIMpl)</font></div>
<div> </div>
<div><font face="Arial" size="2">ResourceImpl resource</font></div>
<div> </div>
<div><font face="Arial" size="2">resource.getContent().add(eObject);</font></div >
<div> </div>
<div><font face="Arial" size="2">eObject.eResource()</font></div>
</blockquote>
What do you want to express with the previous line?<br>
<br>
<blockquote cite="mid:fc8om6$afg$1@build.eclipse.org" type="cite">
<div><font face="Arial" size="2"> </font></div>
<div> <font face="Arial" size="2">eObject.Resource equal null. ???</font></div>
</blockquote>
What do you want to express with the previous line?<br>
<br>
<blockquote cite="mid:fc8om6$afg$1@build.eclipse.org" type="cite">
<div><font face="Arial" size="2">CDOObjectImpl.eSetDirectResource
delegate the call to the super class... this is correct</font></div>
<div><font face="Arial" size="2">CDOObjectImpl.eResource doesn't
delegate the call to teh super class .. it should Right ?</font></div>
</blockquote>
I'm not sure at the moment. I remember that the interrelations of all
these methods and the <br>
special requirements for CDOObjectImpls are very subtle. I'd say if it
doesn't deliver the same<br>
results as legacy EObjects with an arbitrary Resource I should have a
look at it.<br>
<font size="2"><font face="Arial"><br>
Cheers<br>
/Eike<br>
<br>
<br>
</font></font>
</body>
</html>
--------------020102020702010503090102--
|
|
|
|
|
Re: [CDO][0.8.0] eResource [message #609700 is a reply to message #96513] |
Wed, 12 September 2007 15:46 |
|
This is a multi-part message in MIME format.
--------------020102020702010503090102
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Hi Simon,
Comments inline...
Simon McDuff schrieb:
> Hi Eike,
>
> Can we use generated classes that inherit from CDOObjectImpl without
> CDOResource ?
This shall certainly work but I'm not sure if I already have a test case
for this.
So I can't guarantee at this moment if it's really free of bugs.
If you already have a test case and encounter problems, please file a
bug so that I don't forget to fix it.
> For our test case we would like to save them in a different resource
> (XMIResourceIMpl)
>
> ResourceImpl resource
>
> resource.getContent().add(eObject);
>
> eObject.eResource()
What do you want to express with the previous line?
> eObject.Resource equal null. ???
What do you want to express with the previous line?
> CDOObjectImpl.eSetDirectResource delegate the call to the super
> class... this is correct
> CDOObjectImpl.eResource doesn't delegate the call to teh super class
> .. it should Right ?
I'm not sure at the moment. I remember that the interrelations of all
these methods and the
special requirements for CDOObjectImpls are very subtle. I'd say if it
doesn't deliver the same
results as legacy EObjects with an arbitrary Resource I should have a
look at it.
Cheers
/Eike
--------------020102020702010503090102
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi Simon,<br>
<br>
Comments inline...<br>
<br>
<br>
Simon McDuff schrieb:
<blockquote cite="mid:fc8om6$afg$1@build.eclipse.org" type="cite">
<meta http-equiv="Content-Type" content="text/html; ">
<meta content="MSHTML 6.00.2900.3157" name="GENERATOR">
<style></style>
<div><font face="Arial" size="2">Hi Eike,</font></div>
<div> </div>
<div><font face="Arial" size="2">Can we use generated classes that
inherit from CDOObjectImpl without CDOResource ?</font></div>
</blockquote>
This shall certainly work but I'm not sure if I already have a test
case for this.<br>
So I can't guarantee at this moment if it's really free of bugs.<br>
If you already have a test case and encounter problems, please file a
bug so that I don't forget to fix it.<br>
<br>
<blockquote cite="mid:fc8om6$afg$1@build.eclipse.org" type="cite">
<div><font face="Arial" size="2"> </font></div>
<div><font face="Arial" size="2">For our test case we would like to
save them in a different resource (XMIResourceIMpl)</font></div>
<div> </div>
<div><font face="Arial" size="2">ResourceImpl resource</font></div>
<div> </div>
<div><font face="Arial" size="2">resource.getContent().add(eObject);</font></div >
<div> </div>
<div><font face="Arial" size="2">eObject.eResource()</font></div>
</blockquote>
What do you want to express with the previous line?<br>
<br>
<blockquote cite="mid:fc8om6$afg$1@build.eclipse.org" type="cite">
<div><font face="Arial" size="2"> </font></div>
<div> <font face="Arial" size="2">eObject.Resource equal null. ???</font></div>
</blockquote>
What do you want to express with the previous line?<br>
<br>
<blockquote cite="mid:fc8om6$afg$1@build.eclipse.org" type="cite">
<div><font face="Arial" size="2">CDOObjectImpl.eSetDirectResource
delegate the call to the super class... this is correct</font></div>
<div><font face="Arial" size="2">CDOObjectImpl.eResource doesn't
delegate the call to teh super class .. it should Right ?</font></div>
</blockquote>
I'm not sure at the moment. I remember that the interrelations of all
these methods and the <br>
special requirements for CDOObjectImpls are very subtle. I'd say if it
doesn't deliver the same<br>
results as legacy EObjects with an arbitrary Resource I should have a
look at it.<br>
<font size="2"><font face="Arial"><br>
Cheers<br>
/Eike<br>
<br>
<br>
</font></font>
</body>
</html>
--------------020102020702010503090102--
Cheers
/Eike
----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.05078 seconds