com.wewebu.ow.csqlc.ast
Class OwSortSpecification

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

public class OwSortSpecification
extends Object

SQL AST node : <sort specification> 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 ASC
           
static String DESC
           
 
Constructor Summary
OwSortSpecification(OwColumnReference columnReferences_p)
          Constructor
OwSortSpecification(OwColumnReference columnReferences_p, boolean ascending_p)
          Constructor
 
Method Summary
 StringBuilder createSortSpecificationSQLString()
           
 List<OwColumnQualifier> getColumnQualifiers()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ASC

public static final String ASC
See Also:
Constant Field Values

DESC

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

OwSortSpecification

public OwSortSpecification(OwColumnReference columnReferences_p)
Constructor

Parameters:
columnReferences_p -

OwSortSpecification

public OwSortSpecification(OwColumnReference columnReferences_p,
                           boolean ascending_p)
Constructor

Parameters:
columnReferences_p -
ascending_p - true for an "ASC" sort specification
false for a "DESC" sort specification
Method Detail

createSortSpecificationSQLString

public StringBuilder createSortSpecificationSQLString()
Returns:
a StringBuilder filled with the String representation of this sort specification

getColumnQualifiers

public List<OwColumnQualifier> getColumnQualifiers()


Copyright © 2013 Alfresco Business Solutions. All Rights Reserved.