Process process = processDAO.findById(process_id);
if(process==null){
log.error("no process for %s",process_id);
}else{
ProcessTemplate processTemplate = process.getProcessTemplate();
if(processTemplate==null){
log.error("no process template for %s with id[%s]",process.getName(),process_id);
}else{
processTemplate.getProcessTemplateIns();
processTemplate.getProcessTemplateOuts();
}
Set<PInMeasure> ins = process.getPInMeasures();
Set<POutMeasure> outs = process.getPOutMeasures();
List<Measure> inMeasures = new ArrayList<Measure>();