public void handle(String id, String value) { if (Boolean.parseBoolean(value)) { OWLObjectProperty prop = getOWLObjectProperty(id); OWLAxiom ax = getDataFactory().getOWLAsymmetricObjectPropertyAxiom(prop); applyChange(new AddAxiom(getOntology(), ax)); } else { addAnnotation(id, OBOVocabulary.IS_ASYMMETRIC.getName(), getBooleanConstant(false)); } }
public AsymmetricHandler(OBOConsumer consumer) { super(OBOVocabulary.IS_ASYMMETRIC.getName(), consumer); }