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 Details

    • 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:
      visit in interface org.semanticweb.owlapi.model.OWLEntityVisitor
    • visit

      public void visit(org.semanticweb.owlapi.model.OWLObjectProperty property)
      Specified by:
      visit in interface org.semanticweb.owlapi.model.OWLEntityVisitor
    • visit

      public void visit(org.semanticweb.owlapi.model.OWLDataProperty property)
      Specified by:
      visit in interface org.semanticweb.owlapi.model.OWLEntityVisitor
    • visit

      public void visit(org.semanticweb.owlapi.model.OWLNamedIndividual individual)
      Specified by:
      visit in interface org.semanticweb.owlapi.model.OWLEntityVisitor
    • visit

      public void visit(org.semanticweb.owlapi.model.OWLDatatype datatype)
      Specified by:
      visit in interface org.semanticweb.owlapi.model.OWLEntityVisitor
    • visit

      public void visit(org.semanticweb.owlapi.model.OWLAnnotationProperty property)
      Specified by:
      visit in interface org.semanticweb.owlapi.model.OWLEntityVisitor
    • getOWLClass

      public org.semanticweb.owlapi.model.OWLClass getOWLClass(String name)
      Specified by:
      getOWLClass in interface org.semanticweb.owlapi.expression.OWLEntityChecker
    • getOWLObjectProperty

      public org.semanticweb.owlapi.model.OWLObjectProperty getOWLObjectProperty(String name)
      Specified by:
      getOWLObjectProperty in interface org.semanticweb.owlapi.expression.OWLEntityChecker
    • getOWLDataProperty

      public org.semanticweb.owlapi.model.OWLDataProperty getOWLDataProperty(String name)
      Specified by:
      getOWLDataProperty in interface org.semanticweb.owlapi.expression.OWLEntityChecker
    • getOWLIndividual

      public org.semanticweb.owlapi.model.OWLNamedIndividual getOWLIndividual(String name)
      Specified by:
      getOWLIndividual in interface org.semanticweb.owlapi.expression.OWLEntityChecker
    • getOWLDatatype

      public org.semanticweb.owlapi.model.OWLDatatype getOWLDatatype(String name)
      Specified by:
      getOWLDatatype in interface org.semanticweb.owlapi.expression.OWLEntityChecker
    • getOWLAnnotationProperty

      public org.semanticweb.owlapi.model.OWLAnnotationProperty getOWLAnnotationProperty(String name)
      Specified by:
      getOWLAnnotationProperty in interface org.semanticweb.owlapi.expression.OWLEntityChecker