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