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 Re: [Fwd: Question about JIRA JDO 54]
Date Thu, 16 Jun 2005 20:53:00 GMT
Hi Michael,

I need to update this JIRA item. I got a lot of negative feedback  
from JDO experts on changing this so it isn't going to happen.

Thanks for pointing this out.

Craig

On Jun 15, 2005, at 6:14 PM, Michelle Caisse wrote:

> -------- Original Message --------
> Subject:	Question about JIRA JDO 54
> Date:	Wed, 15 Jun 2005 19:03:17 +0200
> From:	Michael Watzek <mwa.tech@spree.de>
> Reply-To:	jdo-dev@db.apache.org
> Organization:	Tech@Spree GmbH
> To:	jdo-dev@db.apache.org
>
>
> Hi Craig, Michelle
>
> JIRA JDO-54 requests that "in order to test metadata for  
> interfaces, we
> need to complete the Company model interfaces that was begun with
> ICompany.java. All company classes should implement a corresponding
> interface."
>
> If we want the getter/setter methods to return/take interface types,
> then we would also have to use interface types for the types of  
> fields,
> e.g.
>
> public class Company
>     implements Serializable, Comparable, DeepEquality, ICompany {
> ...
>     private IAddress     address;
> ...
>     public IAddress getAddress() {
>         return address;
>     }
> ...
>     public void setAddress(IAddress address) {
>         this.address = address;
>     }
> ...
> }
>
> In this case the metadata of JDO and ORM would also have to be  
> adapted,
> right?
>
> Regards,
> Michael

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