// If the parameter is not there, add it
if (!found) {
Parameter[] params = new Parameter[spec.getParameters().length + 1];
System.arraycopy(spec.getParameters(), 0, params, 0, spec.getParameters().length);
params[params.length - 1] = new Parameter_impl();
params[params.length - 1].setName(name);
params[params.length - 1].setValue((String) value);
spec.setParameters(params);
}
} else if (aSpec instanceof ResourceCreationSpecifier) {