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

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

public class TimestampLiteralImpl
extends NonBooleanExpressionImpl<TimestampTimeLiteral>
implements TimestampTimeLiteral

Author:
Stanislav Muhametsin

Constructor Summary
protected TimestampLiteralImpl(SQLProcessorAggregator processor, Class<? extends TimestampTimeLiteral> implClass, Timestamp date)
           
  TimestampLiteralImpl(SQLProcessorAggregator processor, Timestamp date)
           
 
Method Summary
protected  boolean doesEqual(TimestampTimeLiteral another)
           
 Timestamp getTimestamp()
           
 
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

TimestampLiteralImpl

public TimestampLiteralImpl(SQLProcessorAggregator processor,
                            Timestamp date)

TimestampLiteralImpl

protected TimestampLiteralImpl(SQLProcessorAggregator processor,
                               Class<? extends TimestampTimeLiteral> implClass,
                               Timestamp date)
Method Detail

getTimestamp

public Timestamp getTimestamp()
Specified by:
getTimestamp in interface TimestampTimeLiteral

doesEqual

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


Copyright © 2010-2012. All Rights Reserved.