T - built typeB - builder typepublic abstract class BaseBuilder<T extends OWLObject,B> extends Object implements Builder<T>
| 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.
|
abstract T |
buildObject() |
B |
withAnnotation(OWLAnnotation arg) |
B |
withAnnotations(Collection<OWLAnnotation> arg) |
@Nonnull public B withAnnotation(OWLAnnotation arg)
arg - annotation@Nonnull public B withAnnotations(@Nonnull Collection<OWLAnnotation> arg)
arg - annotationpublic abstract T buildObject()
buildObject in interface Builder<T extends OWLObject>@Nonnull public List<OWLOntologyChange> applyChanges(@Nonnull OWLOntology o)
BuilderapplyChanges in interface Builder<T extends OWLObject>o - ontologyCopyright © 2020 The University of Manchester. All rights reserved.