SolarMetric Kodo JDO 2.5.0 Reverse Schema Tool

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

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

public class AddValue
extends MathValue

Value produced by two values being added together.


Constructor Summary
AddValue(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

AddValue

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

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.