com.triactive.jdo.store.sql.expr
Class UnboundVariable

java.lang.Object
  extended bycom.triactive.jdo.store.sql.expr.AbstractSqlExpression
      extended bycom.triactive.jdo.store.sql.expr.UnboundVariable
All Implemented Interfaces:
SqlExpression, StatementTextGenerator

public class UnboundVariable
extends AbstractSqlExpression


Nested Class Summary
 
Nested classes inherited from class com.triactive.jdo.store.sql.expr.AbstractSqlExpression
AbstractSqlExpression.Body, AbstractSqlExpression.CompoundExpression, AbstractSqlExpression.SimpleColumnReference, AbstractSqlExpression.SubqueryExpression
 
Field Summary
 
Fields inherited from class com.triactive.jdo.store.sql.expr.AbstractSqlExpression
body, qs
 
Constructor Summary
UnboundVariable(QueryStatement qs, java.lang.String name, java.lang.Class type, JdoqlQuery.Compiler compiler)
           
 
Method Summary
 void bindTo(QueryStatement.QueryColumn qsc)
           
 java.lang.String getVariableName()
           
 java.lang.Class getVariableType()
           
 StatementText toStatementText()
          Returns the SQL statement text which this object generates.
 
Methods inherited from class com.triactive.jdo.store.sql.expr.AbstractSqlExpression
accessField, add, and, callMethod, cast, com, div, eor, eq, getColumnMapping, getJavaType, getMapping, getQueryStatement, getReferencedColumns, gt, gteq, innermostQuery, innermostQuery, ior, lt, lteq, mod, mul, neg, newBody, newBody, newBody, newBody, newBody, newBody, newResultExpression, newSubqueryBody, not, noteq, select, setMapping, sub, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UnboundVariable

public UnboundVariable(QueryStatement qs,
                       java.lang.String name,
                       java.lang.Class type,
                       JdoqlQuery.Compiler compiler)
Method Detail

getVariableName

public java.lang.String getVariableName()

getVariableType

public java.lang.Class getVariableType()

bindTo

public void bindTo(QueryStatement.QueryColumn qsc)

toStatementText

public StatementText toStatementText()
Description copied from interface: StatementTextGenerator
Returns the SQL statement text which this object generates.

Specified by:
toStatementText in interface StatementTextGenerator
Overrides:
toStatementText in class AbstractSqlExpression


Copyright © 2001-2007 The TJDO Project All Rights Reserved.