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