com.wewebu.ow.csqlc.ast
Class OwXBooleanFactor

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

public class OwXBooleanFactor
extends OwBooleanFactor

SQL AST node : external class based boolean factor - used in multiple class search templates .

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
OwXBooleanFactor(OwBooleanFactor factor_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
 

Constructor Detail

OwXBooleanFactor

public OwXBooleanFactor(OwBooleanFactor factor_p)
Method Detail

createBooleanFactorSQLString

public StringBuilder createBooleanFactorSQLString()
Specified by:
createBooleanFactorSQLString in class OwBooleanFactor
Returns:
a StringBuilder filled with the string representation of this non-terminal

getColumnQualifiers

public List<OwColumnQualifier> getColumnQualifiers()

isValid

public boolean isValid()
Returns:
true if this search condition can produce a valid string representation through OwSearchCondition.createSearchConditionSQLString()
false if this search condition can NOT produce a valid string representation through OwSearchCondition.createSearchConditionSQLString()

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.