com.wewebu.ow.csqlc.ast
Class OwSearchConditionBooleanTest

java.lang.Object
  extended by com.wewebu.ow.csqlc.ast.OwBooleanTerm
      extended by com.wewebu.ow.csqlc.ast.OwBooleanFactor
          extended by com.wewebu.ow.csqlc.ast.OwBooleanTest
              extended by com.wewebu.ow.csqlc.ast.OwSearchConditionBooleanTest
All Implemented Interfaces:
OwSearchCondition

public class OwSearchConditionBooleanTest
extends OwBooleanTest

SQL AST node : sub search condition embedding
<boolean term>:='(' <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

Constructor Summary
OwSearchConditionBooleanTest(OwSearchCondition searchCondition_p)
           
OwSearchConditionBooleanTest(OwSearchCondition searchCondition_p, boolean preservePriority_p)
           
 
Method Summary
 StringBuilder createBooleanTestSQLString()
           
 List<OwColumnQualifier> getColumnQualifiers()
           
 boolean isValid()
           
 boolean isXCondition()
           
 
Methods inherited from class com.wewebu.ow.csqlc.ast.OwBooleanTest
asBooleanTest, createBooleanFactorSQLString
 
Methods inherited from class com.wewebu.ow.csqlc.ast.OwBooleanFactor
createBooleanTermSQLString
 
Methods inherited from class com.wewebu.ow.csqlc.ast.OwBooleanTerm
createSearchConditionSQLString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OwSearchConditionBooleanTest

public OwSearchConditionBooleanTest(OwSearchCondition searchCondition_p)

OwSearchConditionBooleanTest

public OwSearchConditionBooleanTest(OwSearchCondition searchCondition_p,
                                    boolean preservePriority_p)
Method Detail

createBooleanTestSQLString

public StringBuilder createBooleanTestSQLString()
Specified by:
createBooleanTestSQLString in class OwBooleanTest
Returns:
a StringBuilder filled with the string representation of this non-terminal

isValid

public boolean isValid()
Returns:
true if the embedded search condition is valid false otherwise
See Also:
OwSearchCondition.isValid()

getColumnQualifiers

public List<OwColumnQualifier> getColumnQualifiers()

isXCondition

public 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


Copyright © 2013 Alfresco Business Solutions. All Rights Reserved.