beehive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chad Schoettger (JIRA)" <...@beehive.apache.org>
Subject [jira] Resolved: (BEEHIVE-793) declaring control membership constraint AT_LEAST_ONE and EXACTLY_ONE
Date Tue, 11 Oct 2005 20:17:16 GMT
     [ http://issues.apache.org/jira/browse/BEEHIVE-793?page=all ]
     
Chad Schoettger resolved BEEHIVE-793:
-------------------------------------

    Resolution: Won't Fix
     Assign To: James Song  (was: Chad Schoettger)

After checking on the dev list it appears that there was some inconsistant documentation which
implied that this should work.  The doc has been cleaned up and doesn't imply that this is
a bug any longer.

> declaring control membership constraint AT_LEAST_ONE and EXACTLY_ONE
> --------------------------------------------------------------------
>
>          Key: BEEHIVE-793
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-793
>      Project: Beehive
>         Type: Improvement
>   Components: Controls
>     Reporter: James Song
>     Assignee: James Song
>     Priority: Minor

>
> 	@PropertySet
>     @Target ({ElementType.FIELD, ElementType.TYPE})
>     @Retention(RetentionPolicy.RUNTIME)
>     @AnnotationConstraints.MembershipRule(AnnotationConstraints.MembershipRuleValues.AT_LEAST_ONE)
>     public @interface Material
>     {
> 		/*
>         public Object paper;
>         public Object cover;
>         */
> 	}
> This should cause a compile error when building the control, rather than compiling the
control client.

-- 
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