public class TranslationRepository extends Object
Constructor and Description |
---|
TranslationRepository(org.semanticweb.owlapi.model.OWLDataFactory dataFactory,
IntegerEntityManager manager)
Constructs a new translation repository.
|
Modifier and Type | Method and Description |
---|---|
boolean |
addAxiomEntities(org.semanticweb.owlapi.model.OWLOntology ontology)
Adds the entities of an ontology to the repository.
|
boolean |
addClass(org.semanticweb.owlapi.model.OWLClass cls)
Adds a class to the repository.
|
boolean |
addDataProperty(org.semanticweb.owlapi.model.OWLDataProperty dataProp)
Adds a data property to the repository.
|
boolean |
addLiteral(org.semanticweb.owlapi.model.OWLLiteral lit)
Adds a literal to the repository.
|
boolean |
addNamedIndividual(org.semanticweb.owlapi.model.OWLNamedIndividual indiv)
Adds an named individual to the repository.
|
boolean |
addObjectProperty(org.semanticweb.owlapi.model.OWLObjectProperty objProp)
Adds an object property to the repository.
|
Integer |
getId(org.semanticweb.owlapi.model.OWLClass owlClass) |
Integer |
getId(org.semanticweb.owlapi.model.OWLDataProperty owlDataProperty) |
Integer |
getId(org.semanticweb.owlapi.model.OWLIndividual individual) |
Integer |
getId(org.semanticweb.owlapi.model.OWLLiteral owlLiteral) |
Integer |
getId(org.semanticweb.owlapi.model.OWLObjectProperty owlObjectProperty) |
org.semanticweb.owlapi.model.OWLClass |
getOWLClass(Integer index) |
org.semanticweb.owlapi.model.OWLDataProperty |
getOWLDataProperty(Integer index) |
org.semanticweb.owlapi.model.OWLNamedIndividual |
getOWLNamedIndividual(Integer index) |
org.semanticweb.owlapi.model.OWLObjectProperty |
getOWLObjectProperty(Integer index) |
String |
toString() |
public TranslationRepository(org.semanticweb.owlapi.model.OWLDataFactory dataFactory, IntegerEntityManager manager)
dataFactory
- OWL ontologymanager
- entity managerpublic boolean addAxiomEntities(org.semanticweb.owlapi.model.OWLOntology ontology)
ontology
- OWL ontologytrue
if and only if the repository has changedpublic boolean addClass(org.semanticweb.owlapi.model.OWLClass cls)
cls
- OWL classtrue
if and only if the repository has changedpublic boolean addDataProperty(org.semanticweb.owlapi.model.OWLDataProperty dataProp)
dataProp
- OWL data propertytrue
if and only if the repository has changedpublic boolean addLiteral(org.semanticweb.owlapi.model.OWLLiteral lit)
lit
- OWL literaltrue
if and only if the repository has changedpublic boolean addNamedIndividual(org.semanticweb.owlapi.model.OWLNamedIndividual indiv)
indiv
- OWL named individualtrue
if and only if the repository has changedpublic boolean addObjectProperty(org.semanticweb.owlapi.model.OWLObjectProperty objProp)
objProp
- OWL object propertytrue
if and only if the repository has changedpublic Integer getId(org.semanticweb.owlapi.model.OWLClass owlClass)
public Integer getId(org.semanticweb.owlapi.model.OWLDataProperty owlDataProperty)
public Integer getId(org.semanticweb.owlapi.model.OWLIndividual individual)
public Integer getId(org.semanticweb.owlapi.model.OWLLiteral owlLiteral)
public Integer getId(org.semanticweb.owlapi.model.OWLObjectProperty owlObjectProperty)
public org.semanticweb.owlapi.model.OWLClass getOWLClass(Integer index)
public org.semanticweb.owlapi.model.OWLDataProperty getOWLDataProperty(Integer index)
public org.semanticweb.owlapi.model.OWLNamedIndividual getOWLNamedIndividual(Integer index)
public org.semanticweb.owlapi.model.OWLObjectProperty getOWLObjectProperty(Integer index)
Copyright © 2009–2015 Chair of Automata Theory - TU Dresden. All rights reserved.