|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Represents a single connection to some implementation provider. An OWLOntology is unique with respect to its logical URI within a connection.
| Method Summary | |
void |
applyChanges(List changeList)
Applies the list of changes to the ontologies loaded by this connection. |
void |
close()
Closes this connection, i.e. closes all open ontologies. |
OWLOntology |
createOntology(URI physicalURI,
URI logicalURI)
Creates an OWLOntology with a given physical and logical URI. |
OWLOntology |
createOWLOntology(URI physicalURI,
URI logicalURI)
Deprecated. |
Set |
getAllLogicalURIs()
Returns the set of logical URIs used as identifiers of the ontologies loaded by this connection. |
Set |
getAllOntologies()
Returns the set of OWL Ontologies that are loaded by this OWLConnection. |
ChangeVisitor |
getChangeVisitor(OWLOntology o)
Given an ontology, returns a change visitor that will enact changes over that ontology. |
OWLDataFactory |
getDataFactory()
|
OWLOntology |
getOntologyLogical(URI logicalURI)
Returns an OWLOntology with given logical URI. |
OWLOntology |
getOntologyPhysical(URI physicalURI)
|
Set |
getOpenOWLOntologies()
Deprecated. |
Map |
getParameters()
Returns the parameters of this connection. |
boolean |
isOpen()
Returns true if this connection is open, i.e. atleast one ontology is open. |
OWLOntology |
loadOntologyPhysical(URI physicalURI)
Loads an OWLOntology with given physical URI (in fact an URL), somewhere on the web or in the file system. |
void |
notifyOntologyDeleted(OWLOntology ontology)
Notifies the connection that the OWLOntology has been deleted. |
OWLOntology |
openOntologyLogical(URI logicalURI)
Deprecated. |
OWLOntology |
openOntologyPhysical(URI physicalURI)
Deprecated. |
OWLOntology |
reloadOntologyPhysical(URI physicalURI)
Reloads an OWLOntology with given physical URI (in fact an URL), somewhere on the web or in the file system. |
| Method Detail |
public OWLDataFactory getDataFactory()
public Map getParameters()
throws OWLException
OWLException
public void close()
throws OWLException
OWLException
public boolean isOpen()
throws OWLException
true if this connection is open, i.e. atleast one ontology is open.
true if the connection is open
OWLException
public OWLOntology openOntologyPhysical(URI physicalURI)
throws OWLException
physicalURI - the physical URI of the OWLOntology
OWLException
public OWLOntology getOntologyPhysical(URI physicalURI)
throws OWLException
OWLException
public OWLOntology loadOntologyPhysical(URI physicalURI)
throws OWLException
physicalURI - the physical URI of the OWLOntology
OWLException
public OWLOntology reloadOntologyPhysical(URI physicalURI)
throws OWLException
physicalURI - the physical URI of the OWLOntology
OWLException
public OWLOntology openOntologyLogical(URI logicalURI)
throws OWLException
logicalURI - the logical URI of the OWLOntology
OWLException
public OWLOntology getOntologyLogical(URI logicalURI)
throws OWLException
logicalURI - the logical URI of the OWLOntology
OWLException
public OWLOntology createOWLOntology(URI physicalURI,
URI logicalURI)
throws OWLException
physicalURI - the physical URI of the OWLOntologylogicalURI - the logical URI of the OWLOntology
OWLException
public OWLOntology createOntology(URI physicalURI,
URI logicalURI)
throws OWLException
physicalURI - the physical URI of the OWLOntologylogicalURI - the logical URI of the OWLOntology
OWLException
public void notifyOntologyDeleted(OWLOntology ontology)
throws OWLException
OWLException
public Set getAllOntologies()
throws OWLException
OWLException
public Set getAllLogicalURIs()
throws OWLException
OWLExceptionpublic Set getOpenOWLOntologies()
public void applyChanges(List changeList)
throws OWLException
changeList - list of changes to the models in the connection
OWLException
public ChangeVisitor getChangeVisitor(OWLOntology o)
throws OWLException
OWLException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||