org.springmodules.validation.valang.functions
Class ModuloFunction

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

public class ModuloFunction
extends AbstractMathFunction


Constructor Summary
ModuloFunction(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

ModuloFunction

public ModuloFunction(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.