import org.opennms.netmgt.model.OnmsIpInterface;
import org.opennms.netmgt.model.OnmsMonitoredService;
import org.opennms.netmgt.model.OnmsOutage;
import org.opennms.netmgt.model.OnmsServiceType;
public class OutageListBuilder {
<BUG>public List theTable(Collection<OnmsOutage> foundOutages) {

List<Map<String, Object>> theTable = new LinkedList<Map<String, Object>>();

for (Iterator iter = foundOutages.iterator(); iter.hasNext();) {
OnmsOutage outage = (OnmsOutage) iter.next();
OnmsMonitoredService monitoredService = outage

.getMonitoredService();</BUG>
OnmsServiceType serviceType = monitoredService.getServiceType();

import org.opennms.netmgt.model.OnmsIpInterface;
import org.opennms.netmgt.model.OnmsMonitoredService;
import org.opennms.netmgt.model.OnmsOutage;
import org.opennms.netmgt.model.OnmsServiceType;
public class OutageListBuilder {
public List<Map<String, Object>> theTable(Collection<OnmsOutage> foundOutages) {
List<Map<String, Object>> theTable = new ArrayList<Map<String, Object>>();
for (OnmsOutage outage : foundOutages) {
OnmsMonitoredService monitoredService = outage.getMonitoredService();
OnmsServiceType serviceType = monitoredService.getServiceType();
