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