Package org.semanticweb.owlapitools.builders

Examples of org.semanticweb.owlapitools.builders.BuilderDisjointClasses.buildObject()


        BuilderDisjointClasses builder = new BuilderDisjointClasses(df)
                .withItem(ce).withItem(df.getOWLClass(iri));
        OWLObject expected = df.getOWLDisjointClassesAxiom(ce,
                df.getOWLClass(iri));
        // when
        OWLObject built = builder.buildObject();
        // then
        assertEquals(expected, built);
    }

    @Test
View Full Code Here


        OWLDisjointClassesAxiom expected = df.getOWLDisjointClassesAxiom(ce,
                df.getOWLClass(iri));
        BuilderDisjointClasses builder = new BuilderDisjointClasses(expected,
                df);
        // when
        OWLObject built = builder.buildObject();
        // then
        assertEquals(expected, built);
    }

    @Test
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.