[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: ISSUE 121: Adding convenience methods to Issue-66
Von: Blaise Doughan [mailto:blaise.doughan@oracle.com] Gesendet: Dienstag, 8. April 2008 15:58 An: sdo@lists.oasis-open.org Betreff: [LIKELY JUNK]Re: [sdo] Adding convenience methods to Issue-66 Hello All,
Personally I am more comfortable with the
convenience methods than with the original project method. My primary
concern with the project method is that it leaves the DataObject being projected
in an undefined state (and as you mention the corresponding bugs), the
covenience methods could prevent this.
If the purpose of the project method is to allow
data souce data with one set of containment relationships to be marshalled to
XML with another set of containment relationships then the following would
accomplish this:
C2.getXMLHelper().save(O1);
If I wanted to move data from one context to
another then we could do the following:
C2.getCopyHelper().copy(O1);
I could even get behind:
O2.set("x",O1);
If it was the same as:
O2.set("x",
C2.getCopyHelper().copy(01));
-Blaise
|
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]