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