/** * Gets the function type by the given name, e.g. 'FUNCTION' or 'TRANSFORMATION'.<br> * Created by: ydeng * * @param name the name of the function type * @return the appropriated function type */ public static FunctionType getByName(final String name) { for (final FunctionType functionType : FunctionType.values()) { if (functionType.name.equals(name)) { return functionType; } } throw new IllegalArgumentException(name); }
if (transformationFunction != null && transformationFunction.getFunctionType().equals(FunctionType.Transformation)) {