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