Class AbstractFlFunction

java.lang.Object
org.faktorips.fl.FunctionSignatureImpl
org.faktorips.fl.functions.AbstractBaseFlFunction<org.faktorips.codegen.JavaCodeFragment>
org.faktorips.fl.functions.AbstractFlFunction
All Implemented Interfaces:
FlFunction<org.faktorips.codegen.JavaCodeFragment>, FunctionSignature
Direct Known Subclasses:
Abs, AbstractIf, AbstractListFunction, AbstractPeriodFunction, Count, Date, Days360, Exists, IsEmpty, MinMaxComparableDatatypes, MinMaxDecimal, MinMaxMoney, MinMaxNativeTypes, Not, NotBoolean, PowerDecimal, PowerInt, Round, SqrtDecimal, SumBeanArrayPropertyFct, SumDecimal, TextFunction, WholeNumber

public abstract class AbstractFlFunction extends AbstractBaseFlFunction<org.faktorips.codegen.JavaCodeFragment>
Abstract Java implementation of FlFunction.
  • Constructor Details

    • AbstractFlFunction

      public AbstractFlFunction(String name, String description, FunctionSignatures signature)
      Creates a new function with a defined argument list.
    • AbstractFlFunction

      public AbstractFlFunction(String name, String description, org.faktorips.datatype.Datatype type, org.faktorips.datatype.Datatype[] argTypes)
      Creates a new function with a defined argument list.
    • AbstractFlFunction

      public AbstractFlFunction(String name, String description, org.faktorips.datatype.Datatype type, org.faktorips.datatype.Datatype argType)
      Creates a new function signature with a variable argument list.
      Parameters:
      name - the name of this function
      description - a description of this function
      type - the return type of this function
      argType - defines the Datatype of the arguments in the variable argument list
  • Method Details

    • setCompiler

      public void setCompiler(JavaExprCompiler compiler)
    • getCompiler

      public JavaExprCompiler getCompiler()
      Overridden Method.
      Specified by:
      getCompiler in interface FlFunction<org.faktorips.codegen.JavaCodeFragment>
      Overrides:
      getCompiler in class AbstractBaseFlFunction<org.faktorips.codegen.JavaCodeFragment>
      See Also:
    • getDatatypeHelper

      public org.faktorips.codegen.DatatypeHelper getDatatypeHelper(org.faktorips.datatype.Datatype datatype)
    • getJavaClassName

      public String getJavaClassName(org.faktorips.datatype.Datatype datatype)