|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sourceforge.fluxion.spring.DelegatingFluxionService
public class DelegatingFluxionService
Implementation of FluxionService which simply delegates to a list of DataSource implementations
Constructor Summary | |
---|---|
DelegatingFluxionService()
|
Method Summary | |
---|---|
java.util.Set<java.net.URI> |
getDataSources()
Return a set of the URIs of all registered data sources |
java.net.URI |
getId()
The ID of this service. |
java.net.URI |
getReasonerLevel(java.net.URI dataSourceURI)
Get the reasoner level from the data source with the matching data source URI |
org.semanticweb.owl.model.OWLOntology |
getSchema(java.net.URI dataSourceURI)
Get the schema from the data source with the matching data source URI |
org.semanticweb.owl.model.OWLOntology |
query(java.net.URI dataSourceURI,
java.net.URI queryClassURI,
org.semanticweb.owl.model.OWLOntology queryOntology)
Delegates to the query method of the data source with the matching data source URI |
void |
setDataSources(java.util.List<DataSource> sources)
Set the list of DataSource implementations used by this FluxionService |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DelegatingFluxionService()
Method Detail |
---|
public java.net.URI getId()
getId
in interface FluxionService
public final void setDataSources(java.util.List<DataSource> sources)
public java.util.Set<java.net.URI> getDataSources() throws DataSourceException
getDataSources
in interface FluxionService
DataSourceException
public java.net.URI getReasonerLevel(java.net.URI dataSourceURI) throws DataSourceException
getReasonerLevel
in interface FluxionService
dataSourceURI
- the being operated upon
DataSourceException
- if the data source is not known by this service or if there
was an error connecting to the data sourcepublic org.semanticweb.owl.model.OWLOntology getSchema(java.net.URI dataSourceURI) throws DataSourceException
getSchema
in interface FluxionService
dataSourceURI
- the being operated upon
DataSourceException
- if the data source is not known by this service or if there
was an error connecting to the data sourcepublic org.semanticweb.owl.model.OWLOntology query(java.net.URI dataSourceURI, java.net.URI queryClassURI, org.semanticweb.owl.model.OWLOntology queryOntology) throws DataSourceException
query
in interface FluxionService
dataSourceURI
- the being operated uponqueryClassURI
- the qualified name of the class from the specified ontology
for which instances should be foundqueryOntology
- the ontology containing the specified query class
DataSourceException
- if the data source is not known by this service or if there
was an error connecting to the data source
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |