Package org.araneaframework.example.main.business.util

Examples of org.araneaframework.example.main.business.util.TestVO


    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);
      }     
    }   
View Full Code Here

TOP

Related Classes of org.araneaframework.example.main.business.util.TestVO

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.