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