com.solarmetric.kodo.impl.jdbc.query.listen
Class SQLValue
java.lang.Object
|
+--com.solarmetric.kodo.impl.jdbc.query.listen.SQLEmbed
|
+--com.solarmetric.kodo.impl.jdbc.query.listen.SQLValue
- All Implemented Interfaces:
- FilterListener, JDBCFilterListener
- public class SQLValue
- extends SQLEmbed
Simple listener which embeds the argument as a value into the where
clause generated by the query. Listens on "ext:sqlVal".
Example:
"price < ext:sqlVal (\"(SELECT AVG (PRICE) FROM PRODUCT_TABLE)\")"
|
Method Summary |
String |
getTag()
Return the tag that this extension listens for. |
boolean |
isExpression()
Return true if this extension is an expression; i.e. |
| Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TAG
public static final String TAG
SQLValue
public SQLValue()
getTag
public String getTag()
- Description copied from interface:
FilterListener
- Return the tag that this extension listens for.
isExpression
public boolean isExpression()
- Description copied from interface:
FilterListener
- Return true if this extension is an expression; i.e. if it evaluates
to
true or false on its own.
Copyright 2001,2002,2003 SolarMetric, Inc. All Rights Reserved.