[
http://issues.apache.org/jira/browse/BEEHIVE-793?page=comments#action_12375144
]
matt c commented on BEEHIVE-793:
--------------------------------
It appears that the above entry no longer exists in the doc, and so this bug
may be closed. The following entry does exist in the doc:
@PropertySet
@Target ({ElementType.FIELD, ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@AnnotationConstraints.MembershipRule(
AnnotationConstraints.MembershipRuleValues.ALL_IF_ANY)
public @interface Intro
{
@AnnotationMemberTypes.Text(maxLength=10)
public String title();
@AnnotationMemberTypes.Text(maxLength=10)
public String subject();
@AnnotationMemberTypes.Text(maxLength=200)
public String content();
}
This bug may be closed.
> 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