Return-Path: Delivered-To: apmail-commons-user-archive@www.apache.org Received: (qmail 15113 invoked from network); 4 Apr 2008 08:37:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 4 Apr 2008 08:37:43 -0000 Received: (qmail 93518 invoked by uid 500); 4 Apr 2008 08:37:38 -0000 Delivered-To: apmail-commons-user-archive@commons.apache.org Received: (qmail 93455 invoked by uid 500); 4 Apr 2008 08:37:38 -0000 Mailing-List: contact user-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Jakarta Commons Users List" Delivered-To: mailing list user@commons.apache.org Received: (qmail 93446 invoked by uid 99); 4 Apr 2008 08:37:38 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Apr 2008 01:37:38 -0700 X-ASF-Spam-Status: No, hits=3.2 required=10.0 tests=HTML_MESSAGE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [209.85.134.186] (HELO mu-out-0910.google.com) (209.85.134.186) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Apr 2008 08:36:57 +0000 Received: by mu-out-0910.google.com with SMTP id i2so7712165mue.2 for ; Fri, 04 Apr 2008 01:37:07 -0700 (PDT) Received: by 10.78.145.16 with SMTP id s16mr2645007hud.23.1207298226114; Fri, 04 Apr 2008 01:37:06 -0700 (PDT) Received: by 10.78.201.17 with HTTP; Fri, 4 Apr 2008 01:37:06 -0700 (PDT) Message-ID: Date: Fri, 4 Apr 2008 10:37:06 +0200 From: "Manel Clos" To: user@commons.apache.org Subject: Help mapping a List object MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_4433_18922044.1207298226088" X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_4433_18922044.1207298226088 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi, I have to map these two objects: public class LayerNode extends ArrayList { /* fields omitted */ } public class FieldNode { /* fields omitted */ } Automatic reading using Instrospection works right, but then I need to remove some properties. Trying with the FieldNode class, using the FieldNode.betwixt file works as expected. Then, when trying to map the parent class (LayerNode), I get no child objects (FieldNode). I've tried putting an element tag and set the updater to "add", but it does not help. I suppose the problem is that the LayerNode class extends and ArrayList instead of the list being a property, but I need it that way. Any ideas how to map it? Thanks in advance! LayerNode.betwixt: FieldNode.betwixt: ------=_Part_4433_18922044.1207298226088--