/*******************************************************************************
* This file is part of OpenNMS(R).
*
* Copyright (C) 2007-2011 The OpenNMS Group, Inc.
* OpenNMS(R) is Copyright (C) 1999-2011 The OpenNMS Group, Inc.
*
* OpenNMS(R) is a registered trademark of The OpenNMS Group, Inc.
*
* OpenNMS(R) is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published
* by the Free Software Foundation, either version 3 of the License,
* or (at your option) any later version.
*
* OpenNMS(R) is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with OpenNMS(R). If not, see:
* http://www.gnu.org/licenses/
*
* For more information contact:
* OpenNMS(R) Licensing <license@opennms.org>
* http://www.opennms.org/
* http://www.opennms.com/
*******************************************************************************/
package org.opennms.features.reporting.sdo;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
@XmlRootElement(name = "remoteReportSDO")
public class RemoteReportSDO {
private String m_id;
private String m_engine;
private String m_template;
private String m_description;
private String m_displayName;
private String m_reportService;
private boolean m_allowAccess;
private boolean m_online;
private boolean m_subreport;
@XmlElement(name = "description")
public String getDescription() {
return m_description;
}
@XmlElement(name = "display-name")
public String getDisplayName() {
return m_displayName;
}
@XmlElement(name = "engine")
public String getEngine() {
return m_engine;
}
@XmlElement(name = "id")
public String getId() {
return m_id;
}
@XmlElement(name = "report-service")
public String getReportService() {
return m_reportService;
}
@XmlElement(name = "template")
public String getTemplate() {
return m_template;
}
@XmlElement(name = "online")
public boolean getOnline() {
return m_online;
}
@XmlElement(name = "subreport")
public boolean getSubreport() {
return m_subreport;
}
@XmlElement(name = "allow-access")
public boolean getAllowAccess() {
return m_allowAccess;
}
public void setDescription(String description) {
m_description = description;
}
public void setDisplayName(String displayName) {
m_displayName = displayName;
}
public void setEngine(String engine) {
m_engine = engine;
}
public void setId(String id) {
m_id = id;
}
public void setOnline(boolean online) {
m_online = online;
}
public void setSubreport(boolean subreport) {
m_subreport = subreport;
}
public void setAllowAccess(boolean allowAccess) {
m_allowAccess = allowAccess;
}
public void setReportService(String reportService) {
m_reportService = reportService;
}
public void setTemplate(String template) {
m_template = template;
}
@Override
public String toString() {
return "RemoteReportSDO [m_id=" + m_id + ", m_engine=" + m_engine
+ ", m_template=" + m_template + ", m_description="
+ m_description + ", m_displayName=" + m_displayName
+ ", m_reportService=" + m_reportService + ", m_allowAccess="
+ m_allowAccess + ", m_online=" + m_online + "]";
}
}