org.axiondb.functions
Class DivideFunction

java.lang.Object
  extended byorg.axiondb.BaseSelectable
      extended byorg.axiondb.functions.BaseFunction
          extended byorg.axiondb.functions.ArithmeticFunction
              extended byorg.axiondb.functions.DivideFunction
All Implemented Interfaces:
ConcreteFunction, Function, FunctionFactory, ScalarFunction, Selectable, Serializable

public class DivideFunction
extends ArithmeticFunction
implements ScalarFunction, FunctionFactory

Version:
$Revision: 1.2 $ $Date: 2004/04/15 02:52:23 $
See Also:
Serialized Form

Constructor Summary
DivideFunction()
           
 
Method Summary
 ConcreteFunction makeNewInstance()
           
protected  BigDecimal operate(BigDecimal left, BigDecimal right)
           
 
Methods inherited from class org.axiondb.functions.ArithmeticFunction
evaluate, getDataType, isValid
 
Methods inherited from class org.axiondb.functions.BaseFunction
addArgument, getAlias, getArgument, getArgumentCount, getLabel, getName, setAlias, setArgument, setName, setVariableContext, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.axiondb.functions.ScalarFunction
evaluate
 
Methods inherited from interface org.axiondb.functions.ConcreteFunction
isValid
 
Methods inherited from interface org.axiondb.Function
addArgument, getAlias, getArgument, getArgumentCount, getName, setAlias, setArgument
 
Methods inherited from interface org.axiondb.Selectable
getDataType, getLabel, setVariableContext
 

Constructor Detail

DivideFunction

public DivideFunction()
Method Detail

makeNewInstance

public ConcreteFunction makeNewInstance()
Specified by:
makeNewInstance in interface FunctionFactory

operate

protected BigDecimal operate(BigDecimal left,
                             BigDecimal right)
Specified by:
operate in class ArithmeticFunction