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
Constructor and Description |
---|
OwSQLDateTimeLiteral(Date date_p) |
OwSQLDateTimeLiteral(GregorianCalendar calendar_p) |
OwSQLDateTimeLiteral(XMLGregorianCalendar calendar_p)
Constructor
|
Modifier and Type | Method and Description |
---|---|
protected String |
asString(XMLGregorianCalendar calendar_p) |
protected String |
createLiteral(String dateString_p) |
StringBuilder |
createLiteralSQLString() |
boolean |
isNull() |
public OwSQLDateTimeLiteral(Date date_p) throws OwCSQLCException
OwCSQLCException
public OwSQLDateTimeLiteral(GregorianCalendar calendar_p) throws OwCSQLCException
OwCSQLCException
public OwSQLDateTimeLiteral(XMLGregorianCalendar calendar_p)
calendar_p
- protected String asString(XMLGregorianCalendar calendar_p)
public StringBuilder createLiteralSQLString()
createLiteralSQLString
in interface OwLiteral
StringBuilder
filled with the string representation of this terminalCopyright © 2014 Alfresco Business Solutions. All Rights Reserved.