com.wewebu.ow.csqlc.ast
Class OwORSearchCondition
java.lang.Object
com.wewebu.ow.csqlc.ast.OwORSearchCondition
- All Implemented Interfaces:
- OwSearchCondition
public class OwORSearchCondition
- extends Object
- implements OwSearchCondition
SQL AST node : OR operator implementation of the <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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OR
public static final String OR
- See Also:
- Constant Field Values
OwORSearchCondition
public OwORSearchCondition(OwSearchCondition leftSideCondition_p,
OwBooleanTerm rightSideTerm_p)
createSearchConditionSQLString
public StringBuilder createSearchConditionSQLString()
- Specified by:
createSearchConditionSQLString
in interface OwSearchCondition
- Returns:
- a
StringBuilder
filled with the string representation of this non-terminal
invalid operands are omitted
isValid
public boolean isValid()
- Specified by:
isValid
in interface OwSearchCondition
- Returns:
true
if either of the operands is valid
getColumnQualifiers
public List<OwColumnQualifier> getColumnQualifiers()
- Specified by:
getColumnQualifiers
in interface OwSearchCondition
isXCondition
public boolean isXCondition()
- Specified by:
isXCondition
in interface OwSearchCondition
- 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()
- Specified by:
asBooleanTest
in interface OwSearchCondition
Copyright © 2013 Alfresco Business Solutions. All Rights Reserved.