public class BuilderImportsDeclaration extends Object implements Builder<OWLImportsDeclaration>
Constructor and Description |
---|
BuilderImportsDeclaration(OWLDataFactory df)
default constructor
|
BuilderImportsDeclaration(OWLImportsDeclaration expected,
OWLDataFactory df)
builder initialized from an existing object
|
Modifier and Type | Method and Description |
---|---|
List<OWLOntologyChange> |
applyChanges(OWLOntology o)
If the builder is constructing an axiom, this method will add the axiom
and all needed changes to make the ontology fit in the expected profile;
the changes will be returned but there is no need to apply them, as they
have already been applied.
|
OWLImportsDeclaration |
buildObject() |
IRI |
getIRI() |
BuilderImportsDeclaration |
withImportedOntology(IRI arg) |
public BuilderImportsDeclaration(@Nonnull OWLImportsDeclaration expected, OWLDataFactory df)
expected
- the existing objectdf
- data factory@Inject public BuilderImportsDeclaration(OWLDataFactory df)
df
- data factory@Nonnull public BuilderImportsDeclaration withImportedOntology(IRI arg)
arg
- IRI of imported ontologypublic OWLImportsDeclaration buildObject()
buildObject
in interface Builder<OWLImportsDeclaration>
public List<OWLOntologyChange> applyChanges(OWLOntology o)
Builder
applyChanges
in interface Builder<OWLImportsDeclaration>
o
- ontologyCopyright © 2020 The University of Manchester. All rights reserved.