com.wewebu.ow.csqlc.ast
Class OwOrderByClause

java.lang.Object
  extended by com.wewebu.ow.csqlc.ast.OwOrderByClause

public class OwOrderByClause
extends Object

SQL AST node : <order by clause> 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 ORDER_BY
           
 
Constructor Summary
OwOrderByClause()
           
 
Method Summary
 void add(OwSortSpecification sortSpecification_p)
          Adds the given sort specification to this order by clause
 StringBuilder createOrderByClauseSQLString()
           
 List<OwColumnQualifier> getColumnQualifiers()
           
 boolean isValid()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ORDER_BY

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

OwOrderByClause

public OwOrderByClause()
Method Detail

add

public void add(OwSortSpecification sortSpecification_p)
Adds the given sort specification to this order by clause

Parameters:
sortSpecification_p -

createOrderByClauseSQLString

public StringBuilder createOrderByClauseSQLString()
Returns:
a StringBuilder filled with the String representation of this order by clause; an empty String for an invalid order by clause

isValid

public boolean isValid()
Returns:
true if this order by clause contains at least one sort specification
false otherwise

getColumnQualifiers

public List<OwColumnQualifier> getColumnQualifiers()


Copyright © 2013 Alfresco Business Solutions. All Rights Reserved.