db-jdo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Craig L Russell <Craig.Russ...@Sun.COM>
Subject Re: Company model : concrete classes and use of "field-type"
Date Fri, 27 Jul 2007 15:12:44 GMT
Hi Andy,

On Jul 27, 2007, at 4:25 AM, Andy Jefferson wrote:

> Hi,
>
> I just looked through the company model and noted that the concrete  
> classes
> now have some fields marked with "field-type" in the XML (e.g
> Company.address). Why? The field has its own type so there is no  
> need to
> specify that. It is typically for use where a field is an interface  
> and so to
> define the implementation(s) that the field will accept. Is there a  
> reason
> for specifying it ?

Not that I know of.

Looking briefly, it looks like the only cases are for the embedded  
Address field. Is this what you are referring to?

Craig
>
>
> -- 
> Andy  (Java Persistent Objects - http://www.jpox.org)

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