Creates a new Parameter according to the required type.
The type of Parameter to be created
The newly created Parameter.