SolarMetric Kodo JDO 2.5.0 Reverse Schema Tool

com.solarmetric.rd.kodo.query.exp
Class Extension

java.lang.Object
  |
  +--com.solarmetric.rd.kodo.query.exp.Extension
All Implemented Interfaces:
InMemoryValue, Value

public class Extension
extends java.lang.Object
implements InMemoryValue

A value produced from evaluating a custom extension.


Constructor Summary
Extension(com.solarmetric.rd.kodo.query.FilterListener listener, com.solarmetric.rd.kodo.query.exp.InMemoryValue target, com.solarmetric.rd.kodo.query.exp.InMemoryValue arg)
          Constructor.
 
Method Summary
 void castTo(java.lang.Class cls)
          Cast this value to the given type.
 java.lang.Object evaluate(java.lang.Object candidate, java.lang.Object orig, com.solarmetric.rd.kodo.runtime.PersistenceManagerImpl pm, java.util.Map params)
          Evaluate the given candidate.
 boolean isVariable()
          Return true if this value is a variable.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Extension

public Extension(com.solarmetric.rd.kodo.query.FilterListener listener,
                 com.solarmetric.rd.kodo.query.exp.InMemoryValue target,
                 com.solarmetric.rd.kodo.query.exp.InMemoryValue arg)
Constructor. Supply filter listener, its target value, and its argument value, if any.

Method Detail

isVariable

public boolean isVariable()
Description copied from interface: Value
Return true if this value is a variable.

Specified by:
isVariable in interface Value

castTo

public void castTo(java.lang.Class cls)
Description copied from interface: InMemoryValue
Cast this value to the given type.

Specified by:
castTo in interface InMemoryValue

evaluate

public java.lang.Object evaluate(java.lang.Object candidate,
                                 java.lang.Object orig,
                                 com.solarmetric.rd.kodo.runtime.PersistenceManagerImpl pm,
                                 java.util.Map params)
Description copied from interface: InMemoryValue
Evaluate the given candidate.

Specified by:
evaluate in interface InMemoryValue

SolarMetric Kodo JDO 2.5.0 Reverse Schema Tool

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