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

net.anotheria.moskito.webui.dashboards.api.DashboardAO Maven / Gradle / Ivy

There is a newer version: 4.0.3
Show newest version
package net.anotheria.moskito.webui.dashboards.api;

import net.anotheria.moskito.webui.gauges.api.GaugeAO;
import net.anotheria.moskito.webui.threshold.api.ThresholdStatusAO;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementWrapper;
import javax.xml.bind.annotation.XmlRootElement;
import java.io.Serializable;
import java.util.List;

/**
 * Represents a single Dashboard object.
 *
 * @author lrosenberg
 * @since 16.04.15 13:17
 */
@XmlRootElement(name="Dashboard")
@XmlAccessorType(XmlAccessType.FIELD)
public class DashboardAO implements Serializable{
	/**
	 * SerialVersionUID.
	 */
	private static final long serialVersionUID = 6792256502007883327L;

	/**
	 * Dashboard name.
	 */
	@XmlElement
	private String name;

	/**
	 * Gauges.
	 */
	@XmlElement
	private List gauges;

	/**
	 * Thresholds.
	 */
	@XmlElement
	private List thresholds;

	/**
	 * Charts of this dashboard.
	 */
	@XmlElement
	private List charts;

	public List getGauges() {
		return gauges;
	}

	public void setGauges(List gauges) {
		this.gauges = gauges;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public List getThresholds() {
		return thresholds;
	}

	public void setThresholds(List thresholds) {
		this.thresholds = thresholds;
	}

	public List getCharts() {
		return charts;
	}

	public void setCharts(List charts) {
		this.charts = charts;
	}

	@Override
	public String toString() {
		return "DashboardAO{" +
				"charts=" + charts +
				", name='" + name + '\'' +
				", gauges=" + gauges +
				", thresholds=" + thresholds +
				'}';
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy