Package org.incenp.obofoundry.sssom.owl
Class EditableEntityChecker
java.lang.Object
org.incenp.obofoundry.sssom.owl.EditableEntityChecker
- All Implemented Interfaces:
org.semanticweb.owlapi.expression.OWLEntityChecker,org.semanticweb.owlapi.model.OWLEntityVisitor
public class EditableEntityChecker
extends Object
implements org.semanticweb.owlapi.expression.OWLEntityChecker, org.semanticweb.owlapi.model.OWLEntityVisitor
A helper class used by
SSSOMTOwlApplication and some of its
functions. It is basically a standard OWL entity checker with the possibility
to dynamically add new entities to recognise.-
Method Summary
Modifier and TypeMethodDescriptionvoidAdds an annotation property to the entities known to this object.voidAdds a OWL class to the entities known to this object.voidaddDataproperty(String iri) Adds a data property to the entities known to this object.voidaddDatatype(String iri) Adds a datatype to the entities known to this object.voidaddIndividual(String iri) Adds an individual to the entities known to this object.voidaddObjectProperty(String iri) Adds an object property to the entities known to this object.org.semanticweb.owlapi.model.OWLAnnotationPropertyorg.semanticweb.owlapi.model.OWLClassgetOWLClass(String name) org.semanticweb.owlapi.model.OWLDataPropertygetOWLDataProperty(String name) org.semanticweb.owlapi.model.OWLDatatypegetOWLDatatype(String name) org.semanticweb.owlapi.model.OWLNamedIndividualgetOWLIndividual(String name) org.semanticweb.owlapi.model.OWLObjectPropertygetOWLObjectProperty(String name) voidvisit(org.semanticweb.owlapi.model.OWLAnnotationProperty property) voidvisit(org.semanticweb.owlapi.model.OWLClass cls) voidvisit(org.semanticweb.owlapi.model.OWLDataProperty property) voidvisit(org.semanticweb.owlapi.model.OWLDatatype datatype) voidvisit(org.semanticweb.owlapi.model.OWLNamedIndividual individual) voidvisit(org.semanticweb.owlapi.model.OWLObjectProperty property)
-
Method Details
-
addClass
Adds a OWL class to the entities known to this object.- Parameters:
iri- The name of the class to add.
-
addObjectProperty
Adds an object property to the entities known to this object.- Parameters:
iri- The name of the object property to add.
-
addDataproperty
Adds a data property to the entities known to this object.- Parameters:
iri- The name of the data property to add.
-
addIndividual
Adds an individual to the entities known to this object.- Parameters:
iri- The name of the individual to add.
-
addDatatype
Adds a datatype to the entities known to this object.- Parameters:
iri- The name of the datatype to add.
-
addAnnotationProperty
Adds an annotation property to the entities known to this object.- Parameters:
iri- The name of the annotation property to add.
-
visit
public void visit(org.semanticweb.owlapi.model.OWLClass cls) - Specified by:
visitin interfaceorg.semanticweb.owlapi.model.OWLEntityVisitor
-
visit
public void visit(org.semanticweb.owlapi.model.OWLObjectProperty property) - Specified by:
visitin interfaceorg.semanticweb.owlapi.model.OWLEntityVisitor
-
visit
public void visit(org.semanticweb.owlapi.model.OWLDataProperty property) - Specified by:
visitin interfaceorg.semanticweb.owlapi.model.OWLEntityVisitor
-
visit
public void visit(org.semanticweb.owlapi.model.OWLNamedIndividual individual) - Specified by:
visitin interfaceorg.semanticweb.owlapi.model.OWLEntityVisitor
-
visit
public void visit(org.semanticweb.owlapi.model.OWLDatatype datatype) - Specified by:
visitin interfaceorg.semanticweb.owlapi.model.OWLEntityVisitor
-
visit
public void visit(org.semanticweb.owlapi.model.OWLAnnotationProperty property) - Specified by:
visitin interfaceorg.semanticweb.owlapi.model.OWLEntityVisitor
-
getOWLClass
- Specified by:
getOWLClassin interfaceorg.semanticweb.owlapi.expression.OWLEntityChecker
-
getOWLObjectProperty
- Specified by:
getOWLObjectPropertyin interfaceorg.semanticweb.owlapi.expression.OWLEntityChecker
-
getOWLDataProperty
- Specified by:
getOWLDataPropertyin interfaceorg.semanticweb.owlapi.expression.OWLEntityChecker
-
getOWLIndividual
- Specified by:
getOWLIndividualin interfaceorg.semanticweb.owlapi.expression.OWLEntityChecker
-
getOWLDatatype
- Specified by:
getOWLDatatypein interfaceorg.semanticweb.owlapi.expression.OWLEntityChecker
-
getOWLAnnotationProperty
- Specified by:
getOWLAnnotationPropertyin interfaceorg.semanticweb.owlapi.expression.OWLEntityChecker
-