SolarMetric Kodo JDO 2.5.0 Reverse Schema Tool

com.solarmetric.rd.kodo.impl.jdbc.query.exp
Class Literal

java.lang.Object
  |
  +--com.solarmetric.rd.kodo.impl.jdbc.query.exp.Constant
        |
        +--com.solarmetric.rd.kodo.impl.jdbc.query.exp.Literal
All Implemented Interfaces:
JDBCValue, Value

public class Literal
extends Constant

A literal value in a JDOQL filter.


Constructor Summary
Literal(java.lang.Object val)
          Constructor.
 
Method Summary
 void appendTo(com.solarmetric.rd.kodo.impl.jdbc.schema.SQLBuffer sql, int index)
          Append the SQL for this value to the given buffer.
 void calculateValue(com.solarmetric.rd.kodo.runtime.PersistenceManagerImpl pm, java.util.Map params, com.solarmetric.rd.kodo.impl.jdbc.query.exp.JDBCValue other)
          Calculate and cache the SQL for this value.
 java.lang.Object getValue()
          Return the value of this constant.
 
Methods inherited from class com.solarmetric.rd.kodo.impl.jdbc.query.exp.Constant
appendIsEmpty, appendIsNotNull, appendIsNull, castTo, getDataStoreValue, getJoins, getSQLValue, initialize, isVariable, length
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Literal

public Literal(java.lang.Object val)
Constructor. Supply literal value.

Method Detail

getValue

public java.lang.Object getValue()
Description copied from class: Constant
Return the value of this constant.

Specified by:
getValue in class Constant

calculateValue

public void calculateValue(com.solarmetric.rd.kodo.runtime.PersistenceManagerImpl pm,
                           java.util.Map params,
                           com.solarmetric.rd.kodo.impl.jdbc.query.exp.JDBCValue other)
Description copied from interface: JDBCValue
Calculate and cache the SQL for this value.


appendTo

public void appendTo(com.solarmetric.rd.kodo.impl.jdbc.schema.SQLBuffer sql,
                     int index)
Description copied from interface: JDBCValue
Append the SQL for this value to the given buffer.


SolarMetric Kodo JDO 2.5.0 Reverse Schema Tool

Copyright 2001,2002,2003 SolarMetric, Inc. All Rights Reserved.