db-jdo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From c..@apache.org
Subject svn commit: r548862 - in /db/jdo/trunk/api2/src/java/javax/jdo/annotations: Embedded.java EmbeddedOnly.java Extension.java Extensions.java
Date Tue, 19 Jun 2007 21:57:35 GMT
Author: clr
Date: Tue Jun 19 14:57:34 2007
New Revision: 548862

URL: http://svn.apache.org/viewvc?view=rev&rev=548862
Log:
Formatting changes.

Modified:
    db/jdo/trunk/api2/src/java/javax/jdo/annotations/Embedded.java
    db/jdo/trunk/api2/src/java/javax/jdo/annotations/EmbeddedOnly.java
    db/jdo/trunk/api2/src/java/javax/jdo/annotations/Extension.java
    db/jdo/trunk/api2/src/java/javax/jdo/annotations/Extensions.java

Modified: db/jdo/trunk/api2/src/java/javax/jdo/annotations/Embedded.java
URL: http://svn.apache.org/viewvc/db/jdo/trunk/api2/src/java/javax/jdo/annotations/Embedded.java?view=diff&rev=548862&r1=548861&r2=548862
==============================================================================
--- db/jdo/trunk/api2/src/java/javax/jdo/annotations/Embedded.java (original)
+++ db/jdo/trunk/api2/src/java/javax/jdo/annotations/Embedded.java Tue Jun 19 14:57:34 2007
@@ -22,24 +22,35 @@
 import java.lang.annotation.Target;
 
 /**
- * Annotation to define that the object is embedded into the table of the owning object.
+ * Annotation to define that the object is embedded into the table of the 
+ * owning object.
  * Maps across to the JDO2 element "embedded".
  * 
  * @version 2.1
  * @since 2.1
  */
-@Target({ElementType.FIELD, ElementType.METHOD}) @Retention(RetentionPolicy.RUNTIME)
+@Target({ElementType.FIELD, ElementType.METHOD}) 
+@Retention(RetentionPolicy.RUNTIME)
 public @interface Embedded
 {
-    /** The field in the embedded object that links back to the owning object (where it has
a bidirectional relation). */
+    /** The field in the embedded object that links back to the owning object
+     * where it has a bidirectional relationship. 
+     * @return the field that refers to the owner
+     */
     String ownerField() default "";
 
-    /** The column in the embedded object used to judge if the embedded object is null. */
+    /** The column in the embedded object used to judge if the embedded object
+     * is null. 
+     * @return the null indicator column
+     */
     String nullIndicatorColumn() default "";
 
-    /** The value in the null column to interpret the object as being null. */
+    /** The value in the null column to interpret the object as being null.
+     * @return the null indicator value
+     */
     String nullIndicatorValue() default "";
 
-    /** Field definitions for this embedding. */
+    /** Field definitions for this embedding. 
+     */
     Field[] fields() default {};
 }

Modified: db/jdo/trunk/api2/src/java/javax/jdo/annotations/EmbeddedOnly.java
URL: http://svn.apache.org/viewvc/db/jdo/trunk/api2/src/java/javax/jdo/annotations/EmbeddedOnly.java?view=diff&rev=548862&r1=548861&r2=548862
==============================================================================
--- db/jdo/trunk/api2/src/java/javax/jdo/annotations/EmbeddedOnly.java (original)
+++ db/jdo/trunk/api2/src/java/javax/jdo/annotations/EmbeddedOnly.java Tue Jun 19 14:57:34
2007
@@ -22,13 +22,15 @@
 import java.lang.annotation.Target;
 
 /**
- * Annotation for whether the class is only for persisting embedded into another object.
+ * Annotation for whether the class is only for persisting embedded into 
+ * another object.
  * Same as specifying @PersistenceCapable(embeddedOnly="true").
  * 
  * @version 2.1
  * @since 2.1
  */
-@Target(ElementType.TYPE) @Retention(RetentionPolicy.RUNTIME)
+@Target(ElementType.TYPE) 
+@Retention(RetentionPolicy.RUNTIME)
 public @interface EmbeddedOnly
 {
 }

Modified: db/jdo/trunk/api2/src/java/javax/jdo/annotations/Extension.java
URL: http://svn.apache.org/viewvc/db/jdo/trunk/api2/src/java/javax/jdo/annotations/Extension.java?view=diff&rev=548862&r1=548861&r2=548862
==============================================================================
--- db/jdo/trunk/api2/src/java/javax/jdo/annotations/Extension.java (original)
+++ db/jdo/trunk/api2/src/java/javax/jdo/annotations/Extension.java Tue Jun 19 14:57:34 2007
@@ -28,15 +28,22 @@
  * @version 2.1
  * @since 2.1
  */
-@Target({ElementType.TYPE, ElementType.FIELD, ElementType.METHOD}) @Retention(RetentionPolicy.RUNTIME)
+@Target({ElementType.TYPE, ElementType.FIELD, ElementType.METHOD}) 
+@Retention(RetentionPolicy.RUNTIME)
 public @interface Extension
 {
-    /** Vendor that the extension applies to */
+    /** Vendor that the extension applies to.
+     * @return the vendor
+     */
     String vendorName();
 
-    /** The key for the extension. */
+    /** The key for the extension. 
+     * @return the key
+     */
     String key();
 
-    /** The value for the extension. */
+    /** The value for the extension. 
+     * @return the value
+     */
     String value();
 }

Modified: db/jdo/trunk/api2/src/java/javax/jdo/annotations/Extensions.java
URL: http://svn.apache.org/viewvc/db/jdo/trunk/api2/src/java/javax/jdo/annotations/Extensions.java?view=diff&rev=548862&r1=548861&r2=548862
==============================================================================
--- db/jdo/trunk/api2/src/java/javax/jdo/annotations/Extensions.java (original)
+++ db/jdo/trunk/api2/src/java/javax/jdo/annotations/Extensions.java Tue Jun 19 14:57:34 2007
@@ -27,7 +27,8 @@
  * @version 2.1
  * @since 2.1
  */
-@Target({ElementType.TYPE, ElementType.FIELD, ElementType.METHOD}) @Retention(RetentionPolicy.RUNTIME)
+@Target({ElementType.TYPE, ElementType.FIELD, ElementType.METHOD}) 
+@Retention(RetentionPolicy.RUNTIME)
 public @interface Extensions
 {
     /**



Mime
View raw message