com.servingxml.components.sql
Class SqlQueryImpl

java.lang.Object
  extended by com.servingxml.components.sql.SqlQueryImpl
All Implemented Interfaces:
SqlQuery

public class SqlQueryImpl
extends java.lang.Object
implements SqlQuery


Constructor Summary
SqlQueryImpl(SqlStatement statement, Name recordTypeName, boolean trimLeading, boolean trimTrailing)
           
 
Method Summary
 java.lang.String buildSql(ServiceContext context, Flow flow)
           
 Name getRecordTypeName()
           
 boolean isTrimLeading()
           
 boolean isTrimTrailing()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SqlQueryImpl

public SqlQueryImpl(SqlStatement statement,
                    Name recordTypeName,
                    boolean trimLeading,
                    boolean trimTrailing)
Method Detail

getRecordTypeName

public Name getRecordTypeName()
Specified by:
getRecordTypeName in interface SqlQuery

isTrimLeading

public boolean isTrimLeading()
Specified by:
isTrimLeading in interface SqlQuery

isTrimTrailing

public boolean isTrimTrailing()
Specified by:
isTrimTrailing in interface SqlQuery

buildSql

public java.lang.String buildSql(ServiceContext context,
                                 Flow flow)
Specified by:
buildSql in interface SqlQuery