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

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<NumericLiteral>
              extended by org.sql.generation.implementation.grammar.literals.NumericLiteralImpl
All Implemented Interfaces:
org.atp.api.Typeable<ValueExpression>, NonBooleanExpression, ValueExpression, LiteralExpression, NumericLiteral

public class NumericLiteralImpl
extends NonBooleanExpressionImpl<NumericLiteral>
implements NumericLiteral

Author:
Stanislav Muhametsin

Constructor Summary
protected NumericLiteralImpl(SQLProcessorAggregator processor, Class<? extends NumericLiteral> implClass, Number number)
           
  NumericLiteralImpl(SQLProcessorAggregator processor, Number number)
           
 
Method Summary
protected  boolean doesEqual(NumericLiteral another)
           
 Number getNumber()
           
 
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

NumericLiteralImpl

public NumericLiteralImpl(SQLProcessorAggregator processor,
                          Number number)

NumericLiteralImpl

protected NumericLiteralImpl(SQLProcessorAggregator processor,
                             Class<? extends NumericLiteral> implClass,
                             Number number)
Method Detail

getNumber

public Number getNumber()
Specified by:
getNumber in interface NumericLiteral

doesEqual

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


Copyright © 2010-2012. All Rights Reserved.