All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.capitalone.dashboard.response.DashboardReviewResponse Maven / Gradle / Ivy

There is a newer version: 3.7.33
Show newest version
package com.capitalone.dashboard.response;

import com.capitalone.dashboard.model.AuditType;
import com.capitalone.dashboard.status.DashboardAuditStatus;

import java.util.Collection;
import java.util.HashMap;
import java.util.Map;

public class DashboardReviewResponse extends AuditReviewResponse  {
    private String dashboardTitle;
    private String businessService;
    private String businessApplication;

    private Map> review = new HashMap<>();


	public String getBusinessService() {
		return businessService;
	}

	public void setBusinessService(String businessService) {
		this.businessService = businessService;
	}

	public String getBusinessApplication() {
		return businessApplication;
	}

	public void setBusinessApplication(String businessApplication) {
		this.businessApplication = businessApplication;
	}

	public String getDashboardTitle() {
        return dashboardTitle;
    }

    public void setDashboardTitle(String dashboardTitle) {
        this.dashboardTitle = dashboardTitle;
    }

	public Map> getReview() {
		return review;
	}


	public void addReview(AuditType type, Collection audit) {
		if (review.get(type) != null) {
			review.get(type).addAll(audit);
		} else {
			review.put(type, audit);
		}
	}

	public void setReview(Map> review) {
		this.review = review;
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy