Hi,

It seems that the property has a different attribute name in the assembly model than the java C&I spec.

Assembly: noDefault="true"
Java C&I: @Property(required=true)

Thanks,
Raymond

----- Original Message ----- From: <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Monday, February 12, 2007 9:20 PM
Subject: svn commit: r506862 - /incubator/tuscany/branches/sca-java-integration/spec/sca-api-r1.0/src/main/java/org/osoa/sca/annotations/Property.java


Author: svkrish
Date: Mon Feb 12 21:20:46 2007
New Revision: 506862

URL: http://svn.apache.org/viewvc?view=rev&rev=506862
Log:
Removed 'override' and included 'noDefault' for Property

Modified:

incubator/tuscany/branches/sca-java-integration/spec/sca-api-r1.0/src/main/java/org/osoa/sca/annotations/Property.java

Modified: incubator/tuscany/branches/sca-java-integration/spec/sca-api-r1.0/src/main/java/org/osoa/sca/annotations/Property.java URL: http://svn.apache.org/viewvc/incubator/tuscany/branches/sca-java-integration/spec/sca-api-r1.0/src/main/java/org/osoa/sca/annotations/Property.java?view=diff&rev=506862&r1=506861&r2=506862
==============================================================================
--- incubator/tuscany/branches/sca-java-integration/spec/sca-api-r1.0/src/main/java/org/osoa/sca/annotations/Property.java (original) +++ incubator/tuscany/branches/sca-java-integration/spec/sca-api-r1.0/src/main/java/org/osoa/sca/annotations/Property.java Mon Feb 12 21:20:46 2007
@@ -41,9 +41,9 @@
    public String name() default "";

    /**
-     * Indicates if a value must be specified.
+     * Indicates if property can have a default value
     */
-    public String override() default "may";
+    public String noDefault() default "false";

    /**
     * The XML Type in a QName format



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to