/** * Builder initialized from an existing object. * * @param expected the existing object * @param df data factory */ public BuilderHasKey(OWLHasKeyAxiom expected, OWLDataFactory df) { this(df); withClass(expected.getClassExpression()).withAnnotations(expected.annotations()) .withItems(expected .dataPropertyExpressions()).withItems(expected.objectPropertyExpressions()); }
@Override public Object visit(OWLHasKeyAxiom axiom) { return visitAxiom(axiom, () -> df.getOWLHasKeyAxiom(t(axiom.getClassExpression()), t(axiom .propertyExpressions()), t(axiom.annotations()))); }
/** * Builder initialized from an existing object. * * @param expected * the existing object * @param df * data factory */ public BuilderHasKey(OWLHasKeyAxiom expected, OWLDataFactory df) { this(df); withClass(expected.getClassExpression()).withAnnotations(expected.annotations()) .withItems(expected.dataPropertyExpressions()).withItems(expected.objectPropertyExpressions()); }
@Override public Object visit(OWLHasKeyAxiom axiom) { return visitAxiom(axiom, () -> df.getOWLHasKeyAxiom(t(axiom.getClassExpression()), t(axiom .propertyExpressions()), t(axiom.annotations()))); }
@Override public Object visit(OWLHasKeyAxiom axiom) { return visitAxiom(axiom, () -> df.getOWLHasKeyAxiom(t(axiom.getClassExpression()), t(axiom .propertyExpressions()), t(axiom.annotations()))); }
/** * Builder initialized from an existing object. * * @param expected the existing object * @param df data factory */ public BuilderHasKey(OWLHasKeyAxiom expected, OWLDataFactory df) { this(df); withClass(expected.getClassExpression()).withAnnotations(expected.annotations()) .withItems(expected .dataPropertyExpressions()).withItems(expected.objectPropertyExpressions()); }
/** * Builder initialized from an existing object. * * @param expected the existing object * @param df data factory */ public BuilderHasKey(OWLHasKeyAxiom expected, OWLDataFactory df) { this(df); withClass(expected.getClassExpression()).withAnnotations(expected.annotations()) .withItems(expected .dataPropertyExpressions()).withItems(expected.objectPropertyExpressions()); }