org.eclipse.ohf.ihe.xds.consumer.query
Class QueryBuilder

java.lang.Object
  extended by org.eclipse.ohf.ihe.xds.consumer.query.QueryBuilder

public class QueryBuilder
extends java.lang.Object

Object used to produce the SQL statement for a given Query. Used to support the IHE XDS Consumer actor in Transaction ITI-16: Query Registry

Author:
Sarah Knoop
See Also:
IHE Technical Framework

Constructor Summary
QueryBuilder(Query query)
          Constructor
 
Method Summary
 java.lang.String build()
          Renders the Query object as an SQL string
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QueryBuilder

public QueryBuilder(Query query)
Constructor

Parameters:
query - the query to build
Method Detail

build

public java.lang.String build()
                       throws MalformedQueryException
Renders the Query object as an SQL string

Returns:
Returns the query as an SQL string
Throws:
MalformedQueryException