Package quickdb.complexmodel

Examples of quickdb.complexmodel.Reference


        boolean value = admin.save(single);
        System.out.println(value);
    }

    public void testQuerySystemSimpleCondition(){
        Reference ref = new Reference();
        ref.setValue("housemd");

        Parent parent = new Parent();
        parent.setDescription("this is a test for parent");
        parent.setReference(ref);
View Full Code Here


        System.out.println(p.getReference().getValue().equalsIgnoreCase("housemd"));
        System.out.println(p.getDescription().equalsIgnoreCase("this is a test for parent"));
    }

    public void testQuerySystemComplexCondition(){
        Reference ref = new Reference();
        ref.setValue("house md");

        Parent parent = new Parent();
        parent.setDescription("testing5");
        parent.setReference(ref);
View Full Code Here

        System.out.println(p.getReference().getValue().equalsIgnoreCase("house md"));
        System.out.println(p.getDescription().equalsIgnoreCase("testing5"));
    }

    public void testQuerySystemWithInheritance(){
        Reference ref = new Reference();
        ref.setValue("house");

        Son son = new Son();
        son.setData("data from son");
        son.setSonName("child");
        son.setDescription("parent description");
View Full Code Here

        System.out.println(s.getReference().getValue().equalsIgnoreCase("house"));
        System.out.println(s.getDescription().equalsIgnoreCase("parent description"));
    }

    public void testObtainJoin(){
        Reference ref = new Reference();
        ref.setValue("house");

        Son son = new Son();
        son.setData("data from son");
        son.setSonName("child");
        son.setDescription("parent description");
View Full Code Here

TOP

Related Classes of quickdb.complexmodel.Reference

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.