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


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

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

Example:

 @OneOfList ({
     @OneOf ({ "light", "dark" }),
     @OneOf ({ "red", "green", "blue" }) 
 })
 public void ContextClass {
     ...
 }
 


Required Element Summary
 OneOf[] value
          Set of OneOf constraints which hold at the same time.
 

Element Detail

value

public abstract OneOf[] value
Set of OneOf constraints which hold at the same time.