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