com.wewebu.ow.csqlc.ast
Class OwQuantifiedInPredicate

java.lang.Object
  extended by com.wewebu.ow.csqlc.ast.OwBooleanTerm
      extended by com.wewebu.ow.csqlc.ast.OwBooleanFactor
          extended by com.wewebu.ow.csqlc.ast.OwBooleanTest
              extended by com.wewebu.ow.csqlc.ast.OwPredicate
                  extended by com.wewebu.ow.csqlc.ast.OwFormatPredicate
                      extended by com.wewebu.ow.csqlc.ast.OwQuantifiedInPredicate
All Implemented Interfaces:
OwSearchCondition

public class OwQuantifiedInPredicate
extends OwFormatPredicate

SQL AST node : <quantified in predicate> based on syntax non-terminal 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

Constructor Summary
OwQuantifiedInPredicate(OwColumnReference columnReference_p, OwInValueList inValueList_p, boolean negated_p, OwPredicateFormat format_p)
          Constructor
 
Method Summary
protected  StringBuilder createLeftOperand()
           
protected  StringBuilder createRightOperand()
           
 List<OwColumnQualifier> getColumnQualifiers()
           
 boolean isValid()
           
 
Methods inherited from class com.wewebu.ow.csqlc.ast.OwFormatPredicate
createPredicateSQLString
 
Methods inherited from class com.wewebu.ow.csqlc.ast.OwPredicate
createBooleanTestSQLString, isXCondition
 
Methods inherited from class com.wewebu.ow.csqlc.ast.OwBooleanTest
asBooleanTest, createBooleanFactorSQLString
 
Methods inherited from class com.wewebu.ow.csqlc.ast.OwBooleanFactor
createBooleanTermSQLString
 
Methods inherited from class com.wewebu.ow.csqlc.ast.OwBooleanTerm
createSearchConditionSQLString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OwQuantifiedInPredicate

public OwQuantifiedInPredicate(OwColumnReference columnReference_p,
                               OwInValueList inValueList_p,
                               boolean negated_p,
                               OwPredicateFormat format_p)
Constructor

Parameters:
columnReference_p - the column reference operand, must not be null
inValueList_p - the in list values literal operand , must not be null
negated_p - true for a negated operand (ie. NOT IN) false otherwise (ie. IN)
See Also:
OwInValueList.isValid()
Method Detail

isValid

public boolean isValid()
Returns:
true if character in value list literal operand is valid false otherwise
See Also:
OwInValueList.isValid()

getColumnQualifiers

public List<OwColumnQualifier> getColumnQualifiers()

createLeftOperand

protected StringBuilder createLeftOperand()
Specified by:
createLeftOperand in class OwFormatPredicate

createRightOperand

protected StringBuilder createRightOperand()
Specified by:
createRightOperand in class OwFormatPredicate


Copyright © 2013 Alfresco Business Solutions. All Rights Reserved.