Package cat.quickdb.complexmodel

Examples of cat.quickdb.complexmodel.Reference


        Assert.assertTrue(value);
    }

    @Test
    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


        Assert.assertEquals(p.getDescription(), "this is a test for parent");
    }

    @Test
    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

        Assert.assertEquals(p.getDescription(), "testing5");
    }

    @Test
    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

        Assert.assertEquals(s.getDescription(), "parent description");
    }

    @Test
    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 cat.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.