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] ISSUE 167: Define type of on-the-fly property in cases wherelist elements are not of the same type


Proposal:

In Section 4.1.9 of Core Spec, replace this:


with this:

Also, can we remove section 2.1.2 of the Java spec?

Frank.

Inactive hide details for "Barack, Ron" ---10/27/2009 07:18:09 AM---http://www.osoa.org/jira/browse/SDO-167 Raised by Blaise in"Barack, Ron" ---10/27/2009 07:18:09 AM---http://www.osoa.org/jira/browse/SDO-167 Raised by Blaise in discussion over the Java Spec:


From:

"Barack, Ron" <ron.barack@sap.com>

To:

"sdo@lists.oasis-open.org" <sdo@lists.oasis-open.org>

Date:

10/27/2009 07:18 AM

Subject:

[sdo] ISSUE 167: Define type of on-the-fly property in cases where list elements are not of the same type




http://www.osoa.org/jira/browse/SDO-167

Raised by Blaise in discussion over the Java Spec:

Section 2.1.2 - Open Content DataObject Properties

"the property type is derived from the Java class of the value, or List of values, being set. If the value is an instance of DataObject, a Java Implementation of SDO MUST create the property using the type of the DataObject (returned by DataObject.getType()). [JAV02010201]."
The above compliance point does not cover what happens if the List of values contains objects from the same inheritance hierarchy. Is the type based on DataObject.getType() from the first item in the list, or the lowest super class common to all DataObjects in the list.
-------
This seems trivial, but we'd need
SDO-116 to solve it if there is no common root type.





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