@Override public OWLAnnotationProperty getOWLAnnotationProperty(IRI iri) { return new OWLAnnotationPropertyImpl(iri); }
@Override public OWLAnnotationProperty getOWLAnnotationProperty(IRI iri) { return new OWLAnnotationPropertyImpl(iri); }
@Override public OWLAnnotationProperty getOWLAnnotationProperty(IRI iri) { return new OWLAnnotationPropertyImpl(iri); }
@Override public OWLAnnotationProperty getOWLAnnotationProperty(IRI iri) { return new OWLAnnotationPropertyImpl(iri); }
@Override public OWLAnnotationProperty getOWLAnnotationProperty(IRI iri) { return new OWLAnnotationPropertyImpl(iri); }
@Override public OWLAnnotationProperty getOWLAnnotationProperty(IRI iri) { return new OWLAnnotationPropertyImpl(iri); }
public OWLAnnotationProperty getOWLAnnotationProperty(IRI iri) { OWLAnnotationProperty prop = annotationPropertiesByURI.get(iri); if (prop == null) { prop = new OWLAnnotationPropertyImpl(this, iri); annotationPropertiesByURI.put(iri, prop); } return prop; }
public static OWLAnnotationPropertyImpl instantiate(SerializationStreamReader streamReader) throws SerializationException { return new OWLAnnotationPropertyImpl(IRI.create(streamReader.readString())); }
@SuppressWarnings("unchecked") static <E extends OWLEntity> E getOWLEntity(EntityType<E> entityType, IRI iri) { if (entityType.equals(EntityType.CLASS)) { return (E) new OWLClassImpl(iri); } else if (entityType.equals(EntityType.OBJECT_PROPERTY)) { return (E) new OWLObjectPropertyImpl(iri); } else if (entityType.equals(EntityType.DATA_PROPERTY)) { return (E) new OWLDataPropertyImpl(iri); } else if (entityType.equals(EntityType.ANNOTATION_PROPERTY)) { return (E) new OWLAnnotationPropertyImpl(iri); } else if (entityType.equals(EntityType.NAMED_INDIVIDUAL)) { return (E) new OWLNamedIndividualImpl(iri); } else if (entityType.equals(EntityType.DATATYPE)) { return (E) new OWLDatatypeImpl(iri); } return null; }