Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id C311E200BA7 for ; Fri, 21 Oct 2016 19:06:27 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id C1939160AE8; Fri, 21 Oct 2016 17:06:27 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 147F3160ADE for ; Fri, 21 Oct 2016 19:06:26 +0200 (CEST) Received: (qmail 87649 invoked by uid 500); 21 Oct 2016 17:06:26 -0000 Mailing-List: contact dev-help@zest.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@zest.apache.org Delivered-To: mailing list dev@zest.apache.org Received: (qmail 87637 invoked by uid 99); 21 Oct 2016 17:06:26 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Oct 2016 17:06:26 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id A151AC1D1F for ; Fri, 21 Oct 2016 17:06:25 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.299 X-Spam-Level: ** X-Spam-Status: No, score=2.299 tagged_above=-999 required=6.31 tests=[HTML_MESSAGE=2, KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id mTOUbXwrxbmx for ; Fri, 21 Oct 2016 17:06:24 +0000 (UTC) Received: from relay6-d.mail.gandi.net (relay6-d.mail.gandi.net [217.70.183.198]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 940115FBDC for ; Fri, 21 Oct 2016 17:06:24 +0000 (UTC) Received: from mfilter33-d.gandi.net (mfilter33-d.gandi.net [217.70.178.164]) by relay6-d.mail.gandi.net (Postfix) with ESMTP id AF677FB882 for ; Fri, 21 Oct 2016 19:06:11 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mfilter33-d.gandi.net Received: from relay6-d.mail.gandi.net ([IPv6:::ffff:217.70.183.198]) by mfilter33-d.gandi.net (mfilter33-d.gandi.net [::ffff:10.0.15.180]) (amavisd-new, port 10024) with ESMTP id LXMlJ-wWxDhE for ; Fri, 21 Oct 2016 19:06:10 +0200 (CEST) X-Originating-IP: 212.195.187.94 Received: from parangon.local (bne75-h07-212-195-187-94.dsl.sta.abo.bbox.fr [212.195.187.94]) (Authenticated sender: paul@nosphere.org) by relay6-d.mail.gandi.net (Postfix) with ESMTPSA id 2044CFB8B1 for ; Fri, 21 Oct 2016 19:06:09 +0200 (CEST) Message-ID: <580A4B02.2000809@nosphere.org> Date: Fri, 21 Oct 2016 19:06:10 +0200 From: Paul Merlin User-Agent: Postbox 3.0.11 (Macintosh/20140602) MIME-Version: 1.0 To: dev@zest.apache.org Subject: Re: Listing composite properties References: In-Reply-To: X-Enigmail-Version: 1.2.3 Content-Type: multipart/alternative; boundary="------------000908040002050700010201" archived-at: Fri, 21 Oct 2016 17:06:28 -0000 --------------000908040002050700010201 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Hi, zhuangmz08 a crit : > Hi, I'm trying to persist my Value/Entity Composite into database. Can I list all the properties (name, type) of the composite? Thanks. Yes! You need to get hold of your Value/Entity descriptors. This can be done through the ZestAPI, e.g.: @Structure ZestAPI api; void someMethod() { EntityDescriptor descriptor = api.entityDescriptorFor( someEntity ); } HTH --------------000908040002050700010201--