com.wewebu.ow.csqlc.ast
Class OwPredicate

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
All Implemented Interfaces:
OwSearchCondition
Direct Known Subclasses:
OwBetweenPredicate, OwComparisonPredicate, OwFolderPredicate, OwFormatPredicate, OwNullPredicate, OwSearchConditionPredicate, OwTextSearchPredicate, OwUndefinedPredicate

public abstract class OwPredicate
extends OwBooleanTest

SQL AST node : <predicate> 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

Constructor Summary
OwPredicate()
           
 
Method Summary
 StringBuilder createBooleanTestSQLString()
           
abstract  StringBuilder createPredicateSQLString()
           
 boolean 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
 
Methods inherited from interface com.wewebu.ow.csqlc.ast.OwSearchCondition
getColumnQualifiers, isValid
 

Constructor Detail

OwPredicate

public OwPredicate()
Method Detail

createPredicateSQLString

public abstract StringBuilder createPredicateSQLString()
Returns:
a StringBuilder filled with the string representation of this non-terminal

createBooleanTestSQLString

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

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


Copyright © 2013 Alfresco Business Solutions. All Rights Reserved.