org.powertac.visualizer.domain.customer
Class Customer

java.lang.Object
  extended by 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)
           
 
Method Summary
 void addCustomerBootstrapData(org.powertac.common.msg.CustomerBootstrapData data, org.powertac.common.Competition competition)
           
 void addTariffTransaction(org.powertac.common.TariffTransaction tx)
           
 org.powertac.common.CustomerInfo getCustomerInfo()
           
 CustomerModel getCustomerModel()
           
 String toString()
           
 void update(int timeslotIndex, org.joda.time.Instant postedTime)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Customer

public Customer(org.powertac.common.CustomerInfo customerInfo)
Method Detail

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.