Demodatabean, The bean, Constructor summary – MiG InfoCom MiG Calendar JavaBeans User Manual
Page 154: Method summary, Com.miginfocom.beans class demodatabean
![background image](https://www.manualsdir.com/files/798675/content/doc154.png)
com.miginfocom.beans
Class DemoDataBean
java.lang.Object
|
+-Category
|
+-com.miginfocom.beans.DemoDataBean
public class DemoDataBean
extends Category
implements Serializable
A JavaBean that can be used to create some random demo activities.
This class should only be used to test activity handling. Performance is sub-par for anything else since the demo data will be
recreated for every setXxx method called.
The algorithm start from the earliest time (set in the propertis of this class) and the randomizing values (normally between some
min/max value) for all properties of the activity until the end time is reached.
All Implemented Interfaces:
Serializable
See Also:
createActivities(com.miginfocom.util.dates.DateRangeI, String[], String[], Object[],
Object[][], int, int, int, int, int, int)
Constructor Summary
public
()
Method Summary
void
This method will create the demo data.
ImmutableDateRange
()
Property: The date range that the demo data will be created for.
String
()
Property: A comma separated list of main categories that all activities will get one (random)
of.
String
Property: The context used to get the depository to put all generated demo activities in.
String
Property: A comma separated list with special chars of main categories that will be created
in the
com.miginfocom.calendar.category.CategoryDepository
.
String
Property: A comma separated list of description texts that will randomly be selected from
for every created activity.
int
Property: The maximum minutes that should pass between two generated activities.
Page 154 of 196
com.miginfocom.beans.DemoDataBean