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