com.wewebu.ow.csqlc.ast
Class OwJoinedTable

java.lang.Object
  extended by com.wewebu.ow.csqlc.ast.OwJoinedTable
All Implemented Interfaces:
OwTableReference

public class OwJoinedTable
extends Object
implements OwTableReference

SQL AST node : <joined table> 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 JOIN
           
 
Constructor Summary
OwJoinedTable(OwTableReference tableReference1_p, OwJoinType joinType_p, OwTableReference tableReference2_p, OwJoinSpecification joinSpecification_p)
          Constructor
OwJoinedTable(OwTableReference tableReference1_p, OwTableReference tableReference2_p, OwJoinSpecification joinSpecification_p)
          Constructor - default join type
 
Method Summary
 StringBuilder createTableReferenceSQLString()
           
 List<OwColumnQualifier> getColumnQualifiers()
           
 OwColumnQualifier getMainTableQualifier()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

JOIN

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

OwJoinedTable

public OwJoinedTable(OwTableReference tableReference1_p,
                     OwTableReference tableReference2_p,
                     OwJoinSpecification joinSpecification_p)
Constructor - default join type

Parameters:
tableReference1_p - the left side table reference
tableReference2_p - the right side table reference
joinSpecification_p - the join specification

OwJoinedTable

public OwJoinedTable(OwTableReference tableReference1_p,
                     OwJoinType joinType_p,
                     OwTableReference tableReference2_p,
                     OwJoinSpecification joinSpecification_p)
Constructor

Parameters:
tableReference1_p - the left side table reference
joinType_p - the join type
tableReference2_p - the right side table reference
joinSpecification_p - the join specification
Method Detail

createTableReferenceSQLString

public StringBuilder createTableReferenceSQLString()
Specified by:
createTableReferenceSQLString in interface OwTableReference
Returns:
a StringBuilder filled with the String representation of this table reference

getColumnQualifiers

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

getMainTableQualifier

public OwColumnQualifier getMainTableQualifier()
Specified by:
getMainTableQualifier in interface OwTableReference


Copyright © 2013 Alfresco Business Solutions. All Rights Reserved.