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