com.wewebu.ow.csqlc.ast
Class OwANDBooleanTerm
java.lang.Object
com.wewebu.ow.csqlc.ast.OwBooleanTerm
com.wewebu.ow.csqlc.ast.OwANDBooleanTerm
- All Implemented Interfaces:
- OwSearchCondition
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
- Since:
- 3.2.0.0
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AND
public static final String AND
- See Also:
- Constant Field Values
OwANDBooleanTerm
public OwANDBooleanTerm(OwBooleanTerm leftSideTerm_p,
OwBooleanFactor rightSideFactor_p)
- Parameters:
leftSideTerm_p
- the left side term of the AND operationrightSideFactor_p
- the right side factor of the AND operation
createBooleanTermSQLString
public StringBuilder createBooleanTermSQLString()
- Specified by:
createBooleanTermSQLString
in class OwBooleanTerm
- Returns:
- a
StringBuilder
filled with the string representation of this non-terminal
invalid operands are omitted
isValid
public boolean isValid()
- Returns:
true
if either of the operands is valid
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
asBooleanTest
public OwBooleanTest asBooleanTest()
Copyright © 2013 Alfresco Business Solutions. All Rights Reserved.