com.wewebu.ow.csqlc.ast
Class OwSignedNumericLiteral

java.lang.Object
  extended by com.wewebu.ow.csqlc.ast.OwSignedNumericLiteral
All Implemented Interfaces:
OwLiteral

public class OwSignedNumericLiteral
extends Object
implements OwLiteral

SQL AST node : <signed numeric 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

Field Summary
static NumberFormat NUMERIC_FORMAT
           
 
Constructor Summary
OwSignedNumericLiteral(Number number_p)
          Constructor
 
Method Summary
 StringBuilder createLiteralSQLString()
           
 boolean isNull()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NUMERIC_FORMAT

public static final NumberFormat NUMERIC_FORMAT
Constructor Detail

OwSignedNumericLiteral

public OwSignedNumericLiteral(Number number_p)
Constructor

Parameters:
number_p - the Number value of this literal, can be null
Method Detail

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 Number value of this literal is null
false otherwise


Copyright © 2013 Alfresco Business Solutions. All Rights Reserved.