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