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