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