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