com.wewebu.ow.csqlc.ast
Class OwCompoundSelectList

java.lang.Object
  extended by com.wewebu.ow.csqlc.ast.OwCompoundSelectList
All Implemented Interfaces:
OwSelectList

public class OwCompoundSelectList
extends Object
implements OwSelectList

SQL AST node : an container of <select list>s implementation of the <select 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
See Also:
OwSelectSublist

Constructor Summary
OwCompoundSelectList()
           
 
Method Summary
 void add(OwSelectSublist sublist_p)
          Adds the given <select list> to the list of <select list>s that this select list composed of.
 boolean containsColumnReference(String tableName, String columnReferenceName)
           
 StringBuilder createSelectListSQLString()
           
 List<OwColumnQualifier> getColumnQualifiers()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OwCompoundSelectList

public OwCompoundSelectList()
Method Detail

add

public void add(OwSelectSublist sublist_p)
Adds the given <select list> to the list of <select list>s that this select list composed of.

Parameters:
sublist_p -

createSelectListSQLString

public StringBuilder createSelectListSQLString()
Specified by:
createSelectListSQLString in interface OwSelectList
Returns:
the SQL string representation of this select list

getColumnQualifiers

public List<OwColumnQualifier> getColumnQualifiers()
Specified by:
getColumnQualifiers in interface OwSelectList

containsColumnReference

public boolean containsColumnReference(String tableName,
                                       String columnReferenceName)
Specified by:
containsColumnReference in interface OwSelectList
Returns:
true if tableName.columnName is part of this statement's select.


Copyright © 2013 Alfresco Business Solutions. All Rights Reserved.