db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Armin Waibel" <ar...@code-au-lait.de>
Subject [VOTE] Rename of PB#getExtentClass/DescriptorRepository#getExtentClass
Date Sat, 04 Jan 2003 09:42:46 GMT
Hi all,

I suggest to deprecate and replace the
DescriptorRepository#getExtentClass(Class clazz)
PB#getExtentClass(Class clazz)
methods.

Both method return, if the given class was an extent,
the (abstract) base class/interface of the given extent or
the class itself, if given class was not an extent.
This method never return a extent class. Thus I want to
deprecate this method and add a new one.
Or did I misunderstood the definition of a extent class?

My suggestion is 'getTopLevelClass(Class c)' or
'getTopLevel(Class c)'.
Other suggestions?
Comments?

regards,
Armin


Mime
View raw message