Package org.faktorips.fl
Interface FlFunction<T extends org.faktorips.codegen.CodeFragment>
- Type Parameters:
T- aCodeFragmentimplementation for a specific target language
- All Superinterfaces:
FunctionSignature
- All Known Implementing Classes:
Abs,AbstractBaseFlFunction,AbstractBaseVarArgFunction,AbstractFlFunction,AbstractIf,AbstractListFunction,AbstractPeriodFunction,AbstractVarArgFunction,And,Count,Date,Days,Days360,Exists,If,IfBoolean,IsEmpty,MinMaxComparableDatatypes,MinMaxDecimal,MinMaxDouble,MinMaxInt,MinMaxList,MinMaxLong,MinMaxMoney,MinMaxNativeTypes,Months,Not,NotBoolean,Or,PowerDecimal,PowerInt,Round,SqrtDecimal,SumBeanArrayPropertyFct,SumDecimal,SumList,TextFunction,Weeks,WholeNumber,Years
A function used in the formula language.
-
Method Summary
Modifier and TypeMethodDescriptioncompile(CompilationResult<T>[] argResults) Generates thesource codefor the function given thecompilation resultsfor the arguments.Returns the compiler in which the function is used.Returns the function's description.voidsetCompiler(ExprCompiler<T> compiler) Sets the compiler in which the function is used.voidsetDescription(String description) Sets the function's description.Methods inherited from interface org.faktorips.fl.FunctionSignature
getArgTypes, getName, getType, hasVarArgs, isSame, match, matchUsingConversion
-
Method Details
-
compile
Generates thesource codefor the function given thecompilation resultsfor the arguments. -
setCompiler
Sets the compiler in which the function is used. -
getCompiler
ExprCompiler<T> getCompiler()Returns the compiler in which the function is used. -
getDescription
String getDescription()Returns the function's description. -
setDescription
Sets the function's description.
-