T - built typeType - builder typepublic abstract class BaseBuilder<T extends org.semanticweb.owlapi.model.OWLObject,Type> extends java.lang.Object implements Builder<T>
| Modifier and Type | Field and Description |
|---|---|
protected java.util.Set<org.semanticweb.owlapi.model.OWLAnnotation> |
annotations |
protected static org.semanticweb.owlapi.model.OWLDataFactory |
df |
| Constructor and Description |
|---|
BaseBuilder() |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<org.semanticweb.owlapi.model.OWLOntologyChange> |
buildChanges(org.semanticweb.owlapi.model.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() |
Type |
withAnnotation(org.semanticweb.owlapi.model.OWLAnnotation arg) |
Type |
withAnnotations(java.util.Collection<org.semanticweb.owlapi.model.OWLAnnotation> arg) |
protected static final org.semanticweb.owlapi.model.OWLDataFactory df
protected java.util.Set<org.semanticweb.owlapi.model.OWLAnnotation> annotations
public Type withAnnotation(org.semanticweb.owlapi.model.OWLAnnotation arg)
arg - annotationpublic Type withAnnotations(java.util.Collection<org.semanticweb.owlapi.model.OWLAnnotation> arg)
arg - annotationpublic abstract T buildObject()
buildObject in interface Builder<T extends org.semanticweb.owlapi.model.OWLObject>public final java.util.List<org.semanticweb.owlapi.model.OWLOntologyChange> buildChanges(org.semanticweb.owlapi.model.OWLOntology o)
BuilderbuildChanges in interface Builder<T extends org.semanticweb.owlapi.model.OWLObject>o - ontologyCopyright © 2014 The University of Manchester. All Rights Reserved.