package testclient.client;

import com.smartgwt.client.data.Record;

public class CubeData extends Record {
	public CubeData(String time, String ldc, String measure, double value) {
		setTime(time);
		setLdc(ldc);
		setMeasure(measure);
		setValue(value);
	}
	
	public void setTime(String time) {
		setAttribute("Time", time);
	}
	public String getTime() {
		return getAttribute("Time");
	}
	
	public void setLdc(String ldc) {
		setAttribute("Ldc", ldc);
	}
	public String getLdc() {
		return getAttribute("Ldc");
	}

	public void setValue(Double value) {
		setAttribute("Value", value);
	}
	public Double getValue() {
		return getAttributeAsDouble("Value");
	}

	public void setMeasure(String measure) {
		setAttribute("Measure", measure);
	}
	public String getMeasure() {
		return getAttribute("Measure");
	}
}
