SolarMetric Kodo JDO 2.5.0 Reverse Schema Tool

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

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

public class Parameter
extends Constant

A parameter in a JDOQL filter.


Constructor Summary
Parameter(java.lang.String name)
          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 getSQLValue()
          Return the SQL value of this constant.
 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, initialize, isVariable, length
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Parameter

public Parameter(java.lang.String name)
Constructor. Supply parameter name.

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

getSQLValue

public java.lang.Object getSQLValue()
Description copied from class: Constant
Return the SQL value of this constant. Delegates to Constant.getValue() by default.

Overrides:
getSQLValue 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.