be.ugent.twijug.jclops.annotations
Annotation Type AtMostOneOfList


@Retention(value=RUNTIME)
@Target(value=TYPE)
public @interface AtMostOneOfList

Bundles a set of @AtMostOneOf annotations. When more than one constraint of type @AtMostOneOf is needed, they should be gathered in an annotation of this type.

Example:

 @AtMostOneOfList ({
     @AtMostOneOf ({ "small", "smaller", "large", "larger" }),
     @AtMostOneOf ({ "verbose", "quiet" }) 
 })
 public void ContextClass {
     ...
 }
 


Required Element Summary
 AtMostOneOf[] value
           
 

Element Detail

value

public abstract AtMostOneOf[] value