{
return;
}
final MasterReport report = (MasterReport) o;
final DefaultParameterDefinition parameterDefinition = new DefaultParameterDefinition();
for (int i = 0; i < properties.size(); i++)
{
final TypedPropertyReadHandler readHandler = (TypedPropertyReadHandler) properties.get(i);
final String parameterName = readHandler.getName();
if ("report.date".equals(parameterName))
{
continue;
}
if ("report.name".equals(parameterName))
{
continue;
}
final PlainParameter parameter = new PlainParameter(parameterName);
parameter.setValueType(readHandler.getType());
parameter.setParameterAttribute
(ParameterAttributeNames.Core.NAMESPACE, ParameterAttributeNames.Core.TYPE, "textbox");
parameter.setDefaultValue(readHandler.getObject());
parameterDefinition.addParameterDefinition(parameter);
}
report.setParameterDefinition(parameterDefinition);
}