com.wewebu.ow.csqlc.ast
Class OwInValueList

java.lang.Object
  extended by com.wewebu.ow.csqlc.ast.OwInValueList

public class OwInValueList
extends Object

SQL AST node : <in value list> syntax non-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

Constructor Summary
OwInValueList()
           
 
Method Summary
 void addLiteral(OwLiteral literal_p)
          Adds the given literal to this list of literals
 StringBuilder createInValueListSQLString()
           
 boolean isValid()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OwInValueList

public OwInValueList()
Method Detail

addLiteral

public void addLiteral(OwLiteral literal_p)
Adds the given literal to this list of literals

Parameters:
literal_p - literal to add, must not be null

isValid

public boolean isValid()
Returns:
true if this list of literals is not empty and at least one of the literas is not null-valued false otherwise
See Also:
OwLiteral.isNull()

createInValueListSQLString

public StringBuilder createInValueListSQLString()
Returns:
a StringBuilder filled with the String representation of this in value list; null-valued literals are omitted
See Also:
OwLiteral.isNull()


Copyright © 2013 Alfresco Business Solutions. All Rights Reserved.