fr.inrialpes.exmo.ontowrap
Class BasicOntology<O>
java.lang.Object
fr.inrialpes.exmo.ontowrap.BasicOntology<O>
- All Implemented Interfaces:
- Ontology<O>
- Direct Known Subclasses:
- JENAOntology, OWLAPI3Ontology, OWLAPIOntology, SKOSThesaurus
public class BasicOntology<O>
- extends Object
- implements Ontology<O>
Store the information regarding ontologies in a specific structure
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
uri
protected URI uri
file
protected URI file
formalismURI
protected URI formalismURI
formalism
protected String formalism
onto
protected O onto
BasicOntology
public BasicOntology()
getURI
public URI getURI()
- Specified by:
getURI
in interface Ontology<O>
getFile
public URI getFile()
- Specified by:
getFile
in interface Ontology<O>
getFormURI
public URI getFormURI()
- Specified by:
getFormURI
in interface Ontology<O>
getFormalism
public String getFormalism()
- Specified by:
getFormalism
in interface Ontology<O>
getOntology
public O getOntology()
- Specified by:
getOntology
in interface Ontology<O>
setURI
public void setURI(URI uri)
- Specified by:
setURI
in interface Ontology<O>
setFile
public void setFile(URI file)
- Specified by:
setFile
in interface Ontology<O>
setFormURI
public void setFormURI(URI u)
- Specified by:
setFormURI
in interface Ontology<O>
setFormalism
public void setFormalism(String name)
- Specified by:
setFormalism
in interface Ontology<O>
setOntology
public void setOntology(O o)
- Specified by:
setOntology
in interface Ontology<O>
getFragmentAsLabel
public String getFragmentAsLabel(URI u)
load
public LoadedOntology load()
throws OntowrapException
- Throws:
OntowrapException
(C) INRIA & friends, 2003-${curryear}