public SimpleListDataProvider() {
super(TestVO.class);
Random rnd = new Random();
for(int i = 0; i < 100; i++) {
TestVO test1 = new TestVO();
test1.setId(new Long(1 + i));
test1.setBooleanValue(Boolean.TRUE);
test1.setStringValue("Strange");
test1.setLongValue(new Long(rnd.nextLong() % 100));
data.add(test1);
TestVO test2 = new TestVO();
test2.setId(new Long(2 + i));
test2.setBooleanValue(Boolean.TRUE);
test2.setStringValue("Peculiar");
test2.setLongValue(new Long(rnd.nextLong() % 100));
data.add(test2);
TestVO test3 = new TestVO();
test3.setId(new Long(3 + i));
test3.setBooleanValue(Boolean.FALSE);
test3.setStringValue("Queer");
test3.setLongValue(new Long(rnd.nextLong() % 100));
data.add(test3);
}
}