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 DISCUSS remove @Field and @Property; add @Persistent
Date Wed, 18 Jul 2007 19:31:46 GMT
In many places in annotations, we have @Field and @Property used  
interchangeably. There are still a few places where we have fields()  
but not properties().

It might be a good time (as we're almost done with this) to replace  
@Field and @Property with @Persistent. That would make it easier to  
describe that either a field or property is being described.

The down side might be describing multiples, where we have e.g. Field 
[ ] fields() default { } that would become Persistent[ ] persistent()  
{ } or Persistent[ ] persistents() { }

I think simplifying would be good now. Are there other places we have  
forgotten to include Property?

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