org.powertac.visualizer.domain.customer
Class Customer
java.lang.Object
org.powertac.visualizer.domain.customer.Customer
- All Implemented Interfaces:
- TimeslotModelUpdate
public class Customer
- extends Object
- implements TimeslotModelUpdate
Holds data for a particular customer type.
- Author:
- Jurica Babic
|
Constructor Summary |
Customer(org.powertac.common.CustomerInfo customerInfo)
|
Customer
public Customer(org.powertac.common.CustomerInfo customerInfo)
getCustomerModel
public CustomerModel getCustomerModel()
addCustomerBootstrapData
public void addCustomerBootstrapData(org.powertac.common.msg.CustomerBootstrapData data,
org.powertac.common.Competition competition)
addTariffTransaction
public void addTariffTransaction(org.powertac.common.TariffTransaction tx)
update
public void update(int timeslotIndex,
org.joda.time.Instant postedTime)
- Specified by:
update in interface TimeslotModelUpdate
- Parameters:
timeslotIndex - update will be run for this timeslot index.
getCustomerInfo
public org.powertac.common.CustomerInfo getCustomerInfo()
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2013 Power TAC. All Rights Reserved.