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] SDO 3.0 API Refactor - First Draft


Hello All,

Attached is the second pass at the API refactor.  The commonj.sdo.* files are based on SDO 2.1.1 (JSR 235), and the org.oasisopen.sdo.* files are based on the files sent out by Ron on Feburary 18th with the subject "[sdo] SDO-27:  Proposed API with generics and deprecated typed accessors.".

-Blaise

Blaise Doughan wrote:
4B956C09.9040001@oracle.com" type="cite"> Hello All,

Attached is a first stab at the API refactor discussed last week (introducing org.oasisopen.sdo.*).  It is still a work in progress and will not completely compile.  I have also attached a skeleton impl to ensure that an implementation could implement both sets of interfaces.

To satisfy the compiler I was required to remove the generics from all list return types on the commonj.sdo.* classes as apparently

    This is valid:
    Super Class:  org.oasisopen.sdo.DataObject foo();
    Sub Class:  commonj.sdo.DataObject foo();

    This is not:
    Super Class:  List<org.oasisopen.sdo.DataObject bar();
    Sub Class:  List<commonj.sdo.DataObject> bar();

Decisions to be made:
  1. Is this worth doing?
  2. Is there any reason for the commonj.sdo.* API to be different from SDO 2.1.1 (add new API only to org.oasisopen.sdo.*)?
  3. Are there any other API fixes we should make?
-Blaise

--------------------------------------------------------------------- To unsubscribe from this mail list, you must leave the OASIS TC that generates this mail. Follow this link to all your TCs in OASIS at: https://www.oasis-open.org/apps/org/workgroup/portal/my_workgroups.php

SdoApiRefactorV2.zip



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