Package org.faktorips.fl.functions
Class SumList
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.AbstractListFunction
org.faktorips.fl.functions.SumList
- All Implemented Interfaces:
FlFunction<org.faktorips.codegen.JavaCodeFragment>,FunctionSignature
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected CompilationResult<org.faktorips.codegen.JavaCodeFragment>generateFunctionCall(CompilationResultImpl argument1, CompilationResultImpl argument2) protected org.faktorips.codegen.JavaCodeFragmentgenerateReturnFallBackValueCall(org.faktorips.datatype.Datatype datatype) protected CompilationResult<org.faktorips.codegen.JavaCodeFragment>validateBasicDatatype(org.faktorips.datatype.Datatype basicDatatype) Methods inherited from class org.faktorips.fl.functions.AbstractListFunction
compile, createCompilationResult, generateFunctionCode, getBasicType, getListArgumentMethods 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
-
SumList
-
-
Method Details
-
validateBasicDatatype
protected CompilationResult<org.faktorips.codegen.JavaCodeFragment> validateBasicDatatype(org.faktorips.datatype.Datatype basicDatatype) - Overrides:
validateBasicDatatypein classAbstractListFunction- Parameters:
basicDatatype- The data type of the elements in the list this function processes.- Returns:
- a
CompilationResultwith an error if the element data type is illegal. Returnsnullor an error free compilation result if the data type is valid.
-
generateReturnFallBackValueCall
protected org.faktorips.codegen.JavaCodeFragment generateReturnFallBackValueCall(org.faktorips.datatype.Datatype datatype) - Specified by:
generateReturnFallBackValueCallin classAbstractListFunction
-
generateFunctionCall
protected CompilationResult<org.faktorips.codegen.JavaCodeFragment> generateFunctionCall(CompilationResultImpl argument1, CompilationResultImpl argument2) - Overrides:
generateFunctionCallin classAbstractListFunction
-