You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by sv...@apache.org on 2007/02/13 06:20:49 UTC
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: tuscany-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-commits-help@ws.apache.org
Re: svn commit: r506862 - /incubator/tuscany/branches/sca-java-integration/spec/sca-api-r1.0/src/main/java/org/osoa/sca/annotations/Property.java
Posted by Venkata Krishnan <fo...@gmail.com>.
Hi Raymond,
Thanks for pointing this out. Will take care of this.
- Venkat
On 2/13/07, Raymond Feng <en...@gmail.com> wrote:
>
> 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: <sv...@apache.org>
> To: <tu...@ws.apache.org>
> 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: tuscany-commits-unsubscribe@ws.apache.org
> > For additional commands, e-mail: tuscany-commits-help@ws.apache.org
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: tuscany-dev-help@ws.apache.org
>
>
Re: svn commit: r506862 - /incubator/tuscany/branches/sca-java-integration/spec/sca-api-r1.0/src/main/java/org/osoa/sca/annotations/Property.java
Posted by Raymond Feng <en...@gmail.com>.
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: <sv...@apache.org>
To: <tu...@ws.apache.org>
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: tuscany-commits-unsubscribe@ws.apache.org
> For additional commands, e-mail: tuscany-commits-help@ws.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org