Exemplo 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;
 }
Exemplo 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;
 }