public static VirtualIpAvailabilityReports retrieveVipsAvailabilityReports(int id) { VirtualIpAvailabilityReports vipars = new VirtualIpAvailabilityReports(); int viparid = id; VirtualIpAvailabilityReport vipar = retrieveVipsAvailabilityReport(viparid); vipars.getVirtualIpAvailabilityReports().add(vipar); return vipars; }
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; }