/** * qzhang Comment method "getFunctionByName". * * @param name is TalendType name. * @return */ @SuppressWarnings("unchecked") public List<Function> getFunctionsByType(String name) { List<Function> funtions = new ArrayList<Function>(); for (TalendType talendType : talendTypes) { if (talendType.getName().equals(name)) { funtions.addAll(talendType.getFunctions()); } } funtions.add(createCustomizeFunction()); return funtions; }