public List<OutputParameter> getPossibleOutputParameters() { List<OutputParameter> pop = new ArrayList<OutputParameter>(); for (GenericNameValue gp : getInputParameters()) { pop.add(new OutputParameter(gp.getName(), gp.getType())); } for (GenericNameValue gp : getLocalParameters()) { pop.add(new OutputParameter(gp.getName(), gp.getType())); } return pop; }
public Map<String, GenericNameValue> getContextParamsMap() { Map<String, GenericNameValue> cpm = new LinkedHashMap<String, GenericNameValue>(); for (GenericNameValue ip : getContextParamsList()) { cpm.put(ip.getName(), ip); } return cpm; }