Package org.faktorips.fl.functions
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 Summary
ConstructorsConstructorDescriptionAbstractFlFunction(String name, String description, org.faktorips.datatype.Datatype type, org.faktorips.datatype.Datatype argType) Creates a new function signature with a variable argument list.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(String name, String description, FunctionSignatures signature) Creates a new function with a defined argument list. -
Method Summary
Modifier and TypeMethodDescriptionOverridden Method.org.faktorips.codegen.DatatypeHelpergetDatatypeHelper(org.faktorips.datatype.Datatype datatype) getJavaClassName(org.faktorips.datatype.Datatype datatype) voidsetCompiler(JavaExprCompiler compiler) Methods 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.FlFunction
compileMethods inherited from interface org.faktorips.fl.FunctionSignature
getArgTypes, getName, getType, hasVarArgs, isSame, match, matchUsingConversion
-
Constructor Details
-
AbstractFlFunction
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 functiondescription- a description of this functiontype- the return type of this functionargType- defines the Datatype of the arguments in the variable argument list
-
-
Method Details
-
setCompiler
-
getCompiler
Overridden Method.- Specified by:
getCompilerin interfaceFlFunction<org.faktorips.codegen.JavaCodeFragment>- Overrides:
getCompilerin classAbstractBaseFlFunction<org.faktorips.codegen.JavaCodeFragment>- See Also:
-
getDatatypeHelper
public org.faktorips.codegen.DatatypeHelper getDatatypeHelper(org.faktorips.datatype.Datatype datatype) -
getJavaClassName
-