Package quickdb.primitiveCollection.model

Examples of quickdb.primitiveCollection.model.StringPrimitive


        System.out.println(7 == prim.getFloats().size());
    }

    public void testStringCollection(){
        StringPrimitive primitive = new StringPrimitive();
        primitive.setType("string");
        ArrayList strings = new ArrayList();
        strings.add("strings1");
        strings.add("strings2");
        strings.add("strings3");
        strings.add("strings4");
        strings.add("strings5");
        strings.add("strings6");
        strings.add("strings7");
        primitive.setStrings(strings);

        admin.save(primitive);

        StringPrimitive prim = new StringPrimitive();
        admin.obtain(prim, "type = 'string'");

        System.out.println(7 == prim.getStrings().size());
    }
View Full Code Here

TOP

Related Classes of quickdb.primitiveCollection.model.StringPrimitive

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.