net.ontopia.persistence.query.sql
Class SQLVerbatimExpression
java.lang.Object
net.ontopia.persistence.query.sql.SQLVerbatimExpression
- All Implemented Interfaces:
- SQLExpressionIF
public class SQLVerbatimExpression
- extends java.lang.Object
- implements SQLExpressionIF
INTERNAL: Represents a verbatim SQL expression.
Fields inherited from interface net.ontopia.persistence.query.sql.SQLExpressionIF |
AND, EQUALS, EXISTS, FALSE, IN, IS_NULL, JOIN, LIKE, NOT, NOT_EQUALS, OR, SET_OPERATION, VALUE_EXPRESSION, VERBATIM |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
DEFAULT_VALUE_TYPE
protected static final java.lang.Class DEFAULT_VALUE_TYPE
DEFAULT_FIELD_HANDLER
protected static final FieldHandlerIF DEFAULT_FIELD_HANDLER
value
protected java.lang.Object value
alias
protected java.lang.String alias
tables
protected SQLTable[] tables
vtype
protected java.lang.Class vtype
fhandler
protected FieldHandlerIF fhandler
SQLVerbatimExpression
public SQLVerbatimExpression(java.lang.Object value)
SQLVerbatimExpression
public SQLVerbatimExpression(java.lang.Object value,
SQLTable[] tables)
getType
public int getType()
- Description copied from interface:
SQLExpressionIF
- INTERNAL: Returns the expression type. The type is represented by
one of the constants in the
SQLExpressionIF
interface.
- Specified by:
getType
in interface SQLExpressionIF
getValue
public java.lang.Object getValue()
getTables
public SQLTable[] getTables()
- INTERNAL: Returns the tables that are involved in the verbatim
expression. This information is neccessary so that the FROM
clause can be correctly generated.
setTables
public void setTables(SQLTable[] tables)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 2000-2012 Ontopia.