final DataType pdt = pd.getType();
PortableParameterDefinition ppd = null;
if ( pdt instanceof BooleanDataType ) {
ppd = new PortableBooleanParameterDefinition();
} else if ( pdt instanceof FloatDataType ) {
ppd = new PortableFloatParameterDefinition();
} else if ( pdt instanceof IntegerDataType ) {
ppd = new PortableIntegerParameterDefinition();
} else if ( pdt instanceof ObjectDataType ) {
ppd = new PortableObjectParameterDefinition();
final PortableObjectParameterDefinition oppd = (PortableObjectParameterDefinition) ppd;