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