Esempio n. 1
0
 public static VirtualIpAvailabilityReports retrieveVipsAvailabilityReports(int id) {
   VirtualIpAvailabilityReports vipars = new VirtualIpAvailabilityReports();
   int viparid = id;
   VirtualIpAvailabilityReport vipar = retrieveVipsAvailabilityReport(viparid);
   vipars.getVirtualIpAvailabilityReports().add(vipar);
   return vipars;
 }
Esempio n. 2
0
 public static VirtualIpAvailabilityReports retrieveRndVipsAvailabilityReports(int max) {
   VirtualIpAvailabilityReports vipars = new VirtualIpAvailabilityReports();
   int nreports = max;
   for (int i = nreports; i >= 0; i--) {
     VirtualIpAvailabilityReport vipar = retrieveRndVipsAvailabilityReport();
     vipars.getVirtualIpAvailabilityReports().add(vipar);
   }
   return vipars;
 }