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