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 174: Use of variable length argument list in JavaHelper.defineAPI


Looking more at this proposal adding a variable length argument does not match up well with the return type (Type) of this method.

-Blaise

Barack, Ron wrote:
1BC7B594EE497146B0CFF2F493B6823407A8D7C451@DEWDFECCR02.wdf.sap.corp" type="cite">

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

 

Von: Blaise Doughan [mailto:blaise.doughan@oracle.com]
Gesendet: Donnerstag, 5. August 2010 19:24
An: sdo@lists.oasis-open.org
Betreff: [sdo] Change Proposal for JavaHelper.define API

 

Hello All,

I would like to propose a change to the JavaHelper API:

Change:    Type define(Class<?> type)
To:  Type define(Class<?>... type)

The "..." will allow a user to do the following:

  • javaHelper.define(Customer.class);
  • javaHelper.define(Customer.class, Address.class);
  • javaHelper.define(Customer.class, Address.class, PhoneNumber.class);

-Blaise



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