@Override public void handle(String currentId, String value, String qualifierBlock, String comment) { if (Boolean.parseBoolean(value)) { OWLObjectProperty prop = getOWLObjectProperty(currentId); OWLAxiom ax = getDataFactory().getOWLReflexiveObjectPropertyAxiom(prop); applyChange(new AddAxiom(getOntology(), ax)); } else { addAnnotation(currentId, OBOVocabulary.IS_REFLEXIVE.getName(), getBooleanConstant(false)); } }
public ReflexiveHandler(OBOConsumer consumer) { super(OBOVocabulary.IS_REFLEXIVE.getName(), consumer); }