/** * @param subject root of the property * @param property identifier of the property * @param object target of the property * @since 2.5.1 */ default void updateObject(final OWLNamedIndividual subject, final OWLObjectProperty property, final OWLNamedIndividual object) { removeObjectPropertyAxiom(property, subject); addObjectPropertyAxiom(property, subject, object); }
/** * @param subject root of the property * @param property identifier of the property * @param object target of the property * @since 2.5.1 */ default void updateObject(final OWLNamedIndividual subject, final OWLObjectProperty property, final OWLNamedIndividual object) { removeObjectPropertyAxiom(property, subject); addObjectPropertyAxiom(property, subject, object); }
/** * @param subject root of the property * @param property identifier of the property * @param object target of the property * @since 2.5.1 */ default void updateObject(final OWLNamedIndividual subject, final OWLObjectProperty property, final OWLNamedIndividual object) { removeObjectPropertyAxiom(property, subject); addObjectPropertyAxiom(property, subject, object); }
/** * Remove all the target of an object property that are related to an individual. This function is slow and should be optimized. * * @param property to remove * @param subject to consider. * @since 2.5.1 */ default public void removeObjectPropertyAxiom(final IRI property, final OWLNamedIndividual subject) { removeObjectPropertyAxiom(getFactory().getOWLObjectProperty(property), subject); }
/** * Remove all the target of an object property that are related to an individual. This function is slow and should be optimized. * * @param property to remove * @param subject to consider. * @since 2.5.1 */ default public void removeObjectPropertyAxiom(final IRI property, final OWLNamedIndividual subject) { removeObjectPropertyAxiom(getFactory().getOWLObjectProperty(property), subject); }
/** * Remove all the target of an object property that are related to an individual. This function is slow and should be optimized. * * @param property to remove * @param subject to consider. * @since 2.5.1 */ default public void removeObjectPropertyAxiom(final IRI property, final OWLNamedIndividual subject) { removeObjectPropertyAxiom(getFactory().getOWLObjectProperty(property), subject); }