Exemplo n.º 1
0
 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));
   }
 }
Exemplo n.º 2
0
 public AsymmetricHandler(OBOConsumer consumer) {
   super(OBOVocabulary.IS_ASYMMETRIC.getName(), consumer);
 }