com.ontimize.db
Class SQLStatementBuilder.BasicExpression
java.lang.Object
com.ontimize.db.SQLStatementBuilder.BasicExpression
- All Implemented Interfaces:
- java.io.Serializable, SQLStatementBuilder.Expression
- Enclosing class:
- SQLStatementBuilder
- public static class SQLStatementBuilder.BasicExpression
- extends java.lang.Object
- implements SQLStatementBuilder.Expression
Default implementation of Expression interfaces. This class
is processed by ExtendedSQLConditionValuesProcessor for
created a condition string.
This class stored the required information to create a condition to a SQL
Statement
- Author:
- Imatia Innovation S.L
- See Also:
SQLStatementBuilder.ExtendedSQLConditionValuesProcessor,
Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEBUG
public static boolean DEBUG
leftOperand
protected java.lang.Object leftOperand
rightOperand
protected java.lang.Object rightOperand
operator
protected SQLStatementBuilder.Operator operator
SQLStatementBuilder.BasicExpression
public SQLStatementBuilder.BasicExpression(java.lang.Object lo,
SQLStatementBuilder.Operator o,
java.lang.Object ro)
getLeftOperand
public java.lang.Object getLeftOperand()
- Specified by:
getLeftOperand in interface SQLStatementBuilder.Expression
setLeftOperand
public void setLeftOperand(java.lang.Object o)
- Specified by:
setLeftOperand in interface SQLStatementBuilder.Expression
getRightOperand
public java.lang.Object getRightOperand()
- Specified by:
getRightOperand in interface SQLStatementBuilder.Expression
setRightOperand
public void setRightOperand(java.lang.Object o)
- Specified by:
setRightOperand in interface SQLStatementBuilder.Expression
getOperator
public SQLStatementBuilder.Operator getOperator()
- Specified by:
getOperator in interface SQLStatementBuilder.Expression
setOperator
public void setOperator(SQLStatementBuilder.Operator o)
- Specified by:
setOperator in interface SQLStatementBuilder.Expression
evaluate
public boolean evaluate(java.util.Map m)
- Specified by:
evaluate in interface SQLStatementBuilder.Expression