|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@Retention(value=RUNTIME) @Inherited @Target(value=TYPE) public @interface Randomizable
An annotation that describes zero or more constraints for a class. If a class
is to be randomized, the class must be annotated with Randomizable. If the
value parameter is left unspecified it defaults to an empty array.
An empty array implies that the random variables in this class should be
randomized across their full range (i.e. unconstrained).
If there is more than one Constraint in the constraints array, each
Constraint must have a unique name. Duplicate names will result in a
RuntimeException the first time an instance of the annotated class
is passed to the Solver.
This annotation should be kept for runtime use.
This annotation should be inherited by classes derived from a class annotated
with Randomizable.
This annotation applies to class types.
| Optional Element Summary | |
|---|---|
Constraint[] |
value
An array of Constraint annotations used to randomize the class |
public abstract Constraint[] value
Constraint annotations used to randomize the class
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||