@Override
 public void visit(IRI iri) {
   obj = iri;
   for (EntityType<?> entityType : EntityType.values()) {
     OWLEntity entity = dataFactory.getOWLEntity(entityType, iri);
     IRI replacementIRI = replacementMap.get(entity);
     if (replacementIRI != null) {
       obj = replacementIRI;
       break;
     }
   }
 }
Beispiel #2
0
 PrimitiveType(@Nonnull EntityType<?> entityType) {
   this(entityType.getShortForm(), entityType.getPrintName(), entityType.getPluralPrintName());
 }