Return-Path: Delivered-To: apmail-ws-tuscany-dev-archive@locus.apache.org Received: (qmail 95048 invoked from network); 9 Apr 2007 18:26:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 9 Apr 2007 18:26:48 -0000 Received: (qmail 37579 invoked by uid 500); 9 Apr 2007 18:26:53 -0000 Delivered-To: apmail-ws-tuscany-dev-archive@ws.apache.org Received: (qmail 37552 invoked by uid 500); 9 Apr 2007 18:26:53 -0000 Mailing-List: contact tuscany-dev-help@ws.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: tuscany-dev@ws.apache.org Delivered-To: mailing list tuscany-dev@ws.apache.org Received: (qmail 37539 invoked by uid 99); 9 Apr 2007 18:26:53 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Apr 2007 11:26:53 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of scottkurz@gmail.com designates 64.233.184.226 as permitted sender) Received: from [64.233.184.226] (HELO wr-out-0506.google.com) (64.233.184.226) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Apr 2007 11:26:46 -0700 Received: by wr-out-0506.google.com with SMTP id 36so1087152wra for ; Mon, 09 Apr 2007 11:26:25 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=hNnKJoJfH4iLpiecl1o/xqVrPzH3H6oRHjI0eHWqxFqPZBhprhQ/12/oLvoI5zQ5LcnAMdh7E2SYj4iRe/PvdEGFRiUhSA0AoDh5qT3uPMkju6Ojo9S8UmJ+afUpB7gEFNJ4nH+R3za0PGie1oBxOYJ8RyMoRgcKOCXYmZCPFSw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=MTEI0jd3ijLghj6FkickloT4Lf+gAVMLk3nQ+SH8xtLnSXfUbFuFilnjMp7bpEsPWYiDd/AWIfaqATEMFoY7OvCskzLnEjRSRevuhUBKTIF8ZNNY4qBkWYgzLisjLkj+SIn8tUcUHSz+MH3kh5nk/p7T+Ai0xyZfYpvN1Xh+14s= Received: by 10.115.23.12 with SMTP id a12mr2450645waj.1176143184993; Mon, 09 Apr 2007 11:26:24 -0700 (PDT) Received: by 10.114.180.6 with HTTP; Mon, 9 Apr 2007 11:26:24 -0700 (PDT) Message-ID: Date: Mon, 9 Apr 2007 14:26:24 -0400 From: "Scott Kurz" To: tuscany-dev@ws.apache.org Subject: Re: Basic SDO question: no built-in types? In-Reply-To: <429798.10974.qm@web611.biz.mail.mud.yahoo.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_6933_27390550.1176143184932" References: <429798.10974.qm@web611.biz.mail.mud.yahoo.com> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_6933_27390550.1176143184932 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Thanks Fuhwei, Frank that helps me under the SDO view of the built-in types. I wonder how useful it would be to allow WSDL2Java to generate a Type, then, instead of an int or String, when the "-dynamicSDO" option is chosen. There would need to be some runtime databinding-sdo support for this option too, I'd think. Interesting but I'm probably going to drop this train of thought for now... Scott On 4/9/07, Fuhwei Lwo wrote: > > Scott, > > SDO built-in types were defined in the sdoModel.xsd under > tuscany/java/spec/sdo-api/src/main/resources/xml directory. The mapping from > XSD to Java is described in the spec section 9.4. > > The instances of SDO built-in types will be instances of commonj.sdo.Type. > So if you have a SDO type for xsd:int, the name of the commonj.sdo.Typeinstance will be "Int". > > Hope this helps. > > Scott Kurz wrote: This is maybe an SDO for dummies > question. > > Are there any built-in SDO types, say, corresponding to int which I can > work with as a generic DataObject in the manner that java.lang.Integer is > a > java.lang.Object > corresponding to int? (I'm not seeing anything from a quick scan of the > source or spec to suggest that there is.) > > Or is the simplest DataObject one can create a user-defined, complexType > wrappering a single int? > > Thanks, > Scott > > ------=_Part_6933_27390550.1176143184932--