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 TypeMethodDescriptionvoid
Adds an annotation property to the entities known to this object.void
Adds a OWL class to the entities known to this object.void
addDataproperty
(String iri) Adds a data property to the entities known to this object.void
addDatatype
(String iri) Adds a datatype to the entities known to this object.void
addIndividual
(String iri) Adds an individual to the entities known to this object.void
addObjectProperty
(String iri) Adds an object property to the entities known to this object.org.semanticweb.owlapi.model.OWLAnnotationProperty
org.semanticweb.owlapi.model.OWLClass
getOWLClass
(String name) org.semanticweb.owlapi.model.OWLDataProperty
getOWLDataProperty
(String name) org.semanticweb.owlapi.model.OWLDatatype
getOWLDatatype
(String name) org.semanticweb.owlapi.model.OWLNamedIndividual
getOWLIndividual
(String name) org.semanticweb.owlapi.model.OWLObjectProperty
getOWLObjectProperty
(String name) void
visit
(org.semanticweb.owlapi.model.OWLAnnotationProperty property) void
visit
(org.semanticweb.owlapi.model.OWLClass cls) void
visit
(org.semanticweb.owlapi.model.OWLDataProperty property) void
visit
(org.semanticweb.owlapi.model.OWLDatatype datatype) void
visit
(org.semanticweb.owlapi.model.OWLNamedIndividual individual) void
visit
(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:
visit
in interfaceorg.semanticweb.owlapi.model.OWLEntityVisitor
-
visit
public void visit(org.semanticweb.owlapi.model.OWLObjectProperty property) - Specified by:
visit
in interfaceorg.semanticweb.owlapi.model.OWLEntityVisitor
-
visit
public void visit(org.semanticweb.owlapi.model.OWLDataProperty property) - Specified by:
visit
in interfaceorg.semanticweb.owlapi.model.OWLEntityVisitor
-
visit
public void visit(org.semanticweb.owlapi.model.OWLNamedIndividual individual) - Specified by:
visit
in interfaceorg.semanticweb.owlapi.model.OWLEntityVisitor
-
visit
public void visit(org.semanticweb.owlapi.model.OWLDatatype datatype) - Specified by:
visit
in interfaceorg.semanticweb.owlapi.model.OWLEntityVisitor
-
visit
public void visit(org.semanticweb.owlapi.model.OWLAnnotationProperty property) - Specified by:
visit
in interfaceorg.semanticweb.owlapi.model.OWLEntityVisitor
-
getOWLClass
- Specified by:
getOWLClass
in interfaceorg.semanticweb.owlapi.expression.OWLEntityChecker
-
getOWLObjectProperty
- Specified by:
getOWLObjectProperty
in interfaceorg.semanticweb.owlapi.expression.OWLEntityChecker
-
getOWLDataProperty
- Specified by:
getOWLDataProperty
in interfaceorg.semanticweb.owlapi.expression.OWLEntityChecker
-
getOWLIndividual
- Specified by:
getOWLIndividual
in interfaceorg.semanticweb.owlapi.expression.OWLEntityChecker
-
getOWLDatatype
- Specified by:
getOWLDatatype
in interfaceorg.semanticweb.owlapi.expression.OWLEntityChecker
-
getOWLAnnotationProperty
- Specified by:
getOWLAnnotationProperty
in interfaceorg.semanticweb.owlapi.expression.OWLEntityChecker
-