fd = type.getFieldDescriptor("ListFieldType");
//ArrayList fieldNames = new ArrayList();
ArrayList fieldValues = new ArrayList();
try {
ProcessInstanceDAO piDAO;
WorkListDAO wlDAO;
wlDAO = (org.uengine.persistence.dao.WorkListDAO)GenericDAO.createDAOImpl(org.uengine.persistence.dao.WorkListDAO.class);
for(Iterator i = wlDAO.getImplementationObject().getPropertyTypes().keySet().iterator(); i.hasNext();){
String fieldName = (String)i.next();
//fieldNames.add(fieldName);
WorkListTableListFieldType listFieldType = new WorkListTableListFieldType();
listFieldType.setFieldName(fieldName);
fieldValues.add(listFieldType);
}
piDAO = (ProcessInstanceDAO)GenericDAO.createDAOImpl(ProcessInstanceDAO.class);
for(Iterator i = piDAO.getImplementationObject().getPropertyTypes().keySet().iterator(); i.hasNext();){
String fieldName = (String)i.next();
//fieldNames.add(fieldName);
InstanceTableListFieldType listFieldType = new InstanceTableListFieldType();
listFieldType.setFieldName(fieldName);
fieldValues.add(listFieldType);