[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: RE: [sdo] ISSUE 27: Add generics to API
Hi Everyone, If we give up on the HelperContext<DataObject> approach,
at least for now, then I thing the least painful approach is to separate the
get<T> and set<T> methods into a superinterface, say OldDataObjectAccessors,
and have DataObject inherit from that. This at least gives us reasonable
looking JavaDoc, even if it doesn’t help during code completion. I will argue that we should then deprecate the
OldDataObjectAccessor class, even if it is odd to create something and
deprecate it in the same release. I know that users will experience a lot of yellow
lines, but that’s simply reflecting the reality that they are using methods for
which a better alternative now exists, and they should migrate. If there’s agreement with the approach, I will generate the
interfaces before next week’s call. Best Regards, Ron From: Blaise Doughan
[mailto:blaise.doughan@oracle.com] Hello all, I will not be able to attend today's call. I prototyped the use generics
to carve out a new "DataObject" class. The result was many
"raw" class warnings and some duplicate methods. At this point
I suggest we consider other approaches to refine the DataObject interface. -Blaise
|
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]