Package org.faktorips.fl.functions
Class SumBeanArrayPropertyFct
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.SumBeanArrayPropertyFct
- All Implemented Interfaces:
FlFunction<org.faktorips.codegen.JavaCodeFragment>,FunctionSignature
A function that given an array of objects from the same class or interface allows to sum up one
of the properties. E.g.: sum(coverages, netPremium) where coverages is an array of coverage
objects with a property netPremium.
- Author:
- Jan Ortmann
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCompilationResult<org.faktorips.codegen.JavaCodeFragment>compile(CompilationResult<org.faktorips.codegen.JavaCodeFragment>[] argResults) Overridden Method.static final org.faktorips.values.DecimalsumDecimal(Object[] beans, String getterMethod) Methods 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
-
Field Details
-
ERROR_MESSAGE_CODE
- See Also:
-
-
Constructor Details
-
SumBeanArrayPropertyFct
public SumBeanArrayPropertyFct()
-
-
Method Details
-
compile
public CompilationResult<org.faktorips.codegen.JavaCodeFragment> compile(CompilationResult<org.faktorips.codegen.JavaCodeFragment>[] argResults) Overridden Method. -
sumDecimal
-