OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

sdo message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [sdo] Action Item #0000 (SDO-56) Proposal



I am not sure this belongs in the core spec.  At the moment there are only wrapper objects in Java.  I believe there has been some discussion about defining them for C++, that has not happened yet.  And it unlikely to ever happen for C.

Bryan Aupperle, Ph.D.
STSM, WebSphere Enterprise Platform Software Solution Architect

Research Triangle Park,  NC
+1 919-254-7508 (T/L 444-7508)
Internet Address: aupperle@us.ibm.com



Frank Budinsky <frankb@ca.ibm.com>

03/16/2009 10:16 AM

To
sdo@lists.oasis-open.org
cc
Subject
[sdo] Action Item #0000 (SDO-56) Proposal





Here is a proposal for SDO-56:

In Section 4.1.3 of the core spec, change the last paragraph from this:

An SDO implementation may, but is not required to, support conversion between DataObject and DataType values. For example, getDataObject() on String-type property may return a wrapper DataObject for the string value, and getString() on a DataObject property may do the reverse. The exact behavior of this conversion, if supported, is implementation dependent.

to this:

Conversion between DataType values and wrapper DataObjects (i.e., DataTypeWrappers) is also supported. For example, getDataObject() on a String-type property will return a wrapper DataObject for the string value, and getString() on a DataObject property will do the reverse. The set of supported conversions specified in DataType Conversions applies similarly to wrappers, that is, if the type of a DataTypeWrapper value property (e.g., Int), is compatible with some other DataType (e.g., String), then conversion from the wrapper to the DataType is allowed.


Thanks,
Frank.



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]