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
Constructor and Description |
---|
OwSearchConditionBooleanTest(OwSearchCondition searchCondition_p) |
OwSearchConditionBooleanTest(OwSearchCondition searchCondition_p,
boolean preservePriority_p) |
Modifier and Type | Method and Description |
---|---|
StringBuilder |
createBooleanTestSQLString() |
List<OwColumnQualifier> |
getColumnQualifiers() |
boolean |
isValid() |
boolean |
isXCondition() |
asBooleanTest, createBooleanFactorSQLString
createBooleanTermSQLString
createSearchConditionSQLString
public OwSearchConditionBooleanTest(OwSearchCondition searchCondition_p)
public OwSearchConditionBooleanTest(OwSearchCondition searchCondition_p, boolean preservePriority_p)
public StringBuilder createBooleanTestSQLString()
createBooleanTestSQLString
in class OwBooleanTest
StringBuilder
filled with the string representation of this non-terminalpublic boolean isValid()
true
if the embedded search condition is valid
false
otherwiseOwSearchCondition.isValid()
public List<OwColumnQualifier> getColumnQualifiers()
public boolean isXCondition()
false
if this search condition refers other tables than the main FROM clause table
true
if this search condition refers the main FROM clause tableCopyright © 2014 Alfresco Business Solutions. All Rights Reserved.