[ http://issues.apache.org/jira/browse/BEEHIVE-793?page=all ] Jeremiah Johnson closed BEEHIVE-793: ------------------------------------
Closing based on comments from Matt. Thank you. > 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: Jeremiah Johnson > 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
