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