Package quickdb.complexDataStructure.model

Examples of quickdb.complexDataStructure.model.Customer


        buys.add(buy2);
        buys.add(buy3);

        AddressComplex address = new AddressComplex("unnamed street", 123);

        Customer customer = new Customer("Diego", "Sarmentero",
                "diego.sarmentero@gmail.com", address, buys);

        System.out.println(admin.save(customer));

        Customer customer2 = new Customer();
        admin.obtain(customer2).If("name").equal("Diego").find();

        System.out.println(customer2.getEmail().equals("diego.sarmentero@gmail.com"));
        System.out.println(customer2.getBuy().size() > 2);
        System.out.println(((Buy)customer2.getBuy().get(0)).getCodes().size() > 1);
    }
View Full Code Here

TOP

Related Classes of quickdb.complexDataStructure.model.Customer

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.