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: ISSUE 167: Define type of on-the-fly property in cases where listelements 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]