com.wewebu.ow.csqlc.ast
Class OwSelectSublist

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

public class OwSelectSublist
extends Object
implements OwSelectList

SQL AST node : <select sublist> 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

Field Summary
static String AS
           
 
Constructor Summary
OwSelectSublist(OwValueExpression valueExpression_p)
          Constructor
OwSelectSublist(OwValueExpression valueExpression_p, String columnName_p)
           
 
Method Summary
 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
 

Field Detail

AS

public static final String AS
See Also:
Constant Field Values
Constructor Detail

OwSelectSublist

public OwSelectSublist(OwValueExpression valueExpression_p)
Constructor

Parameters:
valueExpression_p - the value expression of this select column

OwSelectSublist

public OwSelectSublist(OwValueExpression valueExpression_p,
                       String columnName_p)
Parameters:
valueExpression_p - the value expression of this select column
columnName_p - the "AS" column name , can be null
Method Detail

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.