org.datanucleus.store.rdbms.sql.expression
Class NewObjectExpression

java.lang.Object
  extended by org.datanucleus.store.rdbms.sql.expression.SQLExpression
      extended by org.datanucleus.store.rdbms.sql.expression.NewObjectExpression

public class NewObjectExpression
extends SQLExpression

SQL Expression for creating a new object (in the result clause of a query).


Nested Class Summary
 
Nested classes/interfaces inherited from class org.datanucleus.store.rdbms.sql.expression.SQLExpression
SQLExpression.ColumnExpressionList
 
Field Summary
 
Fields inherited from class org.datanucleus.store.rdbms.sql.expression.SQLExpression
isParameter, LOCALISER, lowestOperator, mapping, st, stmt, subExprs, table
 
Constructor Summary
NewObjectExpression(SQLStatement stmt, java.lang.Class cls, java.util.List<SQLExpression> args)
           
 
Method Summary
 java.util.List<SQLExpression> getConstructorArgExpressions()
           
 java.lang.Class getNewClass()
           
 
Methods inherited from class org.datanucleus.store.rdbms.sql.expression.SQLExpression
add, and, cast, checkForAndCorrectParameterComparison, com, div, encloseInParentheses, eor, eq, ge, getJavaTypeMapping, getNumberOfSubExpressions, getSQLStatement, getSQLTable, gt, in, invoke, ior, is, isParameter, le, lt, mod, mul, ne, neg, not, sub, toSQLText
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NewObjectExpression

public NewObjectExpression(SQLStatement stmt,
                           java.lang.Class cls,
                           java.util.List<SQLExpression> args)
Parameters:
stmt - SQLStatement that this is part of
cls - Class that we create an instance of
args - argument SQL expressions
Method Detail

getNewClass

public java.lang.Class getNewClass()

getConstructorArgExpressions

public java.util.List<SQLExpression> getConstructorArgExpressions()


Copyright © 2009. All Rights Reserved.