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