net.sourceforge.fluxion.spring
Class QueryTransformerConfiguration

java.lang.Object
  extended by net.sourceforge.fluxion.spring.QueryTransformerConfiguration

public class QueryTransformerConfiguration
extends java.lang.Object

Represents a single configured mapping in a query transforming fluxion service

Author:
Tom Oinn

Constructor Summary
QueryTransformerConfiguration()
           
 
Method Summary
 java.net.URI getExposedDataSourceURI()
          Generate and / or return the URI of the exposed part of this configuration.
 org.semanticweb.owl.model.OWLOntology getExposedSchema()
          Return a derived schema populated by the QueryTransformer during initialization.
 java.lang.String getRulesDocumentFile()
          Return the rules document file name for this configuration.
 java.net.URI getUnderlyingDataSourceURI()
          Return the URI of the underlying data source for this configuration
 void setRulesDocumentFile(java.lang.String fileName)
          Define the rules file to use.
 void setUnderlyingDataSourceURI(java.lang.String dataSourceURIString)
          Define the URI of the underlying data source called after the query has been transformed from the exposed schema
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QueryTransformerConfiguration

public QueryTransformerConfiguration()
Method Detail

getExposedDataSourceURI

public final java.net.URI getExposedDataSourceURI()
Generate and / or return the URI of the exposed part of this configuration. This is currently automatically generated from the underlying data source URI by appending '_transformedby_' and the name of the rules file.


setUnderlyingDataSourceURI

public final void setUnderlyingDataSourceURI(java.lang.String dataSourceURIString)
                                      throws java.net.URISyntaxException
Define the URI of the underlying data source called after the query has been transformed from the exposed schema

Parameters:
dataSourceURIString -
Throws:
java.net.URISyntaxException

getUnderlyingDataSourceURI

public final java.net.URI getUnderlyingDataSourceURI()
Return the URI of the underlying data source for this configuration


getRulesDocumentFile

public final java.lang.String getRulesDocumentFile()
Return the rules document file name for this configuration. Mapping this to a physical file or URL is the responsibility of the service implementor.


setRulesDocumentFile

public final void setRulesDocumentFile(java.lang.String fileName)
Define the rules file to use. This should be the local part of the file name without a path, the exact mapping from this name to a file object to use with the QueryTransformer implementation is up to the service implementor.

Parameters:
fileName -

getExposedSchema

public final org.semanticweb.owl.model.OWLOntology getExposedSchema()
Return a derived schema populated by the QueryTransformer during initialization.



Copyright © 2010. All Rights Reserved.