Interface FlFunction<T extends org.faktorips.codegen.CodeFragment>

Type Parameters:
T - a CodeFragment implementation 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

public interface FlFunction<T extends org.faktorips.codegen.CodeFragment> extends FunctionSignature
A function used in the formula language.
  • Method Details

    • compile

      CompilationResult<T> compile(CompilationResult<T>[] argResults)
      Generates the source code for the function given the compilation results for the arguments.
    • setCompiler

      void setCompiler(ExprCompiler<T> compiler)
      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

      void setDescription(String description)
      Sets the function's description.