private TriagePriorityKpConfigVo getTriagePriority(TriagePriorityKpConfigVoCollection temColl,TriagePriority prio) { if(temColl == null || temColl.size() == 0 || prio == null) return null; for(int j = 0;j < temColl.size();j++) { TriagePriorityKpConfigVo tempVo = temColl.get(j); if(tempVo != null && tempVo.getTriagePriorityIsNotNull() && tempVo.getTriagePriority().equals(prio) ) return tempVo; } return null; }