com.wewebu.ow.csqlc.ast
Interface OwSearchCondition

All Known Implementing Classes:
OwANDBooleanTerm, OwBetweenPredicate, OwBooleanFactor, OwBooleanTerm, OwBooleanTest, OwComparisonPredicate, OwFolderPredicate, OwFormatPredicate, OwInPredicate, OwLikePredicate, OwNOTBooleanFactor, OwNullPredicate, OwORSearchCondition, OwPredicate, OwQuantifiedComparisonPredicate, OwQuantifiedInPredicate, OwSearchConditionBooleanTest, OwSearchConditionPredicate, OwTextSearchPredicate, OwUndefinedPredicate, OwXBooleanFactor

public interface OwSearchCondition

SQL AST node : <search condition> 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

Method Summary
 OwBooleanTest asBooleanTest()
           
 StringBuilder createSearchConditionSQLString()
           
 List<OwColumnQualifier> getColumnQualifiers()
           
 boolean isValid()
           
 boolean isXCondition()
           
 

Method Detail

isValid

boolean isValid()
Returns:
true if this search condition can produce a valid string representation through createSearchConditionSQLString()
false if this search condition can NOT produce a valid string representation through createSearchConditionSQLString()

isXCondition

boolean isXCondition()
Returns:
false if this search condition refers other tables than the main FROM clause table true if this search condition refers the main FROM clause table
Since:
3.2.0.0

createSearchConditionSQLString

StringBuilder createSearchConditionSQLString()
Returns:
a StringBuilder filled with the string representation of this non-terminal

getColumnQualifiers

List<OwColumnQualifier> getColumnQualifiers()

asBooleanTest

OwBooleanTest asBooleanTest()


Copyright © 2013 Alfresco Business Solutions. All Rights Reserved.