db-jdo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Bouschen <mbo.t...@spree.de>
Subject Re: VOTE: Add ObjectIdentity to single field identity classes
Date Thu, 07 Jul 2005 22:34:19 GMT
Hi Craig,

[x] approve

Regards Michael

> Javadogs,
>
> When specifying the single field identity classes, we overlooked the 
> case of a single field of type Date, Locale, Currency, BigInteger, etc.
>
> Rather than adding a new class for each such type, I propose that we 
> add a new single field identity class to cover all of these cases. 
>
> <proposed>
> public class ObjectIdentity
>     extends SingleFieldIdentity {
>     public Object getKey();
>     public ObjectIdentity(Class pcClass, Object key);
> }
> </proposed>
>
> [ ] approve
>
> [ ] disapprove. Why?
>
> Thanks,
>
> Craig
>
> Craig Russell
>
> Architect, Sun Java Enterprise System http://java.sun.com/products/jdo
>
> 408 276-5638 mailto:Craig.Russell@sun.com
>
> P.S. A good JDO? O, Gasp!
>
>


-- 
Michael Bouschen		Tech@Spree Engineering GmbH
mailto:mbo.tech@spree.de	http://www.tech.spree.de/
Tel.:++49/30/235 520-33		Buelowstr. 66			
Fax.:++49/30/2175 2012		D-10783 Berlin			


Mime
View raw message