VOTE: Add ObjectIdentity to single field identity classes
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Apache Server configuration support > Apache JDO Project > VOTE: Add ObjectIdentity to single field identity classes




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    VOTE: Add ObjectIdentity to single field identity classes  
Craig Russell


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
07-05-05 10:45 PM






[ Post a follow-up to this message ]



    Re: VOTE: Add ObjectIdentity to single field identity classes  
Bin Sun


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
07-06-05 12:45 PM

[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






[ Post a follow-up to this message ]



    Re: VOTE: Add ObjectIdentity to single field identity classes  
Michael Bouschen


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
07-07-05 10:45 PM

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







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 10:57 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register