|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@Retention(value=RUNTIME) @Target(value=ANNOTATION_TYPE) public @interface Constraint
An annotation that describes a list of constraints to be used when randomizing
a class. The expr parameter is not optional. The name
parameter is optional and defaults to the empty string.
| Required Element Summary | |
|---|---|
String |
expr
The constraint expression(s). |
| Optional Element Summary | |
|---|---|
String |
name
The name of the constraint. |
| Element Detail |
|---|
public abstract String expr
public abstract String name
name is optional and defaults to
the empty string.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||