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