public class OwComparisonPredicate extends OwPredicate
SQL AST node : <comparison 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
| Constructor and Description |
|---|
OwComparisonPredicate(OwValueExpression valueExpression_p,
OwComparisonOperator operator_p,
OwLiteral literal_p) |
| Modifier and Type | Method and Description |
|---|---|
StringBuilder |
createPredicateSQLString() |
List<OwColumnQualifier> |
getColumnQualifiers() |
boolean |
isValid() |
createBooleanTestSQLString, isXConditionasBooleanTest, createBooleanFactorSQLStringcreateBooleanTermSQLStringcreateSearchConditionSQLStringpublic OwComparisonPredicate(OwValueExpression valueExpression_p, OwComparisonOperator operator_p, OwLiteral literal_p)
valueExpression_p - the value expression of this comparison terminal (left side operand)operator_p - the operator of this predicateliteral_p - the literal terminal of this comparison prdicatepublic StringBuilder createPredicateSQLString()
createPredicateSQLString in class OwPredicateStringBuilder filled with the string representation of this non-terminalpublic boolean isValid()
false if the literal terminal of this predicate is null-valued
true otherwiseOwLiteral.isNull()public List<OwColumnQualifier> getColumnQualifiers()
Copyright © 2014 Alfresco Business Solutions. All Rights Reserved.