org.springframework.roo.addon.dod
Annotation Type RooDataOnDemand
@Retention(value=SOURCE)
@Target(value=TYPE)
public @interface RooDataOnDemand
Indicates to produce a "data on demand" class, which is required for automated integration testing.
- Since:
- 1.0
- Author:
- Ben Alex
entity
public abstract Class<?> entity
- Returns:
- the type of class that will have data on demand created (required; must offer entity services)
quantity
public abstract int quantity
- Returns:
- the number of entities to create (required; defaults to 10)
- Default:
- 10
Copyright © 2011. All Rights Reserved.