Class TypeConverterMultiLiteral
- java.lang.Object
-
- org.datanucleus.store.rdbms.sql.expression.SQLExpression
-
- org.datanucleus.store.rdbms.sql.expression.ObjectExpression
-
- org.datanucleus.store.rdbms.sql.expression.TypeConverterMultiExpression
-
- org.datanucleus.store.rdbms.sql.expression.TypeConverterMultiLiteral
-
- All Implemented Interfaces:
SQLLiteral
public class TypeConverterMultiLiteral extends TypeConverterMultiExpression implements SQLLiteral
Literal for an object persisted using TypeConverterMultiMapping.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.datanucleus.store.rdbms.sql.expression.SQLExpression
SQLExpression.ColumnExpressionList
-
-
Field Summary
Fields Modifier and Type Field Description (package private) java.lang.Object
value
-
Fields inherited from class org.datanucleus.store.rdbms.sql.expression.SQLExpression
lowestOperator, mapping, parameterName, st, stmt, subExprs, table
-
-
Constructor Summary
Constructors Constructor Description TypeConverterMultiLiteral(SQLStatement stmt, JavaTypeMapping mapping, java.lang.Object value, java.lang.String parameterName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
getValue()
Accessor to the literal valuevoid
setNotParameter()
Method to set this literal as not being a parameter.-
Methods inherited from class org.datanucleus.store.rdbms.sql.expression.TypeConverterMultiExpression
invoke
-
Methods inherited from class org.datanucleus.store.rdbms.sql.expression.ObjectExpression
addSubexpressionsToRelatedExpression, cast, eq, ge, gt, in, is, le, lt, ne, processComparisonOfImplementationWithReference, useFirstColumnOnly
-
Methods inherited from class org.datanucleus.store.rdbms.sql.expression.SQLExpression
add, and, bitAnd, bitOr, com, distinct, div, encloseInParentheses, eor, getJavaTypeMapping, getLowestOperator, getNumberOfSubExpressions, getParameterName, getSQLStatement, getSQLTable, getSubExpression, ior, isParameter, mod, mul, neg, not, setJavaTypeMapping, sub, toSQLText, unDistinct
-
-
-
-
Constructor Detail
-
TypeConverterMultiLiteral
public TypeConverterMultiLiteral(SQLStatement stmt, JavaTypeMapping mapping, java.lang.Object value, java.lang.String parameterName)
-
-
Method Detail
-
getValue
public java.lang.Object getValue()
Description copied from interface:SQLLiteral
Accessor to the literal value- Specified by:
getValue
in interfaceSQLLiteral
- Returns:
- the value of the literal
-
setNotParameter
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 interfaceSQLLiteral
-
-