db-jdo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bin Sun <sun2...@yahoo.com>
Subject Re: VOTE: Add ObjectIdentity to single field identity classes
Date Wed, 06 Jul 2005 02:23:51 GMT
[X] approve, and better adding a constructor using
String key, and standardizing the format for each
actual type.

--- Craig Russell <Craig.Russell@Sun.COM> wrote:

> 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!
> 
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Mime
View raw message