|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectde.unidu.is.expressions.AbstractExpression
de.unidu.is.expressions.BinaryStandardFunctionExpression
An expression for binary functions without preceding ampersend.
| Field Summary | |
protected Expression |
arg1
First argument of this expression. |
protected Expression |
arg2
Second argument of this expression. |
protected java.lang.String |
funcName
Function name. |
| Constructor Summary | |
BinaryStandardFunctionExpression(java.lang.String funcName,
Expression arg1,
Expression arg2)
Creates a new expression object. |
|
| Method Summary | |
Expression |
getArg1()
Returns the first argument. |
Expression |
getArg2()
Returns the second argument. |
java.lang.String |
getFunctionName()
Returns the function name. |
java.lang.String |
getSQLTemplate()
Returns a string representation for this expression which can be used as a template in an SQL statement. |
Expression |
substitute(java.util.Map binding)
Performs an substitution for variables, e.g. for each key variable in the specified binding, all occurences of
${key} are replaced by the corresponding value in the
map. |
java.lang.String |
toString()
Returns the expression. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected java.lang.String funcName
protected Expression arg1
protected Expression arg2
| Constructor Detail |
public BinaryStandardFunctionExpression(java.lang.String funcName,
Expression arg1,
Expression arg2)
funcName - function namearg1 - first argument of this expressionarg2 - second argument of this expression| Method Detail |
public Expression substitute(java.util.Map binding)
variable in the specified binding, all occurences of
${key} are replaced by the corresponding value in the
map.Only the arguments are substituted.
substitute in interface Expressionsubstitute in class AbstractExpressionbinding - variable binding
public java.lang.String toString()
public java.lang.String getSQLTemplate()
getSQLTemplate in interface ExpressiongetSQLTemplate in class AbstractExpressionpublic Expression getArg1()
public Expression getArg2()
public java.lang.String getFunctionName()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||