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
Constructor and Description |
---|
OwORSearchCondition(OwSearchCondition leftSideCondition_p,
OwBooleanTerm rightSideTerm_p) |
Modifier and Type | Method and Description |
---|---|
OwBooleanTest |
asBooleanTest() |
StringBuilder |
createSearchConditionSQLString() |
List<OwColumnQualifier> |
getColumnQualifiers() |
boolean |
isValid() |
boolean |
isXCondition() |
public static final String OR
public OwORSearchCondition(OwSearchCondition leftSideCondition_p, OwBooleanTerm rightSideTerm_p)
public StringBuilder createSearchConditionSQLString()
createSearchConditionSQLString
in interface OwSearchCondition
StringBuilder
filled with the string representation of this non-terminal public boolean isValid()
isValid
in interface OwSearchCondition
true
if either of the operands is validpublic List<OwColumnQualifier> getColumnQualifiers()
getColumnQualifiers
in interface OwSearchCondition
public boolean isXCondition()
isXCondition
in interface OwSearchCondition
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()
asBooleanTest
in interface OwSearchCondition
Copyright © 2014 Alfresco Business Solutions. All Rights Reserved.