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

java.lang.Object
  extended by org.atp.spi.TypeableImpl<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(Class<? extends NumericLiteral> implClass, Number number)
           
  NumericLiteralImpl(Number number)
           
 
Method Summary
protected  boolean doesEqual(NumericLiteral another)
           
 Number getNumber()
           
 
Methods inherited from class org.atp.spi.TypeableImpl
bothNullOrEquals, equals, getImplementedType
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.atp.api.Typeable
getImplementedType
 

Constructor Detail

NumericLiteralImpl

public NumericLiteralImpl(Number number)

NumericLiteralImpl

protected NumericLiteralImpl(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. All Rights Reserved.