|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectde.unidu.is.expressions.AbstractExpression
An abstract class for expressions.
| Constructor Summary | |
AbstractExpression()
|
|
| Method Summary | |
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. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public AbstractExpression()
| 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.Here, the same untouched expression is returned. Subclasses can overwrite this behaviour.
substitute in interface Expressionbinding - variable binding
public java.lang.String getSQLTemplate()
getSQLTemplate in interface Expression
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||