SolarMetric Kodo JDO 2.5.0 Reverse Schema Tool

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

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

public class SubtractValue
extends MathValue

Value produced by one value being subtracted from another.


Constructor Summary
SubtractValue(com.solarmetric.rd.kodo.query.exp.InMemoryValue val1, com.solarmetric.rd.kodo.query.exp.InMemoryValue val2)
          Constructor.
 
Method Summary
 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.
 
Methods inherited from class com.solarmetric.rd.kodo.query.exp.MathValue
castTo, getValue1, getValue2, isVariable
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SubtractValue

public SubtractValue(com.solarmetric.rd.kodo.query.exp.InMemoryValue val1,
                     com.solarmetric.rd.kodo.query.exp.InMemoryValue val2)
Constructor. Provide the values to subtract.

Method Detail

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.


SolarMetric Kodo JDO 2.5.0 Reverse Schema Tool

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