Package org.powertac.visualizer.domain
Class TickSnapshot
- java.lang.Object
-
- org.powertac.visualizer.domain.TickSnapshot
-
public class TickSnapshot extends Object
A model object used for storing per-tick (i.e., time slot) values. The object is pushed to the front-end where the processing (e.g., assembly of graphs) takes place.- Author:
- Jurica Babic, Govert Buijs, Erik Kemperman
-
-
Constructor Summary
Constructors Constructor Description TickSnapshot()
TickSnapshot(long timeInstance, int timeSlot)
TickSnapshot(long timeInstance, int timeSlot, List<TickValueBroker> brokerTicks, List<TickValueCustomer> customerTicks)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<TickValueBroker>
getTickValueBrokers()
List<TickValueCustomer>
getTickValueCustomers()
long
getTimeInstance()
int
getTimeSlot()
void
setTickValueBrokers(List<TickValueBroker> tickValueBrokers)
void
setTickValueCustomers(List<TickValueCustomer> tickValueCustomers)
void
setTimeInstance(long timeInstance)
void
setTimeSlot(int timeSlot)
-
-
-
Constructor Detail
-
TickSnapshot
public TickSnapshot()
-
TickSnapshot
public TickSnapshot(long timeInstance, int timeSlot, List<TickValueBroker> brokerTicks, List<TickValueCustomer> customerTicks)
-
TickSnapshot
public TickSnapshot(long timeInstance, int timeSlot)
-
-
Method Detail
-
getTimeInstance
public long getTimeInstance()
-
setTimeInstance
public void setTimeInstance(long timeInstance)
-
getTimeSlot
public int getTimeSlot()
-
setTimeSlot
public void setTimeSlot(int timeSlot)
-
getTickValueBrokers
public List<TickValueBroker> getTickValueBrokers()
-
setTickValueBrokers
public void setTickValueBrokers(List<TickValueBroker> tickValueBrokers)
-
getTickValueCustomers
public List<TickValueCustomer> getTickValueCustomers()
-
setTickValueCustomers
public void setTickValueCustomers(List<TickValueCustomer> tickValueCustomers)
-
-