Dear Wiki user, You have subscribed to a wiki page or wiki category on "Ws Wiki" for change notification.
The following page has been changed by KelvinGoodson: http://wiki.apache.org/ws/Tuscany/TuscanyJava/SDO/ThinkingAloud/ChangeSummaryOperations ------------------------------------------------------------------------------ The introduction of change summaries as properties of data objects is likely to require some special behaviour on the part of agents which operate on them. For example, CopyHelper and EqualityHelper. == Objective == - Pick out the elements of the 2.1 spec that relate to definition of behaviour; identify the gaps; raise discussions on grey areas; define our implementation behaviour; feed back conclusions to spec group. + Pick out the elements of the 2.1 spec that relate to definition of behaviour; identify the gaps; raise discussions on grey areas; define our implementation behaviour; identify behaviour deficiencies; feed back conclusions to spec group. -------- @@ -29, +29 @@ * equalShallow(DataObject dataObject1, DataObject dataObject2) returns true if two DataObjects have the same Type, and '''all their compared Properties''' are equal. * equal(DataObject dataObject1, DataObject dataObject2) returns true if two DataObjects are equalShallow(), '''all their compared Properties''' are equal, and all reachable DataObjects in their graphs (excluding containers) are equal. + + == Implementation Deficiencies == + Copying: + Currently the eAttribute which holds the change summary impl is copied by the line + {{{#!Java + copyEObject.eSet(getTarget(eAttribute), eObject.eGet(eAttribute)); + }}} + in EcorUtil.Copier.copyAttribute + which is clearly no good, since the two objects now share a ChangeSummaryImpl + --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
