/** * Builder initialized from an existing object. * * @param expected the existing object * @param df data factory */ public BuilderNegativeObjectPropertyAssertion(OWLNegativeObjectPropertyAssertionAxiom expected, OWLDataFactory df) { this(df); withSubject(expected.getSubject()).withProperty(expected.getProperty()) .withValue(expected.getObject()) .withAnnotations(expected.annotations()); }
/** * Builder initialized from an existing object. * * @param expected the existing object * @param df data factory */ public BuilderNegativeObjectPropertyAssertion(OWLNegativeObjectPropertyAssertionAxiom expected, OWLDataFactory df) { this(df); withSubject(expected.getSubject()).withProperty(expected.getProperty()) .withValue(expected.getObject()) .withAnnotations(expected.annotations()); }
/** * Builder initialized from an existing object. * * @param expected * the existing object * @param df * data factory */ public BuilderNegativeObjectPropertyAssertion(OWLNegativeObjectPropertyAssertionAxiom expected, OWLDataFactory df) { this(df); withSubject(expected.getSubject()).withProperty(expected.getProperty()).withValue(expected.getObject()) .withAnnotations(expected.annotations()); }
/** * Builder initialized from an existing object. * * @param expected the existing object * @param df data factory */ public BuilderNegativeObjectPropertyAssertion(OWLNegativeObjectPropertyAssertionAxiom expected, OWLDataFactory df) { this(df); withSubject(expected.getSubject()).withProperty(expected.getProperty()) .withValue(expected.getObject()) .withAnnotations(expected.annotations()); }
@Override public Object visit(OWLNegativeObjectPropertyAssertionAxiom axiom) { return visitAxiom(axiom, () -> df.getOWLNegativeObjectPropertyAssertionAxiom(t(axiom.getProperty()), t(axiom .getSubject()), t(axiom.getObject()), t(axiom.annotations()))); }
@Override public Object visit(OWLNegativeObjectPropertyAssertionAxiom axiom) { return visitAxiom(axiom, () -> df.getOWLNegativeObjectPropertyAssertionAxiom(t(axiom.getProperty()), t(axiom .getSubject()), t(axiom.getObject()), t(axiom.annotations()))); }
@Override public Object visit(OWLNegativeObjectPropertyAssertionAxiom axiom) { return visitAxiom(axiom, () -> df.getOWLNegativeObjectPropertyAssertionAxiom(t(axiom.getProperty()), t(axiom .getSubject()), t(axiom.getObject()), t(axiom.annotations()))); }