Class ArrayLiteral

  extended by
      extended by
          extended by
All Implemented Interfaces:

public class ArrayLiteral
extends ArrayExpression
implements SQLLiteral

Representation of array literal.

Nested Class Summary
Nested classes/interfaces inherited from class
Field Summary
Fields inherited from class
isParameter, LOCALISER, lowestOperator, mapping, st, stmt, subExprs, table
Constructor Summary
ArrayLiteral(SQLStatement stmt, mapping, java.lang.Object value, boolean parameter)
          Constructor for an array literal with a value.
Method Summary
 java.util.List<SQLExpression> getElementExpressions()
 java.lang.Object getValue()
          Accessor to the literal value
 void setNotParameter()
          Method to set this literal as not being a parameter.
protected  void setStatement()
Methods inherited from class
eq, invoke, ne
Methods inherited from class
add, and, cast, checkForAndCorrectParameterComparison, com, div, encloseInParentheses, eor, ge, getJavaTypeMapping, getNumberOfSubExpressions, getSQLStatement, getSQLTable, gt, in, ior, is, isParameter, le, lt, mod, mul, neg, not, sub, toSQLText
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public ArrayLiteral(SQLStatement stmt,
                    java.lang.Object value,
                    boolean parameter)
Constructor for an array literal with a value.

stmt - The SQL statement
mapping - the mapping to use
value - the array value
parameter - Whether this is a parameter (JDBC "?")
Method Detail


public java.lang.Object getValue()
Description copied from interface: SQLLiteral
Accessor to the literal value

Specified by:
getValue in interface SQLLiteral
the value of the literal


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


public void setNotParameter()
Description copied from interface: SQLLiteral
Method to set this literal as not being a parameter. If the literal if not currently a parameter then does nothing. Updates any underlying SQL to have the value.

Specified by:
setNotParameter in interface SQLLiteral


protected void setStatement()

Copyright © 2009. All Rights Reserved.