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

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

public class DateTimeLiteralImpl
extends NonBooleanExpressionImpl<DateTimeLiteral>
implements DateTimeLiteral

Author:
Stanislav Muhametsin

Constructor Summary
protected DateTimeLiteralImpl(Class<? extends DateTimeLiteral> implClass, Date date)
           
  DateTimeLiteralImpl(Date date)
           
 
Method Summary
protected  boolean doesEqual(DateTimeLiteral another)
           
 Date getDate()
           
 
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

DateTimeLiteralImpl

public DateTimeLiteralImpl(Date date)

DateTimeLiteralImpl

protected DateTimeLiteralImpl(Class<? extends DateTimeLiteral> implClass,
                              Date date)
Method Detail

getDate

public Date getDate()
Specified by:
getDate in interface DateTimeLiteral

doesEqual

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


Copyright © 2010. All Rights Reserved.