org.jpox.store.expression
Class SqlTimeLiteral

java.lang.Object
  extended byorg.jpox.store.expression.ScalarExpression
      extended byorg.jpox.store.expression.SqlTemporalExpression
          extended byorg.jpox.store.expression.SqlTimeLiteral
All Implemented Interfaces:
Literal

public class SqlTimeLiteral
extends SqlTemporalExpression
implements Literal

Representation of an SQLTime literal in a Query.

Version:
$Revision: 1.5 $

Nested Class Summary
 
Nested classes inherited from class org.jpox.store.expression.ScalarExpression
ScalarExpression.DyadicOperator, ScalarExpression.ExpressionList, ScalarExpression.FieldExpression, ScalarExpression.IllegalArgumentTypeException, ScalarExpression.IllegalOperationException, ScalarExpression.MethodInvocationException, ScalarExpression.MonadicOperator, ScalarExpression.Operator
 
Field Summary
 
Fields inherited from class org.jpox.store.expression.ScalarExpression
aliasIdentifier, expressionList, FILTER, LOCALISER, lowestOperator, mapping, OP_ADD, OP_AND, OP_BETWEEN, OP_COM, OP_CONCAT, OP_DIV, OP_EQ, OP_GT, OP_GTEQ, OP_IN, OP_IS, OP_ISNOT, OP_LIKE, OP_LT, OP_LTEQ, OP_MOD, OP_MUL, OP_NEG, OP_NOT, OP_NOTEQ, OP_OR, OP_SUB, PROJECTION, qs, st, te
 
Constructor Summary
SqlTimeLiteral(QueryExpression qs, JavaTypeMapping mapping, java.sql.Time value)
          Creates a java.sql.Time literal
 
Method Summary
 java.lang.Object getValue()
          Accessor to the literal value
 java.lang.String toString()
           
 
Methods inherited from class org.jpox.store.expression.SqlTemporalExpression
eq, getDayMethod, getHourMethod, getMinuteMethod, getMonthMethod, getSecondMethod, getYearMethod, gt, gteq, in, lt, lteq, noteq
 
Methods inherited from class org.jpox.store.expression.ScalarExpression
accessField, add, and, as, callMethod, cast, com, div, encloseWithInParentheses, eor, equals, getAlias, getExpressionList, getLogicSetExpression, getMapping, getNonAliasExpression, getQueryExpression, instanceOf, ior, mod, mul, neg, not, sub, toStatementText
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SqlTimeLiteral

public SqlTimeLiteral(QueryExpression qs,
                      JavaTypeMapping mapping,
                      java.sql.Time value)
Creates a java.sql.Time literal

Parameters:
qs - the QueryExpression
mapping - the mapping
value - the java.sql.Time value
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class ScalarExpression

getValue

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

Specified by:
getValue in interface Literal
Returns:
the value of the literal


Copyright © -2007 . All Rights Reserved.