net.sourceforge.fluxion.datapublisher.biomart.impl
Class BiomartQueryFactory

java.lang.Object
  extended by net.sourceforge.fluxion.datapublisher.biomart.impl.BiomartQueryFactory
All Implemented Interfaces:
QueryGenerator

@ServiceProvider
public class BiomartQueryFactory
extends java.lang.Object
implements QueryGenerator

Javadocs go here.

Version:
1.0
Author:
Tony Burdett

Constructor Summary
BiomartQueryFactory()
           
 
Method Summary
<F> Query<F>
generateQuery(Filter<F> filter)
          Create a query that can then be used to obtain data from a database.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BiomartQueryFactory

public BiomartQueryFactory()
Method Detail

generateQuery

public <F> Query<F> generateQuery(Filter<F> filter)
                       throws QueryGenerationException
Description copied from interface: QueryGenerator
Create a query that can then be used to obtain data from a database. The returned query will be typed by the bean which the Filter is typed by - so if generateQuery(Filter?Foo>) is called, a Query?Foo> will be returned.

Specified by:
generateQuery in interface QueryGenerator
Parameters:
filter - the filter to use to make the query
Returns:
the query, typed by the bean being queried
Throws:
QueryGenerationException - if there was a probelm generating the query


Copyright © 2010. All Rights Reserved.