org.sql.generation.implementation.grammar.literals
Class SQLFunctionLiteralImpl

java.lang.Object
  extended by org.atp.spi.TypeableImpl<BaseInterfaceType,ActualInterfaceType>
      extended by org.sql.generation.implementation.grammar.common.SQLSyntaxElementBase<ValueExpression,ExpressionType>
          extended by org.sql.generation.implementation.grammar.common.NonBooleanExpressionImpl<SQLFunctionLiteral>
              extended by org.sql.generation.implementation.grammar.literals.SQLFunctionLiteralImpl
All Implemented Interfaces:
org.atp.api.Typeable<ValueExpression>, NonBooleanExpression, ValueExpression, LiteralExpression, SQLFunctionLiteral

public class SQLFunctionLiteralImpl
extends NonBooleanExpressionImpl<SQLFunctionLiteral>
implements SQLFunctionLiteral

Author:
Stanislav Muhametsin

Constructor Summary
protected SQLFunctionLiteralImpl(SQLProcessorAggregator processor, Class<? extends SQLFunctionLiteral> implClass, String name, List<ValueExpression> parameters)
           
  SQLFunctionLiteralImpl(SQLProcessorAggregator processor, String name, List<ValueExpression> parameters)
           
  SQLFunctionLiteralImpl(SQLProcessorAggregator processor, String name, ValueExpression... parameters)
           
 
Method Summary
protected  boolean doesEqual(SQLFunctionLiteral another)
           
 String getFunctionName()
           
 List<ValueExpression> getParameters()
           
 
Methods inherited from class org.sql.generation.implementation.grammar.common.SQLSyntaxElementBase
toString
 
Methods inherited from class org.atp.spi.TypeableImpl
bothNullOrEquals, equals, getImplementedType
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.atp.api.Typeable
getImplementedType
 

Constructor Detail

SQLFunctionLiteralImpl

public SQLFunctionLiteralImpl(SQLProcessorAggregator processor,
                              String name,
                              ValueExpression... parameters)

SQLFunctionLiteralImpl

public SQLFunctionLiteralImpl(SQLProcessorAggregator processor,
                              String name,
                              List<ValueExpression> parameters)

SQLFunctionLiteralImpl

protected SQLFunctionLiteralImpl(SQLProcessorAggregator processor,
                                 Class<? extends SQLFunctionLiteral> implClass,
                                 String name,
                                 List<ValueExpression> parameters)
Method Detail

getFunctionName

public String getFunctionName()
Specified by:
getFunctionName in interface SQLFunctionLiteral

getParameters

public List<ValueExpression> getParameters()
Specified by:
getParameters in interface SQLFunctionLiteral

doesEqual

protected boolean doesEqual(SQLFunctionLiteral another)
Specified by:
doesEqual in class org.atp.spi.TypeableImpl<ValueExpression,SQLFunctionLiteral>


Copyright © 2010-2012. All Rights Reserved.