com.wewebu.ow.csqlc.ast
Class OwCorrelatedTableName

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

public class OwCorrelatedTableName
extends Object
implements OwTableReference

SQL AST node : a table name with correlation syntax non-terminal as defined by the SQL grammar.
<table name>[[AS] <correlation name>];

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
OwCorrelatedTableName(String tableName_p, OwColumnQualifier qualifier_p)
          Constructor
 
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

AS

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

OwCorrelatedTableName

public OwCorrelatedTableName(String tableName_p,
                             OwColumnQualifier qualifier_p)
Constructor

Parameters:
tableName_p - the <table name> terminal String representation
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.