Package javax.jcr.query.qom

Examples of javax.jcr.query.qom.DescendantNodeJoinCondition


                f.descendantNode(null, "p").toString());
    }

    @Test
    public void descendantNodeJoinCondition() throws RepositoryException {
        DescendantNodeJoinCondition d = f.descendantNodeJoinCondition("descendantSelectorName",
                "ancestorSelectorName");
        assertEquals("descendantSelectorName", d.getDescendantSelectorName());
        assertEquals("ancestorSelectorName", d.getAncestorSelectorName());
        assertEquals("ISDESCENDANTNODE([descendantSelectorName], [ancestorSelectorName])",
                d.toString());
    }
View Full Code Here


        assertEquals("path", d.getAncestorPath());
    }

    @Test
    public void descendantNodeJoinCondition() throws RepositoryException {
        DescendantNodeJoinCondition d = f.descendantNodeJoinCondition("descendantSelectorName",
                "ancestorSelectorName");
        assertEquals("descendantSelectorName", d.getDescendantSelectorName());
        assertEquals("ancestorSelectorName", d.getAncestorSelectorName());
    }
View Full Code Here

TOP

Related Classes of javax.jcr.query.qom.DescendantNodeJoinCondition

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.