com.wewebu.ow.csqlc.ast
Class OwSQLDateTimeLiteral
java.lang.Object
com.wewebu.ow.csqlc.ast.OwSQLDateTimeLiteral
- All Implemented Interfaces:
- OwLiteral
public class OwSQLDateTimeLiteral
- extends Object
- implements OwLiteral
SQL AST node : <date time literal> syntax terminal as defined by the SQL grammar.
Alfresco Workdesk
Copyright (c) Alfresco Software, Inc.
All rights reserved.
For licensing information read the license.txt file or
go to: http://wiki.alfresco.com
- Since:
- 3.2.0.0
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OwSQLDateTimeLiteral
public OwSQLDateTimeLiteral(Date date_p)
throws OwCSQLCException
- Throws:
OwCSQLCException
OwSQLDateTimeLiteral
public OwSQLDateTimeLiteral(GregorianCalendar calendar_p)
throws OwCSQLCException
- Throws:
OwCSQLCException
OwSQLDateTimeLiteral
public OwSQLDateTimeLiteral(XMLGregorianCalendar calendar_p)
- Constructor
- Parameters:
calendar_p
-
asString
protected String asString(XMLGregorianCalendar calendar_p)
createLiteral
protected String createLiteral(String dateString_p)
createLiteralSQLString
public StringBuilder createLiteralSQLString()
- Specified by:
createLiteralSQLString
in interface OwLiteral
- Returns:
- a
StringBuilder
filled with the string representation of this terminal
isNull
public boolean isNull()
- Specified by:
isNull
in interface OwLiteral
- Returns:
true
if the Date
value of this literal is null
false
otherwise
Copyright © 2013 Alfresco Business Solutions. All Rights Reserved.