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(OWLImportsDeclaration expected, OWLDataFactory df)
expected
- the existing objectdf
- data factory@Inject public BuilderImportsDeclaration(OWLDataFactory df)
df
- data factorypublic BuilderImportsDeclaration withImportedOntology(IRI arg)
arg
- IRI of imported ontologypublic OWLImportsDeclaration buildObject()
buildObject
in interface Builder<OWLImportsDeclaration>
public IRI getIRI()
public List<OWLOntologyChange> applyChanges(OWLOntology o)
Builder
applyChanges
in interface Builder<OWLImportsDeclaration>
o
- ontologyCopyright © 2020 The University of Manchester. All rights reserved.