Package org.faktorips.fl.functions
Class Round
java.lang.Object
org.faktorips.fl.FunctionSignatureImpl
org.faktorips.fl.functions.AbstractBaseFlFunction<org.faktorips.codegen.JavaCodeFragment>
org.faktorips.fl.functions.AbstractFlFunction
org.faktorips.fl.functions.Round
- All Implemented Interfaces:
FlFunction<org.faktorips.codegen.JavaCodeFragment>,FunctionSignature
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCompilationResult<org.faktorips.codegen.JavaCodeFragment>compile(CompilationResult<org.faktorips.codegen.JavaCodeFragment>[] argResults) Overridden method.Methods inherited from class org.faktorips.fl.functions.AbstractFlFunction
getCompiler, getDatatypeHelper, getJavaClassName, setCompilerMethods inherited from class org.faktorips.fl.functions.AbstractBaseFlFunction
getDescription, setCompiler, setDescriptionMethods inherited from class org.faktorips.fl.FunctionSignatureImpl
getArgTypes, getName, getType, hasVarArgs, isSame, match, matchUsingConversion, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.faktorips.fl.FunctionSignature
getArgTypes, getName, getType, hasVarArgs, isSame, match, matchUsingConversion
-
Constructor Details
-
Round
Constructs a new round function with the given name and rounding mode.- Parameters:
name- The function name.roundingMode- One of the rounding modes defined byRoundingMode.- Throws:
IllegalArgumentException- if the roundingMode is null.
-
Round
Deprecated.since 21.6. UseRound(String, String, RoundingMode)instead.Constructs a new round function with the given name and rounding mode.- Parameters:
name- The function name.roundingMode- One of the rounding modes defined byBigDecimal.- Throws:
IllegalArgumentException- if roundingMode cannot be converted toRoundingMode.
-
-
Method Details
-
compile
public CompilationResult<org.faktorips.codegen.JavaCodeFragment> compile(CompilationResult<org.faktorips.codegen.JavaCodeFragment>[] argResults) Overridden method.- See Also:
-