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

java.lang.Object
  extended by org.datanucleus.store.rdbms.sql.expression.SQLExpression
      extended by org.datanucleus.store.rdbms.sql.expression.DelegatedExpression
          extended by org.datanucleus.store.rdbms.sql.expression.StringTemporalExpression
              extended by org.datanucleus.store.rdbms.sql.expression.JodaLiteral
                  extended by org.datanucleus.store.rdbms.sql.expression.JodaLocalDateLiteral
All Implemented Interfaces:
org.datanucleus.store.rdbms.sql.expression.SQLLiteral

public class JodaLocalDateLiteral
extends JodaLiteral

Representation of an JodaTime "LocalDate" literal.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.datanucleus.store.rdbms.sql.expression.SQLExpression
org.datanucleus.store.rdbms.sql.expression.SQLExpression.ColumnExpressionList
 
Field Summary
 
Fields inherited from class org.datanucleus.store.rdbms.sql.expression.SQLExpression
LOCALISER, lowestOperator, mapping, parameterName, st, stmt, subExprs, table
 
Constructor Summary
JodaLocalDateLiteral(org.datanucleus.store.rdbms.sql.SQLStatement stmt, org.datanucleus.store.mapped.mapping.JavaTypeMapping mapping, java.lang.Object value, java.lang.String parameterName)
          Constructor for an LocalDate literal with a value.
 
Method Summary
 java.lang.Object getValue()
           
 
Methods inherited from class org.datanucleus.store.rdbms.sql.expression.JodaLiteral
eq, ge, gt, isParameter, le, lt, ne, setNotParameter
 
Methods inherited from class org.datanucleus.store.rdbms.sql.expression.DelegatedExpression
add, div, getDelegate, invoke, mod, mul, sub, toSQLText
 
Methods inherited from class org.datanucleus.store.rdbms.sql.expression.SQLExpression
and, cast, com, distinct, encloseInParentheses, eor, getJavaTypeMapping, getLowestOperator, getNumberOfSubExpressions, getParameterName, getSQLStatement, getSQLTable, getSubExpression, in, ior, is, neg, not, setJavaTypeMapping
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JodaLocalDateLiteral

public JodaLocalDateLiteral(org.datanucleus.store.rdbms.sql.SQLStatement stmt,
                            org.datanucleus.store.mapped.mapping.JavaTypeMapping mapping,
                            java.lang.Object value,
                            java.lang.String parameterName)
Constructor for an LocalDate literal with a value.

Parameters:
stmt - the SQL statement
mapping - the mapping
value - the value
parameterName - Name of the parameter that this represents if any (as JDBC "?")
Method Detail

getValue

public java.lang.Object getValue()


Copyright © 2011. All Rights Reserved.