public OperResult queryTaskParamV(String jobid) {
OperResult result = new OperResult();
if (jobid == null) {
result.setFailed(TASK_INFO_REQUIRE_ID);
} else {
TaskInfo taskInfo = taskInfoDAO.findById(jobid);
if (taskInfo == null) {
result.setFailed(TASK_INFO_NOTEXIST, jobid);
} else {
ClassRegister classRegister = taskInfo.getClassRegister();
if (classRegister.getClassname() != null) {
try {
Class c = Class.forName(classRegister.getClassname());
List<PropertyDescriptor> pros = ObjectListConvert2DynaBeanList
.getClassProperties(c);
List<LazyDynaBean> beans = new ArrayList<LazyDynaBean>();
Set<TaskParamV> taskVs = taskInfo.getTaskParamVs();
for (PropertyDescriptor pro : pros) {
LazyDynaBean bean = ObjectListConvert2DynaBeanList
.convert(pro);
bean.set("type", pro.getPropertyType()
.getName());