com.wewebu.ow.csqlc.ast
Class OwNullPredicate

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

public class OwNullPredicate
extends OwPredicate

SQL AST node : <null predicatet> 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 IS_NOT_NULL
           
static String IS_NULL
           
 
Constructor Summary
OwNullPredicate(OwColumnReference columnReference_p, boolean negated_p)
          Constructor
 
Method Summary
 StringBuilder createPredicateSQLString()
           
 List<OwColumnQualifier> getColumnQualifiers()
           
 boolean isValid()
           
 
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
 

Field Detail

IS_NULL

public static final String IS_NULL
See Also:
Constant Field Values

IS_NOT_NULL

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

OwNullPredicate

public OwNullPredicate(OwColumnReference columnReference_p,
                       boolean negated_p)
Constructor

Parameters:
columnReference_p - the column reference operand, must not be null
Method Detail

createPredicateSQLString

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

isValid

public boolean isValid()
Returns:
always true

getColumnQualifiers

public List<OwColumnQualifier> getColumnQualifiers()


Copyright © 2013 Alfresco Business Solutions. All Rights Reserved.