beehive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Song (JIRA)" <beehive-...@incubator.apache.org>
Subject [jira] Closed: (BEEHIVE-210) control property constraint .MembershipRule.ALL_IF_ANY
Date Fri, 17 Jun 2005 23:34:17 GMT
     [ http://issues.apache.org/jira/browse/BEEHIVE-210?page=all ]
     
James Song closed BEEHIVE-210:
------------------------------


Not a valid test.

> control property constraint .MembershipRule.ALL_IF_ANY
> ------------------------------------------------------
>
>          Key: BEEHIVE-210
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-210
>      Project: Beehive
>         Type: Bug
>   Components: Controls
>     Versions: V1Beta
>     Reporter: James Song
>     Assignee: James Song
>      Fix For: V1Beta

>
> AnnotationConstraints.MembershipRule(AnnotationConstraints.MembershipRuleValues.ALL_IF_ANY)
does not work.
> Test control:org.apache.beehive.controls.test.controls.property.constraint.PersonControl;
> For code:
>     @AnnotationConstraints.MembershipRule(AnnotationConstraints.MembershipRuleValues.ALL_IF_ANY)
> public @interface Address
> {
>         @AnnotationMemberTypes.Text(maxLength=8)
>         public String street() default "";
>         @AnnotationMemberTypes.Text(maxLength=8)
>         public String city() default "";
>         @AnnotationMemberTypes.Text(maxLength=8)
>         public String province();
>         //public String province() default "";
>         //Test ALL_IF_ANY
>         @AnnotationMemberTypes.Int(minValue=0, maxValue=100000)
>         public int zipcode() default 0;
> }
> province has no default value.
> There is no compile/build error.
> Runtime value for province is null.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message