Return-Path: Delivered-To: apmail-ws-general-archive@www.apache.org Received: (qmail 43886 invoked from network); 2 Jun 2006 09:41:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 2 Jun 2006 09:41:02 -0000 Received: (qmail 48300 invoked by uid 500); 2 Jun 2006 09:41:00 -0000 Delivered-To: apmail-ws-general-archive@ws.apache.org Received: (qmail 47736 invoked by uid 500); 2 Jun 2006 09:40:57 -0000 Mailing-List: contact general-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: general@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list general@ws.apache.org Received: (qmail 47725 invoked by uid 99); 2 Jun 2006 09:40:57 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Jun 2006 02:40:57 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Jun 2006 02:40:56 -0700 Received: from ajax.apache.org (localhost [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id 670B46ACA9 for ; Fri, 2 Jun 2006 11:35:09 +0100 (BST) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Apache Wiki To: general@ws.apache.org Date: Fri, 02 Jun 2006 10:35:09 -0000 Message-ID: <20060602103509.10516.30954@ajax.apache.org> Subject: [Ws Wiki] Update of "Tuscany/TuscanyJava/Design/SDO/ChangeSummary" by KelvinGoodson X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N 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/Design/SDO/ChangeSummary ------------------------------------------------------------------------------ = ChangeSummary Design Jottings = A place to hold thoughts about how to make ChangeSummary work as DataObject properties rather than being constrained to properties of DataGraphs. + + == Spec Constraints == + A Type for a DataObject '''has a Property''' for containing a ChangeSummary. I.e. would expect to see the Property in the Type.getProperties() call. + + == Queries == + * I don't suppose this is the case, but just to clarify, if a Type is open and a ChangeSummary instance is attached to an instance my assumption is that this would not trigger change recording activity. == Existing Patterns == === The "mixed" approach === @@ -39, +45 @@ * create new attribute with * change getter behaviour on DataObject to look for CS on DO * ? have BasicExtendedMetaData method similar to getContentKind which looks for annotation on EClass that changeSummary attribute present is true/false - * cycle over attributes, checking for getFeatureKind(eAttribute) == ExtendedMetaData.CHANGESUMMARY_FEATURE + * cycle over attributes, checking for getFeatureKind(eAttribute) == ExtendedMetaData.CHANGESUMMARY_FEATURE + * '''hmmmm, I'm not sure I like this, it's not high perfomance, but it is consistent. What's the overhead? Should I have an instance member on the Type? Should I maintain both, and cache the Property value in the type when found? * enumerate and guard new state invariants on runtime model * * --------------------------------------------------------------------- To unsubscribe, e-mail: general-unsubscribe@ws.apache.org For additional commands, e-mail: general-help@ws.apache.org