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