You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@beehive.apache.org by "James Song (JIRA)" <be...@incubator.apache.org> on 2005/06/03 20:53:57 UTC

[jira] Created: (BEEHIVE-793) declaring control membership constraint AT_LEAST_ONE and EXACTLY_ONE

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
 Assigned to: Hoi Lam 
    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