package com.powerrunner.ui.client;

import com.smartgwt.client.data.Record;

public class CubeData extends Record {
	public CubeData(String time, String deliverypoint, double value) {
		setTime(time);
		setDeliveryPoint(deliverypoint);
		setValue(value);
	}
	
	public void setTime(String time) {
		setAttribute("Time", time);
	}
	public String getTime() {
		return getAttribute("Time");
	}
	
	public void setDeliveryPoint(String deliverypoint) {
		setAttribute("Delivery Point", deliverypoint);
	}
	public String getDeliveryPoint() {
		return getAttribute("Delivery Point");
	}
	
	public void setValue(Double value) {
		setAttribute("Value", value);
	}
	public Double getValue() {
		return getAttributeAsDouble("Value");
	}
}
