com.wewebu.ow.csqlc.ast
Class OwNOTBooleanFactor

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.OwNOTBooleanFactor
All Implemented Interfaces:
OwSearchCondition

public class OwNOTBooleanFactor
extends OwBooleanFactor

SQL AST node : NOT operator implementation of the <boolean factor> 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

Field Summary
static String NOT
           
 
Constructor Summary
OwNOTBooleanFactor(OwBooleanTest booleanTest_p)
           
 
Method Summary
 OwBooleanTest asBooleanTest()
           
 StringBuilder createBooleanFactorSQLString()
           
 List<OwColumnQualifier> getColumnQualifiers()
           
 boolean isValid()
           
 boolean isXCondition()
           
 
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
 

Field Detail

NOT

public static final String NOT
See Also:
Constant Field Values
Constructor Detail

OwNOTBooleanFactor

public OwNOTBooleanFactor(OwBooleanTest booleanTest_p)
Parameters:
booleanTest_p - the boolean test to negate
Method Detail

createBooleanFactorSQLString

public StringBuilder createBooleanFactorSQLString()
Specified by:
createBooleanFactorSQLString in class OwBooleanFactor
Returns:
a StringBuilder filled with the string representation of this non-terminal
an empty StringBuilder if this non-terminal is inValid
See Also:
isValid()

isValid

public boolean isValid()
Returns:
true if the negated boolean test is valid
false otherwise

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.