* false The parmeter is required.
* @return The new parameter
*/
public static ActivityParam makeParam(DisplayObject dob, DataTypeItem type, boolean optional)
{
ActivityParam param = new ActivityParamImpl();
param.setName(dob.getName());
param.setDisplayName(dob.getDisplayName());
param.setDescription(dob.getDescription());
param.setDataType(type);
param.setOptional(optional);
return param;
}