org.springmodules.validation.valang.functions
Class SubtractFunction

java.lang.Object
  extended by org.springmodules.validation.valang.functions.AbstractMathFunction
      extended by org.springmodules.validation.valang.functions.SubtractFunction
All Implemented Interfaces:
Function

public class SubtractFunction
extends AbstractMathFunction


Constructor Summary
SubtractFunction(Function leftFunction, Function rightFunction, int line, int column)
           
 
Method Summary
 Object getResult(Object target)
          Gets the result of the function.
 
Methods inherited from class org.springmodules.validation.valang.functions.AbstractMathFunction
getLeftFunction, getRightFunction, getTemplate, transform
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SubtractFunction

public SubtractFunction(Function leftFunction,
                        Function rightFunction,
                        int line,
                        int column)
Method Detail

getResult

public Object getResult(Object target)
Description copied from interface: Function

Gets the result of the function.

Parameters:
target - the target bean
Returns:
the result of the function


Copyright © 2009. All Rights Reserved.