/** * Builder initialized from an existing object. * * @param expected the existing object * @param df data factory */ public BuilderDataPropertyAssertion(OWLDataPropertyAssertionAxiom expected, OWLDataFactory df) { this(df); withProperty(expected.getProperty()).withSubject(expected.getSubject()) .withValue(expected.getObject()) .withAnnotations(expected.annotations()); }
@Override public OWLDataPropertyAssertionAxiom buildObject() { return df.getOWLDataPropertyAssertionAxiom(getProperty(), getSubject(), getLiteral(), annotations); }
@Override void handleChild(IndividualEH h) { builder.withSubject(h.getOWLObject()); }
@Override void handleChild(LiteralEH h) { builder.withValue(h.getOWLObject()); } }
@Override void handleChild(AnonEH h) { builder.withSubject(h.getOWLObject()); }
@Override void handleChild(LiteralEH h) { builder.withValue(h.getOWLObject()); } }
/** * Builder initialized from an existing object. * * @param expected the existing object * @param df data factory */ public BuilderDataPropertyAssertion(OWLDataPropertyAssertionAxiom expected, OWLDataFactory df) { this(df); withProperty(expected.getProperty()).withSubject(expected.getSubject()) .withValue(expected.getObject()) .withAnnotations(expected.annotations()); }
@Override public OWLDataPropertyAssertionAxiom buildObject() { return df.getOWLDataPropertyAssertionAxiom(getProperty(), getSubject(), getLiteral(), annotations); }
@Override void handleChild(AnonEH h) { builder.withSubject(h.getOWLObject()); }
@Override void handleChild(LiteralEH h) { builder.withValue(h.getOWLObject()); } }
/** * Builder initialized from an existing object. * * @param expected the existing object * @param df data factory */ public BuilderDataPropertyAssertion(OWLDataPropertyAssertionAxiom expected, OWLDataFactory df) { this(df); withProperty(expected.getProperty()).withSubject(expected.getSubject()) .withValue(expected.getObject()) .withAnnotations(expected.annotations()); }
@Override public OWLDataPropertyAssertionAxiom buildObject() { return df.getOWLDataPropertyAssertionAxiom(getProperty(), getSubject(), getLiteral(), annotations); }
@Override void handleChild(IndividualEH h) { builder.withSubject(h.getOWLObject()); }
@Override void handleChild(LiteralEH h) { builder.withValue(h.getOWLObject()); } }
/** * Builder initialized from an existing object. * * @param expected * the existing object * @param df * data factory */ public BuilderDataPropertyAssertion(OWLDataPropertyAssertionAxiom expected, OWLDataFactory df) { this(df); withProperty(expected.getProperty()).withSubject(expected.getSubject()).withValue(expected.getObject()) .withAnnotations(expected.annotations()); }
@Override public OWLDataPropertyAssertionAxiom buildObject() { return df.getOWLDataPropertyAssertionAxiom(getProperty(), getSubject(), getLiteral(), annotations); }
@Override void handleChild(IndividualEH h) { builder.withSubject(h.getOWLObject()); }
@Override void handleChild(AnonEH h) { builder.withSubject(h.getOWLObject()); }
@Override void handleChild(IndividualEH h) { builder.withSubject(h.getOWLObject()); }
@Override void handleChild(AnonEH h) { builder.withSubject(h.getOWLObject()); }