db-jdo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From an...@apache.org
Subject svn commit: r1558039 - in /db/jdo/trunk/api/src/java/javax/jdo/annotations: ForeignKey.java Index.java PrimaryKey.java Unique.java
Date Tue, 14 Jan 2014 14:11:05 GMT
Author: andyj
Date: Tue Jan 14 14:11:05 2014
New Revision: 1558039

URL: http://svn.apache.org/r1558039
Log:
[JDO-728] Apply patch adding extensions to Index, ForeignKey, Unique and PrimaryKey annotations

Modified:
    db/jdo/trunk/api/src/java/javax/jdo/annotations/ForeignKey.java
    db/jdo/trunk/api/src/java/javax/jdo/annotations/Index.java
    db/jdo/trunk/api/src/java/javax/jdo/annotations/PrimaryKey.java
    db/jdo/trunk/api/src/java/javax/jdo/annotations/Unique.java

Modified: db/jdo/trunk/api/src/java/javax/jdo/annotations/ForeignKey.java
URL: http://svn.apache.org/viewvc/db/jdo/trunk/api/src/java/javax/jdo/annotations/ForeignKey.java?rev=1558039&r1=1558038&r2=1558039&view=diff
==============================================================================
--- db/jdo/trunk/api/src/java/javax/jdo/annotations/ForeignKey.java (original)
+++ db/jdo/trunk/api/src/java/javax/jdo/annotations/ForeignKey.java Tue Jan 14 14:11:05 2014
@@ -73,4 +73,9 @@ public @interface ForeignKey
      * @return the columns that compose this foreign key
      */
     Column[] columns() default {};
+
+    /** Vendor extensions.
+     * @return the vendor extensions
+     */
+    Extension[] extensions() default {};
 }

Modified: db/jdo/trunk/api/src/java/javax/jdo/annotations/Index.java
URL: http://svn.apache.org/viewvc/db/jdo/trunk/api/src/java/javax/jdo/annotations/Index.java?rev=1558039&r1=1558038&r2=1558039&view=diff
==============================================================================
--- db/jdo/trunk/api/src/java/javax/jdo/annotations/Index.java (original)
+++ db/jdo/trunk/api/src/java/javax/jdo/annotations/Index.java Tue Jan 14 14:11:05 2014
@@ -58,4 +58,9 @@ public @interface Index
      * @return columns that compose this index
      */
     Column[] columns() default {};
+
+    /** Vendor extensions.
+     * @return the vendor extensions
+     */
+    Extension[] extensions() default {};
 }

Modified: db/jdo/trunk/api/src/java/javax/jdo/annotations/PrimaryKey.java
URL: http://svn.apache.org/viewvc/db/jdo/trunk/api/src/java/javax/jdo/annotations/PrimaryKey.java?rev=1558039&r1=1558038&r2=1558039&view=diff
==============================================================================
--- db/jdo/trunk/api/src/java/javax/jdo/annotations/PrimaryKey.java (original)
+++ db/jdo/trunk/api/src/java/javax/jdo/annotations/PrimaryKey.java Tue Jan 14 14:11:05 2014
@@ -51,4 +51,9 @@ public @interface PrimaryKey
      * @return the column(s) for the primary key
      */
     Column[] columns() default {};
+
+    /** Vendor extensions.
+     * @return the vendor extensions
+     */
+    Extension[] extensions() default {};
 }

Modified: db/jdo/trunk/api/src/java/javax/jdo/annotations/Unique.java
URL: http://svn.apache.org/viewvc/db/jdo/trunk/api/src/java/javax/jdo/annotations/Unique.java?rev=1558039&r1=1558038&r2=1558039&view=diff
==============================================================================
--- db/jdo/trunk/api/src/java/javax/jdo/annotations/Unique.java (original)
+++ db/jdo/trunk/api/src/java/javax/jdo/annotations/Unique.java Tue Jan 14 14:11:05 2014
@@ -60,4 +60,9 @@ public @interface Unique
      * @return columns that compose this unique constraint
      */
     Column[] columns() default {};
+
+    /** Vendor extensions.
+     * @return the vendor extensions
+     */
+    Extension[] extensions() default {};
 }



Mime
View raw message