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