You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jdo-commits@db.apache.org by cl...@apache.org on 2007/07/26 19:44:08 UTC
svn commit: r559902 - in /db/jdo/trunk/api2/src/java/javax/jdo/annotations:
Element.java Key.java Persistent.java Value.java
Author: clr
Date: Thu Jul 26 10:44:07 2007
New Revision: 559902
URL: http://svn.apache.org/viewvc?view=rev&rev=559902
Log:
JDO-510 Changed boundTypes to types for @Persistent, @Element, @Key, and @Value
Modified:
db/jdo/trunk/api2/src/java/javax/jdo/annotations/Element.java
db/jdo/trunk/api2/src/java/javax/jdo/annotations/Key.java
db/jdo/trunk/api2/src/java/javax/jdo/annotations/Persistent.java
db/jdo/trunk/api2/src/java/javax/jdo/annotations/Value.java
Modified: db/jdo/trunk/api2/src/java/javax/jdo/annotations/Element.java
URL: http://svn.apache.org/viewvc/db/jdo/trunk/api2/src/java/javax/jdo/annotations/Element.java?view=diff&rev=559902&r1=559901&r2=559902
==============================================================================
--- db/jdo/trunk/api2/src/java/javax/jdo/annotations/Element.java (original)
+++ db/jdo/trunk/api2/src/java/javax/jdo/annotations/Element.java Thu Jul 26 10:44:07 2007
@@ -39,7 +39,7 @@
* implementation supports multiple types.
* @return the types of elements
*/
- Class[] boundTypes() default {};
+ Class[] types() default {};
/**
* Whether the element is to be stored serialized (into a join table)
Modified: db/jdo/trunk/api2/src/java/javax/jdo/annotations/Key.java
URL: http://svn.apache.org/viewvc/db/jdo/trunk/api2/src/java/javax/jdo/annotations/Key.java?view=diff&rev=559902&r1=559901&r2=559902
==============================================================================
--- db/jdo/trunk/api2/src/java/javax/jdo/annotations/Key.java (original)
+++ db/jdo/trunk/api2/src/java/javax/jdo/annotations/Key.java Thu Jul 26 10:44:07 2007
@@ -39,7 +39,7 @@
* implementation supports multiple types.
* @return the types of keys
*/
- Class[] boundTypes() default {};
+ Class[] types() default {};
/**
* Whether the key is to be stored serialized (into a single column of a
Modified: db/jdo/trunk/api2/src/java/javax/jdo/annotations/Persistent.java
URL: http://svn.apache.org/viewvc/db/jdo/trunk/api2/src/java/javax/jdo/annotations/Persistent.java?view=diff&rev=559902&r1=559901&r2=559902
==============================================================================
--- db/jdo/trunk/api2/src/java/javax/jdo/annotations/Persistent.java (original)
+++ db/jdo/trunk/api2/src/java/javax/jdo/annotations/Persistent.java Thu Jul 26 10:44:07 2007
@@ -145,14 +145,14 @@
*/
String loadFetchGroup() default "";
- /** Bound types of the member. Used when the declared
+ /** Types of the member. Used when the declared
* member type is a supertype of the actual type that is stored in the
* member. For example, the declared member type might be an interface type
* that must contain an object of a concrete type when used
* for persistence.
- * @return the bound types
+ * @return the types
*/
- Class[] boundTypes() default {};
+ Class[] types() default {};
/** Name of the related member in the other class
* where this value is mapped (bidirectional relationship).
Modified: db/jdo/trunk/api2/src/java/javax/jdo/annotations/Value.java
URL: http://svn.apache.org/viewvc/db/jdo/trunk/api2/src/java/javax/jdo/annotations/Value.java?view=diff&rev=559902&r1=559901&r2=559902
==============================================================================
--- db/jdo/trunk/api2/src/java/javax/jdo/annotations/Value.java (original)
+++ db/jdo/trunk/api2/src/java/javax/jdo/annotations/Value.java Thu Jul 26 10:44:07 2007
@@ -38,7 +38,7 @@
* implementation supports multiple types.
* @return the types of values
*/
- Class[] boundTypes() default {};
+ Class[] types() default {};
/**
* Whether the value is to be stored serialized (into a single column of a