com.wewebu.ow.csqlc.ast
Class OwFormatPredicate

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
All Implemented Interfaces:
OwSearchCondition
Direct Known Subclasses:
OwInPredicate, OwLikePredicate, OwQuantifiedComparisonPredicate, OwQuantifiedInPredicate

public abstract class OwFormatPredicate
extends OwPredicate

SQL standard form predicate (prefix leftOPerand operator rightOperand suffix) AST node.

Since:
3.2.0.0
See Also:

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 Summary
OwFormatPredicate(OwPredicateFormat format_p, boolean negated_p)
           
 
Method Summary
protected abstract  StringBuilder createLeftOperand()
           
 StringBuilder createPredicateSQLString()
           
protected abstract  StringBuilder createRightOperand()
           
 
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
 
Methods inherited from interface com.wewebu.ow.csqlc.ast.OwSearchCondition
getColumnQualifiers, isValid
 

Constructor Detail

OwFormatPredicate

public OwFormatPredicate(OwPredicateFormat format_p,
                         boolean negated_p)
Method Detail

createLeftOperand

protected abstract StringBuilder createLeftOperand()

createRightOperand

protected abstract StringBuilder createRightOperand()

createPredicateSQLString

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


Copyright © 2013 Alfresco Business Solutions. All Rights Reserved.