com.wewebu.ow.csqlc.ast
Class OwColumnReference

java.lang.Object
  extended by com.wewebu.ow.csqlc.ast.OwColumnReference
All Implemented Interfaces:
OwValueExpression

public class OwColumnReference
extends Object
implements OwValueExpression

SQL AST node : <column reference> 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
OwColumnReference(OwColumnQualifier qualifier_p, String columnName_p)
          Constructor
 
Method Summary
protected  String createColumnName()
           
 StringBuilder createValueExpressionSQLString()
           
 boolean equals(Object obj_p)
           
 String getColumnName()
           
 List<OwColumnQualifier> getColumnQualifiers()
           
 OwColumnQualifier getQualifier()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OwColumnReference

public OwColumnReference(OwColumnQualifier qualifier_p,
                         String columnName_p)
Constructor

Parameters:
qualifier_p - the String value of the qualifier terminal , can be null
columnName_p - the String value of the column name terminal
Method Detail

createValueExpressionSQLString

public StringBuilder createValueExpressionSQLString()
Specified by:
createValueExpressionSQLString in interface OwValueExpression
Returns:
a StringBuilder filled with the SQL string representation of this value expression

createColumnName

protected String createColumnName()

getQualifier

public OwColumnQualifier getQualifier()

getColumnQualifiers

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj_p)
Overrides:
equals in class Object

toString

public String toString()
Overrides:
toString in class Object

getColumnName

public String getColumnName()


Copyright © 2013 Alfresco Business Solutions. All Rights Reserved.