org.apache.openjpa.kernel.exps
Class Mod
java.lang.Object
org.apache.openjpa.kernel.exps.Val
org.apache.openjpa.kernel.exps.MathVal
org.apache.openjpa.kernel.exps.Mod
- All Implemented Interfaces:
- Serializable, Value
class Mod
- extends MathVal
Value produced by one value being mod'd by another.
- Author:
- Abe White
Constructor Summary |
Mod(Val val1,
Val val2)
Constructor. |
Methods inherited from class org.apache.openjpa.kernel.exps.Val |
eval, evaluate, evaluate, getAlias, getMetaData, getName, getPath, getSelectAs, isAggregate, isVariable, isXPath, setAlias, setMetaData |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Mod
public Mod(Val val1,
Val val2)
- Constructor. Provide the values to mod.
operate
protected Object operate(Object o1,
Class c1,
Object o2,
Class c2)
- Description copied from class:
MathVal
- Return the result of this mathematical operation on the two values.
- Specified by:
operate
in class MathVal
Copyright © 2006-2012 Apache Software Foundation. All Rights Reserved.