You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by jb...@apache.org on 2007/02/25 21:15:34 UTC
svn commit: r511589 -
/incubator/tuscany/java/spec/sca-api-r1.0/src/main/java/org/osoa/sca/annotations/Reference.java
Author: jboynes
Date: Sun Feb 25 12:15:33 2007
New Revision: 511589
URL: http://svn.apache.org/viewvc?view=rev&rev=511589
Log:
fix Javadoc warnings
Modified:
incubator/tuscany/java/spec/sca-api-r1.0/src/main/java/org/osoa/sca/annotations/Reference.java
Modified: incubator/tuscany/java/spec/sca-api-r1.0/src/main/java/org/osoa/sca/annotations/Reference.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/spec/sca-api-r1.0/src/main/java/org/osoa/sca/annotations/Reference.java?view=diff&rev=511589&r1=511588&r2=511589
==============================================================================
--- incubator/tuscany/java/spec/sca-api-r1.0/src/main/java/org/osoa/sca/annotations/Reference.java (original)
+++ incubator/tuscany/java/spec/sca-api-r1.0/src/main/java/org/osoa/sca/annotations/Reference.java Sun Feb 25 12:15:33 2007
@@ -34,12 +34,16 @@
@Retention(RUNTIME)
public @interface Reference {
/**
- * The name of the reference. If not specified then the name will be derived from the annotated field.
+ * The name of the reference. If not specified then the name will be derived from the annotated field or method.
+ *
+ * @return the name of the reference
*/
public String name() default "";
/**
* Indicates if a reference must be specified.
+ *
+ * @return true if a reference must be specified
*/
public boolean required() default false;
}
---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-commits-help@ws.apache.org