public static DailyPatientProgressSearchCriteriaVoCollection buildFromBeanCollection( ims.nursing.vo.beans.DailyPatientProgressSearchCriteriaVoBean[] beans) { DailyPatientProgressSearchCriteriaVoCollection coll = new DailyPatientProgressSearchCriteriaVoCollection(); if (beans == null) return coll; for (int x = 0; x < beans.length; x++) { coll.add(beans[x].buildVo()); } return coll; }
public static DailyPatientProgressSearchCriteriaVoCollection buildFromBeanCollection( java.util.Collection beans) { DailyPatientProgressSearchCriteriaVoCollection coll = new DailyPatientProgressSearchCriteriaVoCollection(); if (beans == null) return coll; java.util.Iterator iter = beans.iterator(); while (iter.hasNext()) { coll.add( ((ims.nursing.vo.beans.DailyPatientProgressSearchCriteriaVoBean) iter.next()).buildVo()); } return coll; }