Package org.faktorips.fl.functions
Class SqrtDecimal
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.SqrtDecimal
- All Implemented Interfaces:
FlFunction<org.faktorips.codegen.JavaCodeFragment>,FunctionSignature
A class that implements the square root of a Decimal.
- Author:
- hbaagil
- Since:
- 3.11.0
-
Constructor Summary
ConstructorsConstructorDescriptionSqrtDecimal(String name, String description) Constructs a square root function. -
Method Summary
Modifier and TypeMethodDescriptionCompilationResult<org.faktorips.codegen.JavaCodeFragment>compile(CompilationResult<org.faktorips.codegen.JavaCodeFragment>[] argResults) Generates thesource codefor the function given thecompilation resultsfor the arguments.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
-
SqrtDecimal
Constructs a square root function.- Parameters:
name- The name of the function.description- The description of the function.
-
-
Method Details
-
compile
public CompilationResult<org.faktorips.codegen.JavaCodeFragment> compile(CompilationResult<org.faktorips.codegen.JavaCodeFragment>[] argResults) Description copied from interface:FlFunctionGenerates thesource codefor the function given thecompilation resultsfor the arguments.
-