/** * <p>Attempt to remove this <code>individual</code> as a member of the * given ontology class. This relationship is represented by a <code>rdf:type</code> * statement in the underlying model. If this relationship was originally * asserted, then removal will always succeed. However, if the <code>rdf:type</code> * relationship is entailed by the action of an attached reasoner, it may not be * possible to directly remove it. Callers should instead update the assertions * and axioms that entail the class membership relationship, and ensure the * reasoner gets chance to update the entailments.</p> * <p>If this individual is not a member of the given class, the * operation has no effect.</p> * * @param ontClass A resource denoting a class that that is to be removed from * the set of classes to which this individual belongs */ @Override public void removeOntClass( Resource ontClass ) { removeRDFType( ontClass ); }
/** * <p>Attempt to remove this <code>individual</code> as a member of the * given ontology class. This relationship is represented by a <code>rdf:type</code> * statement in the underlying model. If this relationship was originally * asserted, then removal will always succeed. However, if the <code>rdf:type</code> * relationship is entailed by the action of an attached reasoner, it may not be * possible to directly remove it. Callers should instead update the assertions * and axioms that entail the class membership relationship, and ensure the * reasoner gets chance to update the entailments.</p> * <p>If this individual is not a member of the given class, the * operation has no effect.</p> * * @param ontClass A resource denoting a class that that is to be removed from * the set of classes to which this individual belongs */ @Override public void removeOntClass( Resource ontClass ) { removeRDFType( ontClass ); }