|
Protégé-OWL 3.4.1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Repository
User: matthewhorridge
The University Of Manchester
Medical Informatics Group
Date: Sep 12, 2005
Method Summary | |
---|---|
boolean |
contains(URI ontologyName)
Determines if the repository contains the specified ontology. |
Collection<URI> |
getOntologies()
Gets the name of the ontologies that this repository contains. |
String |
getOntologyLocationDescription(URI ontologyName)
Gets a description of where the specified ontology is located. |
OutputStream |
getOutputStream(URI ontologyName)
Gets an output stream which can be used to write changes to the specified ontology. |
String |
getRepositoryDescription()
Gets a description of the type of the repository. |
String |
getRepositoryDescriptor()
Gets the descriptor for this repository. |
boolean |
hasOutputStream(URI ontologyName)
Determines if the ontology is writable through an output stream. |
boolean |
isSystem()
Determines if the ontology repository is a system repository. |
boolean |
isWritable(URI ontologyName)
Determines if the specified ontology is writable. |
TripleStore |
loadImportedAssertions(OWLModel owlModel,
URI ontologyName)
|
void |
refresh()
Causes the repository to contain the latest information. |
Method Detail |
---|
boolean contains(URI ontologyName)
ontologyName
- The name of the ontology.void refresh()
Collection<URI> getOntologies()
Collection
containing
URI
s.boolean isSystem()
String getRepositoryDescription()
String getOntologyLocationDescription(URI ontologyName)
ontologyName
- The name of the ontology.
String
description of the location of
the ontology, for example, "file:/Users/Blah/Blah/Blah". This
return value will be an empty String
if the repository
does not contain the specified ontology.String getRepositoryDescriptor()
TripleStore loadImportedAssertions(OWLModel owlModel, URI ontologyName) throws edu.stanford.smi.protege.exception.OntologyLoadException
owlModel
- the model to add the import toontologyName
- the ontology name to use to look up the imported ontology.
edu.stanford.smi.protege.exception.OntologyLoadException
boolean isWritable(URI ontologyName)
ontologyName
-
true
if the ontology is writable,
or false
if the ontology is not writable.boolean hasOutputStream(URI ontologyName)
OutputStream getOutputStream(URI ontologyName) throws IOException
ontologyName
- The ontology to be written
OutputStream
that can be used to
write changes to the ontology, or null
if the
ontology is not writable.
IOException
|
Protégé-OWL 3.4.1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |