public class OwANDBooleanTerm extends OwBooleanTerm
SQL AST node : AND operator implementation of the <boolean term> 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 |
---|
OwANDBooleanTerm(OwBooleanTerm leftSideTerm_p,
OwBooleanFactor rightSideFactor_p) |
Modifier and Type | Method and Description |
---|---|
OwBooleanTest |
asBooleanTest() |
StringBuilder |
createBooleanTermSQLString() |
List<OwColumnQualifier> |
getColumnQualifiers() |
boolean |
isValid() |
boolean |
isXCondition() |
createSearchConditionSQLString
public static final String AND
public OwANDBooleanTerm(OwBooleanTerm leftSideTerm_p, OwBooleanFactor rightSideFactor_p)
leftSideTerm_p
- the left side term of the AND operationrightSideFactor_p
- the right side factor of the AND operationpublic StringBuilder createBooleanTermSQLString()
createBooleanTermSQLString
in class OwBooleanTerm
StringBuilder
filled with the string representation of this non-terminal public boolean isValid()
true
if either of the operands is validpublic 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 tablepublic OwBooleanTest asBooleanTest()
Copyright © 2014 Alfresco Business Solutions. All Rights Reserved.