|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@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 |
|---|
public abstract OneOf[] value
OneOf constraints which hold at the same time.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||