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 bySSSOMTOwlApplicationand some of its functions. It is basically a standard OWL entity checker with the possibility to dynamically add new entities to recognise.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddAnnotationProperty(String iri)Adds an annotation property to the entities known to this object.voidaddClass(String iri)Adds 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.OWLAnnotationPropertygetOWLAnnotationProperty(String name)org.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 Detail
-
addClass
public void addClass(String iri)
Adds a OWL class to the entities known to this object.- Parameters:
iri- The name of the class to add.
-
addObjectProperty
public void addObjectProperty(String iri)
Adds an object property to the entities known to this object.- Parameters:
iri- The name of the object property to add.
-
addDataproperty
public void addDataproperty(String iri)
Adds a data property to the entities known to this object.- Parameters:
iri- The name of the data property to add.
-
addIndividual
public void addIndividual(String iri)
Adds an individual to the entities known to this object.- Parameters:
iri- The name of the individual to add.
-
addDatatype
public void addDatatype(String iri)
Adds a datatype to the entities known to this object.- Parameters:
iri- The name of the datatype to add.
-
addAnnotationProperty
public void addAnnotationProperty(String iri)
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
public org.semanticweb.owlapi.model.OWLClass getOWLClass(String name)
- Specified by:
getOWLClassin interfaceorg.semanticweb.owlapi.expression.OWLEntityChecker
-
getOWLObjectProperty
public org.semanticweb.owlapi.model.OWLObjectProperty getOWLObjectProperty(String name)
- Specified by:
getOWLObjectPropertyin interfaceorg.semanticweb.owlapi.expression.OWLEntityChecker
-
getOWLDataProperty
public org.semanticweb.owlapi.model.OWLDataProperty getOWLDataProperty(String name)
- Specified by:
getOWLDataPropertyin interfaceorg.semanticweb.owlapi.expression.OWLEntityChecker
-
getOWLIndividual
public org.semanticweb.owlapi.model.OWLNamedIndividual getOWLIndividual(String name)
- Specified by:
getOWLIndividualin interfaceorg.semanticweb.owlapi.expression.OWLEntityChecker
-
getOWLDatatype
public org.semanticweb.owlapi.model.OWLDatatype getOWLDatatype(String name)
- Specified by:
getOWLDatatypein interfaceorg.semanticweb.owlapi.expression.OWLEntityChecker
-
getOWLAnnotationProperty
public org.semanticweb.owlapi.model.OWLAnnotationProperty getOWLAnnotationProperty(String name)
- Specified by:
getOWLAnnotationPropertyin interfaceorg.semanticweb.owlapi.expression.OWLEntityChecker
-
-