db-jdo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Craig Russell <Craig.Russ...@Sun.COM>
Subject VOTE: Add ObjectIdentity to single field identity classes
Date Tue, 05 Jul 2005 20:54:53 GMT
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!


Mime
View raw message