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