org.outerj.daisy.query.model.functions
Class DivideFunction

java.lang.Object
  extended by org.outerj.daisy.query.model.AbstractFunction
      extended by org.outerj.daisy.query.model.functions.AbstractBinaryMathFunction
          extended by org.outerj.daisy.query.model.functions.DivideFunction
All Implemented Interfaces:
Expression, Function, ValueExpr

public class DivideFunction
extends AbstractBinaryMathFunction


Field Summary
 
Fields inherited from class org.outerj.daisy.query.model.AbstractFunction
params
 
Constructor Summary
DivideFunction()
           
 
Method Summary
 java.lang.String getFunctionName()
           
protected  java.lang.String getMathSymbol()
           
protected  java.lang.Object performCalculation(java.math.BigDecimal value1, java.math.BigDecimal value2)
           
 
Methods inherited from class org.outerj.daisy.query.model.functions.AbstractBinaryMathFunction
evaluate, evaluate, generateSqlValueExpr, getExpression, getOutputValue, getOutputValueType, getTitle, getValueType, prepare
 
Methods inherited from class org.outerj.daisy.query.model.AbstractFunction
addParam, bindPreConditions, bindValueExpr, canTestAppliesTo, getColumn, getLine, getLocation, getParam, getSqlPreConditions, isAclAllowed, isMultiValue, isOutputOnly, isSymbolicIdentifier, setLocation, translateSymbolic
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DivideFunction

public DivideFunction()
Method Detail

getFunctionName

public java.lang.String getFunctionName()

performCalculation

protected java.lang.Object performCalculation(java.math.BigDecimal value1,
                                              java.math.BigDecimal value2)
Specified by:
performCalculation in class AbstractBinaryMathFunction

getMathSymbol

protected java.lang.String getMathSymbol()
Specified by:
getMathSymbol in class AbstractBinaryMathFunction


Copyright © -2012 . All Rights Reserved.