org.ofbiz.minilang.method.otherops
Class Calculate
java.lang.Object
org.ofbiz.minilang.MiniLangElement
org.ofbiz.minilang.method.MethodOperation
org.ofbiz.minilang.method.otherops.Calculate
public final class Calculate
- extends MethodOperation
Implements the <calculate> element.
- See Also:
- Mini-language Reference
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
module
public static final java.lang.String module
TYPE_DOUBLE
public static final int TYPE_DOUBLE
- See Also:
- Constant Field Values
TYPE_FLOAT
public static final int TYPE_FLOAT
- See Also:
- Constant Field Values
TYPE_LONG
public static final int TYPE_LONG
- See Also:
- Constant Field Values
TYPE_INTEGER
public static final int TYPE_INTEGER
- See Also:
- Constant Field Values
TYPE_STRING
public static final int TYPE_STRING
- See Also:
- Constant Field Values
TYPE_BIG_DECIMAL
public static final int TYPE_BIG_DECIMAL
- See Also:
- Constant Field Values
Calculate
public Calculate(org.w3c.dom.Element element,
SimpleMethod simpleMethod)
throws MiniLangException
- Throws:
MiniLangException
exec
public boolean exec(MethodContext methodContext)
throws MiniLangException
- Description copied from class:
MethodOperation
- Executes the operation.
Returns
true if script execution should continue, or
false if script execution should stop.
- Specified by:
exec in class MethodOperation
- Throws:
MiniLangException
toString
public java.lang.String toString()
- Overrides:
toString in class MiniLangElement