Package quickdb.annotations.model

Examples of quickdb.annotations.model.CollectionAnnotation


        model.setBirth(new java.sql.Date(104, 4, 20));
        model.setName("model name");
        model.setSalary(3000.5);
        model.setDescription("parent description");

        CollectionAnnotation c = new CollectionAnnotation();
        c.setItemName("item name");

        ArrayList ar = new ArrayList();
        ar.add(new CollectionAnnotation("item1"));
        ar.add(new CollectionAnnotation("item2"));
        ar.add(new CollectionAnnotation("item3"));

        model.setArray(ar);
        model.setCollec(c);

        System.out.println(admin.save(model));
View Full Code Here


        model.setBirth(new java.sql.Date(104, 4, 20));
        model.setName("model name");
        model.setSalary(3000.5);
        model.setDescription("parent description");

        CollectionAnnotation c = new CollectionAnnotation();
        c.setItemName("item name");

        ArrayList ar = new ArrayList();
        ar.add(new CollectionAnnotation("item1"));
        ar.add(new CollectionAnnotation("item2"));
        ar.add(new CollectionAnnotation("item3"));

        model.setArray(ar);
        model.setCollec(c);

        System.out.println((admin.saveGetIndex(model) > 0));
View Full Code Here

TOP

Related Classes of quickdb.annotations.model.CollectionAnnotation

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.