
net.anotheria.moskito.webui.dashboards.api.DashboardChartDefinitionAO Maven / Gradle / Ivy
package net.anotheria.moskito.webui.dashboards.api;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import java.io.Serializable;
import java.util.Collections;
import java.util.List;
/**
* A chart definition.
*
* @author lrosenberg
* @since 15.04.15 22:41
*/
@XmlRootElement(name="chart")
@XmlAccessorType(XmlAccessType.FIELD)
public class DashboardChartDefinitionAO implements Serializable{
/**
* SerialVersionUID.
*/
private static final long serialVersionUID = -9094377030947294973L;
/**
* Chart box caption. Optional but recommended, especially if you have more than one accumulator.
*/
@XmlElement
private String caption;
/**
* Names of accumulators to build chart from.
*/
@XmlElement
private List accumulatorNames = Collections.emptyList();
public List getAccumulatorNames() {
return accumulatorNames;
}
public void setAccumulatorNames(List accumulatorNames) {
this.accumulatorNames = accumulatorNames;
}
public String getCaption() {
return caption;
}
public void setCaption(String caption) {
this.caption = caption;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy