@Override public Stream<OWLOntology> stream(HasImportsClosure o) { return o.importsClosure(); } },
@Override public Stream<OWLOntology> stream(HasImportsClosure o) { return o.importsClosure(); } },
@Override public Stream<OWLOntology> stream(HasImportsClosure o) { return o.importsClosure(); } },
/** * Gets the set of <em>loaded</em> ontologies that this ontology is related * to via the <em>reflexive transitive closure</em> of the directlyImports * relation as defined in Section 3.4 of the OWL 2 Structural Specification. * For example, if this ontology imports ontology B, and ontology B imports * ontology C, then this method will return the set consisting of this * ontology, ontology B and ontology C. * * @return The set of ontologies in the reflexive transitive closure of the directlyImports * relation. * @throws UnknownOWLOntologyException If this ontology is no longer managed by its manager * because it was removed from the manager. * @deprecated use the stream method */ @Deprecated default Set<OWLOntology> getImportsClosure() { return asSet(importsClosure()); }
/** * Gets the set of <em>loaded</em> ontologies that this ontology is related * to via the <em>reflexive transitive closure</em> of the directlyImports * relation as defined in Section 3.4 of the OWL 2 Structural Specification. * For example, if this ontology imports ontology B, and ontology B imports * ontology C, then this method will return the set consisting of this * ontology, ontology B and ontology C. * * @return The set of ontologies in the reflexive transitive closure of the directlyImports * relation. * @throws UnknownOWLOntologyException If this ontology is no longer managed by its manager * because it was removed from the manager. * @deprecated use the stream method */ @Deprecated default Set<OWLOntology> getImportsClosure() { return asSet(importsClosure()); }
/** * Gets the set of <em>loaded</em> ontologies that this ontology is related * to via the <em>reflexive transitive closure</em> of the directlyImports * relation as defined in Section 3.4 of the OWL 2 Structural Specification. * For example, if this ontology imports ontology B, and ontology B imports * ontology C, then this method will return the set consisting of this * ontology, ontology B and ontology C. * * @return The set of ontologies in the reflexive transitive closure of the directlyImports * relation. * @throws UnknownOWLOntologyException If this ontology is no longer managed by its manager * because it was removed from the manager. * @deprecated use the stream method */ @Deprecated default Set<OWLOntology> getImportsClosure() { return asSet(importsClosure()); }