Package org.semanticweb.owlapi.model

Examples of org.semanticweb.owlapi.model.OWLObject


                .getOWLNegativeObjectPropertyAssertionAxiom(op, i, i,
                        annotations);
        BuilderNegativeObjectPropertyAssertion builder = new BuilderNegativeObjectPropertyAssertion(
                expected, df);
        // when
        OWLObject built = builder.buildObject();
        // then
        assertEquals(expected, built);
    }
View Full Code Here


        // given
        OWLObjectAllValuesFrom expected = df.getOWLObjectAllValuesFrom(op, ce);
        BuilderObjectAllValuesFrom builder = new BuilderObjectAllValuesFrom(
                expected, df);
        // when
        OWLObject built = builder.buildObject();
        // then
        assertEquals(expected, built);
    }
View Full Code Here

        OWLObjectExactCardinality expected = df.getOWLObjectExactCardinality(1,
                op, ce);
        BuilderObjectExactCardinality builder = new BuilderObjectExactCardinality(
                expected, df);
        // when
        OWLObject built = builder.buildObject();
        // then
        assertEquals(expected, built);
    }
View Full Code Here

    public void shouldBuildObjectHasSelf() {
        // given
        OWLObjectHasSelf expected = df.getOWLObjectHasSelf(op);
        BuilderObjectHasSelf builder = new BuilderObjectHasSelf(expected, df);
        // when
        OWLObject built = builder.buildObject();
        // then
        assertEquals(expected, built);
    }
View Full Code Here

    public void shouldBuildObjectHasValue() {
        // given
        OWLObjectHasValue expected = df.getOWLObjectHasValue(op, i);
        BuilderObjectHasValue builder = new BuilderObjectHasValue(expected, df);
        // when
        OWLObject built = builder.buildObject();
        // then
        assertEquals(expected, built);
    }
View Full Code Here

        OWLObjectIntersectionOf expected = df
                .getOWLObjectIntersectionOf(classes);
        BuilderObjectIntersectionOf builder = new BuilderObjectIntersectionOf(
                expected, df);
        // when
        OWLObject built = builder.buildObject();
        // then
        assertEquals(expected, built);
    }
View Full Code Here

        // given
        OWLObjectInverseOf expected = df.getOWLObjectInverseOf(op);
        BuilderObjectInverseOf builder = new BuilderObjectInverseOf(expected,
                df);
        // when
        OWLObject built = builder.buildObject();
        // then
        assertEquals(expected, built);
    }
View Full Code Here

        OWLObjectMaxCardinality expected = df.getOWLObjectMaxCardinality(1, op,
                ce);
        BuilderObjectMaxCardinality builder = new BuilderObjectMaxCardinality(
                expected, df);
        // when
        OWLObject built = builder.buildObject();
        // then
        assertEquals(expected, built);
    }
View Full Code Here

        OWLObjectMinCardinality expected = df.getOWLObjectMinCardinality(1, op,
                ce);
        BuilderObjectMinCardinality builder = new BuilderObjectMinCardinality(
                expected, df);
        // when
        OWLObject built = builder.buildObject();
        // then
        assertEquals(expected, built);
    }
View Full Code Here

    public void shouldBuildObjectProperty() {
        // given
        OWLObjectProperty expected = df.getOWLObjectProperty(iri);
        BuilderObjectProperty builder = new BuilderObjectProperty(expected, df);
        // when
        OWLObject built = builder.buildObject();
        // then
        assertEquals(expected, built);
    }
View Full Code Here

TOP

Related Classes of org.semanticweb.owlapi.model.OWLObject

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.