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