コード例 #1
0
 public static TerminatedByCollection buildFromBeanCollection(ims.vo.LookupInstanceBean[] beans) {
   TerminatedByCollection coll = new TerminatedByCollection();
   if (beans == null) return coll;
   for (int x = 0; x < beans.length; x++) {
     coll.add(TerminatedBy.buildLookup(beans[x]));
   }
   return coll;
 }
コード例 #2
0
 public static TerminatedByCollection buildFromBeanCollection(java.util.Collection beans) {
   TerminatedByCollection coll = new TerminatedByCollection();
   if (beans == null) return coll;
   java.util.Iterator iter = beans.iterator();
   while (iter.hasNext()) {
     coll.add(TerminatedBy.buildLookup((ims.vo.LookupInstanceBean) iter.next()));
   }
   return coll;
 }