From 78d9f3ecbd9203a5ad63138037960e265509efba Mon Sep 17 00:00:00 2001 From: James Moger Date: Fri, 12 Aug 2011 13:04:29 -0400 Subject: Full primitives support. --- tests/com/iciql/test/models/PrimitivesModel.java | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'tests/com/iciql/test/models/PrimitivesModel.java') diff --git a/tests/com/iciql/test/models/PrimitivesModel.java b/tests/com/iciql/test/models/PrimitivesModel.java index 2d1a7da..07c1611 100644 --- a/tests/com/iciql/test/models/PrimitivesModel.java +++ b/tests/com/iciql/test/models/PrimitivesModel.java @@ -15,6 +15,8 @@ */ package com.iciql.test.models; +import java.util.ArrayList; +import java.util.List; import java.util.Random; import com.iciql.Iciql.IQColumn; @@ -69,4 +71,19 @@ public class PrimitivesModel { same &= myFloat == p.myFloat; return same; } + + public static List getList() { + List list = new ArrayList(); + for (int i = 1; i <= 10; i++) { + PrimitivesModel p = new PrimitivesModel(); + p.myLong = i; + list.add(p); + } + return list; + } + + @Override + public String toString() { + return String.valueOf(myLong); + } } -- cgit v1.2.3