Package org.faktorips.fl.functions
Class MinMaxNativeTypes
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.MinMaxNativeTypes
- All Implemented Interfaces:
FlFunction<org.faktorips.codegen.JavaCodeFragment>,FunctionSignature
- Direct Known Subclasses:
MinMaxDouble,MinMaxInt,MinMaxLong
-
Constructor Summary
ConstructorsConstructorDescriptionMinMaxNativeTypes(String name, String description, org.faktorips.datatype.Datatype datatype, boolean isMax) -
Method Summary
Modifier and TypeMethodDescriptionCompilationResult<org.faktorips.codegen.JavaCodeFragment>compile(CompilationResult<org.faktorips.codegen.JavaCodeFragment>[] argResults) Generates thesource codefor the function given thecompilation resultsfor the arguments.protected StringbooleanOverridden method.protected abstract voidwriteBody(org.faktorips.codegen.JavaCodeFragment fragment, CompilationResult<org.faktorips.codegen.JavaCodeFragment> first, CompilationResult<org.faktorips.codegen.JavaCodeFragment> second) 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, 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, matchUsingConversion
-
Constructor Details
-
MinMaxNativeTypes
-
-
Method Details
-
getFunctionName
-
match
Description copied from class:FunctionSignatureImplOverridden method.- Specified by:
matchin interfaceFunctionSignature- Overrides:
matchin classFunctionSignatureImpl- See Also:
-
compile
public CompilationResult<org.faktorips.codegen.JavaCodeFragment> compile(CompilationResult<org.faktorips.codegen.JavaCodeFragment>[] argResults) Description copied from interface:FlFunctionGenerates thesource codefor the function given thecompilation resultsfor the arguments. -
writeBody
protected abstract void writeBody(org.faktorips.codegen.JavaCodeFragment fragment, CompilationResult<org.faktorips.codegen.JavaCodeFragment> first, CompilationResult<org.faktorips.codegen.JavaCodeFragment> second)
-