示例#1
0
 @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));
   }
 }
示例#2
0
 public ReflexiveHandler(OBOConsumer consumer) {
   super(OBOVocabulary.IS_REFLEXIVE.getName(), consumer);
 }