public class WhereClauseExpression extends Object
| Constructor and Description | 
|---|
| WhereClauseExpression(Object lValue,
                     SqlEnum operator,
                     Object rValue,
                     String sql,
                     Object[] preparedStatementReplacements)Constructor. | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | equals(Object obj) | 
| Object | getLValue()Returns the value on the left hand side of the operator of the
 expression. | 
| SqlEnum | getOperator()Returns the value on the operator of the expression. | 
| Object[] | getPreparedStatementReplacements()Returns the values for the placeholders in the verbatim sql condition. | 
| Object | getRValue()Returns the value on the right hand side of the operator of the
 expression. | 
| String | getSql()Returns the verbatim sql for this expression, if any. | 
| int | hashCode() | 
| boolean | isVerbatimSqlCondition()Returns whether this expression represents a verbatim sql condition. | 
| void | setLValue(Object lValue)Sets the value on the left hand side of the operator of the
 expression. | 
| void | setOperator(SqlEnum operator)Sets the value on the operator of the expression. | 
| void | setRValue(Object rValue)Sets the value on the right hand side of the operator of the
 expression. | 
| String | toString() | 
public WhereClauseExpression(Object lValue, SqlEnum operator, Object rValue, String sql, Object[] preparedStatementReplacements)
lValue - The value on the left hand side of the operator of the
        expression. The value represents the name of a database column.operator - the operator. Either this parameter or sql must be
        not null.rValue - The value on the right hand side of the operator of the
        expression. The value represents the name of a database column.sql - a verbatim sql condition. Either this parameter or
        operator must be not null.preparedStatementReplacements - Values for the placeholders
        in the verbatim sql condition.public Object getLValue()
public void setLValue(Object lValue)
lValue - the value to set, not null or empty.IllegalArgumentException - if lValue is null or empty.public SqlEnum getOperator()
public void setOperator(SqlEnum operator)
operator - the value to set, or null fo no operator.public Object getRValue()
public void setRValue(Object rValue)
rValue - the value to set, or null for the empty String.public String getSql()
public Object[] getPreparedStatementReplacements()
public boolean isVerbatimSqlCondition()
Copyright © 2000–2020 The Apache Software Foundation. All rights reserved.